diff --git a/.lintstagedrc b/.lintstagedrc index b03e7c9..bd9f228 100644 --- a/.lintstagedrc +++ b/.lintstagedrc @@ -1,7 +1,10 @@ { "linters": { - "src/**/*.js": [ + "src/**/*.{js,jsx,scss,json}": [ "prettier --write", + "git add" + ], + "src/**/*.{js,jsx}": [ "eslint --fix", "git add" ] diff --git a/package.json b/package.json index f0c3be8..3c65e6a 100644 --- a/package.json +++ b/package.json @@ -61,7 +61,7 @@ "electron-builder": "^19.49.0", "electron-devtools-installer": "^2.2.1", "electron-webpack": "^1.11.0", - "eslint": "^4.13.1", + "eslint": "^4.19.1", "eslint-config-airbnb": "^16.1.0", "eslint-config-prettier": "^2.9.0", "eslint-import-resolver-webpack": "^0.8.3",