From 3c08966fd98d9ae26ec397ff73b70a48a80c4ea0 Mon Sep 17 00:00:00 2001 From: Ben Woosley Date: Wed, 20 Jun 2018 15:59:13 -0500 Subject: [PATCH] lint(conflicting style rules): Remove redundant eslint rules Indentified via eslint-config-prettier's check script. --- .eslintrc | 2 -- package.json | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.eslintrc b/.eslintrc index 1c2c523c..24d49d7e 100644 --- a/.eslintrc +++ b/.eslintrc @@ -23,8 +23,6 @@ "node": true }, "rules": { - "comma-dangle": ["error", "never"], - "semi": ["error", "never"], "prettier/prettier": "error", "react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx"] }], "react/no-did-mount-set-state": 0, diff --git a/package.json b/package.json index c3c4a058..977c7ae2 100644 --- a/package.json +++ b/package.json @@ -19,6 +19,7 @@ "lint-styles": "npm run lint-styles-base -- app/*.scss app/components/*.scss", "lint-styles-fix-base": "npm run lint-styles-base -- --fix", "lint-styles-fix": "npm run lint-styles-fix-base -- app/*.scss app/components/*.scss", + "lint-check": "eslint --print-config .eslintrc.js | eslint-config-prettier-check", "lint-ci": "npm run lint && npm run lint-styles && npm run flow", "package": "npm run build && build --publish never", "package-all": "npm run build && build -mwl",