mirror of
https://github.com/vale981/Vulcan
synced 2025-03-05 09:31:43 -05:00
update lint and prettier rules
This commit is contained in:
parent
744a02be32
commit
026bffb5c3
2 changed files with 6 additions and 5 deletions
|
@ -27,8 +27,9 @@
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"babel/array-bracket-spacing": 0,
|
"babel/array-bracket-spacing": 1,
|
||||||
"babel/object-curly-spacing": 0,
|
"babel/object-curly-spacing": 0,
|
||||||
|
# "babel/object-curly-spacing": [1, "always", { "objectsInObjects": false, "arraysInObjects": false }],
|
||||||
"babel/object-shorthand": 0,
|
"babel/object-shorthand": 0,
|
||||||
"babel/arrow-parens": 0,
|
"babel/arrow-parens": 0,
|
||||||
"no-await-in-loop": 1,
|
"no-await-in-loop": 1,
|
||||||
|
|
|
@ -3,11 +3,11 @@
|
||||||
const {esNextPaths} = require('./.vulcan/shared/pathsByLanguageVersion');
|
const {esNextPaths} = require('./.vulcan/shared/pathsByLanguageVersion');
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
bracketSpacing: false,
|
bracketSpacing: true,
|
||||||
singleQuote: true,
|
singleQuote: true,
|
||||||
jsxBracketSameLine: true,
|
jsxBracketSameLine: true,
|
||||||
trailingComma: 'es5',
|
trailingComma: 'es5',
|
||||||
printWidth: 80,
|
printWidth: 100,
|
||||||
parser: 'babylon',
|
parser: 'babylon',
|
||||||
|
|
||||||
overrides: [
|
overrides: [
|
||||||
|
|
Loading…
Add table
Reference in a new issue