update lint and prettier rules

This commit is contained in:
Apollinaire 2019-01-21 18:06:59 +01:00
parent 744a02be32
commit 026bffb5c3
2 changed files with 6 additions and 5 deletions

View file

@ -27,8 +27,9 @@
]
}
],
"babel/array-bracket-spacing": 0,
"babel/array-bracket-spacing": 1,
"babel/object-curly-spacing": 0,
# "babel/object-curly-spacing": [1, "always", { "objectsInObjects": false, "arraysInObjects": false }],
"babel/object-shorthand": 0,
"babel/arrow-parens": 0,
"no-await-in-loop": 1,
@ -78,4 +79,4 @@
"param": true,
"returns": true
}
}
}

View file

@ -3,11 +3,11 @@
const {esNextPaths} = require('./.vulcan/shared/pathsByLanguageVersion');
module.exports = {
bracketSpacing: false,
bracketSpacing: true,
singleQuote: true,
jsxBracketSameLine: true,
trailingComma: 'es5',
printWidth: 80,
printWidth: 100,
parser: 'babylon',
overrides: [
@ -18,4 +18,4 @@ module.exports = {
},
},
],
};
};