From 1a14b646bd3f19bdfdadb9510949268896243a71 Mon Sep 17 00:00:00 2001 From: evilebottnawi Date: Fri, 9 Oct 2020 21:43:30 +0300 Subject: [PATCH] chore(tool): fix --- .prettierrc.js | 6 +----- babel.config.js | 2 +- lint-staged.config.js | 4 ++-- 3 files changed, 4 insertions(+), 8 deletions(-) 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'], };