mirror of
https://github.com/vale981/Vulcan
synced 2025-03-04 09:11: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": [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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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 = {
|
|||
},
|
||||
},
|
||||
],
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue