From 4b7045d066dec84c7f69361dbc797875d85dd597 Mon Sep 17 00:00:00 2001 From: mg901 Date: Tue, 7 May 2019 03:05:11 +0300 Subject: [PATCH] fix: fix lint staged config --- lint-staged.config.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/lint-staged.config.js b/lint-staged.config.js index 4cae7d66..4b9ed3ba 100644 --- a/lint-staged.config.js +++ b/lint-staged.config.js @@ -1,7 +1,5 @@ module.exports = { - 'lint-staged': { - linters: { - '*.{json,js}': ['eslint --fix', 'prettier --write', 'git add'], - }, + linters: { + '*.{js}': ['eslint --fix', 'prettier --write', 'git add'], }, };