Skip to content

Commit 1904377

Browse files
committed
chore: add prettier
1 parent 900a9da commit 1904377

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

node.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ module.exports = {
3434
'import/order': ERROR,
3535
'no-restricted-globals': [ERROR].concat(restrictedGlobals),
3636
'no-restricted-syntax': [ERROR, 'WithStatement'],
37+
'prettier/prettier': ERROR,
3738
'promise/prefer-await-to-then': WARNING,
3839
'import/no-extraneous-dependencies': [
3940
ERROR,
@@ -45,8 +46,8 @@ module.exports = {
4546
files: ['*.js', '*.jsx'],
4647
parser: '@babel/eslint-parser',
4748
parserOptions: {
48-
"babelOptions": {
49-
"presets": ["@babel/preset-react", "@babel/preset-flow"]
49+
'babelOptions': {
50+
'presets': ['@babel/preset-react", "@babel/preset-flow']
5051
},
5152
},
5253
plugins: ['flowtype'],

0 commit comments

Comments
 (0)