diff --git a/.prettierrc.js b/.prettierrc.js index 1934550a..4f14003f 100644 --- a/.prettierrc.js +++ b/.prettierrc.js @@ -1,5 +1 @@ -module.exports = { - singleQuote: true, - trailingComma: 'es5', - arrowParens: 'always', -}; +module.exports = { singleQuote: true }; diff --git a/babel.config.js b/babel.config.js index 1735a97f..ef459fe8 100644 --- a/babel.config.js +++ b/babel.config.js @@ -10,7 +10,7 @@ module.exports = (api) => { '@babel/preset-env', { targets: { - node: '6.9.0', + node: '10.13.0', }, }, ], diff --git a/lint-staged.config.js b/lint-staged.config.js index 618a5ec4..d48668db 100644 --- a/lint-staged.config.js +++ b/lint-staged.config.js @@ -1,4 +1,4 @@ module.exports = { - '*.js': ['prettier --write', 'eslint --fix', 'git add'], - '*.{json,md,yml,css,ts}': ['prettier --write', 'git add'], + '*.js': ['eslint --fix', 'prettier --write'], + '*.{json,md,yml,css,ts}': ['prettier --write'], };