Browse Source
Merge pull request #460 from Empact/lint/conflicting-style-rules
lint: Remove redundant eslint rules
renovate/lint-staged-8.x
Ben Woosley
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
1 additions and
2 deletions
-
.eslintrc
-
package.json
|
|
@ -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, |
|
|
|
|
|
@ -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", |
|
|
|