diff --git a/index.js b/index.js index fbef6ff..2512f87 100644 --- a/index.js +++ b/index.js @@ -4,7 +4,13 @@ module.exports = { browser: true, node: true, }, - extends: ['airbnb-base', 'plugin:css-modules/recommended', 'prettier'], + extends: [ + 'airbnb-base', + 'eslint:recommended', + 'plugin:css-modules/recommended', + 'prettier', + 'prettier/standard', + ], plugins: ['css-modules', 'prettier', 'jsdoc', 'require-jsdoc'], rules: { 'no-console': [ diff --git a/package-lock.json b/package-lock.json index 05a1fbd..189916e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -2423,6 +2423,7 @@ "version": "2.9.0", "resolved": "https://registry.npmjs.org/eslint-config-prettier/-/eslint-config-prettier-2.9.0.tgz", "integrity": "sha512-ag8YEyBXsm3nmOv1Hz991VtNNDMRa+MNy8cY47Pl4bw6iuzqKbJajXdqUpiw13STdLLrznxgm1hj9NhxeOYq0A==", + "dev": true, "requires": { "get-stdin": "5.0.1" } @@ -3020,7 +3021,8 @@ "get-stdin": { "version": "5.0.1", "resolved": "https://registry.npmjs.org/get-stdin/-/get-stdin-5.0.1.tgz", - "integrity": "sha1-Ei4WFZHiH/TFJTAwVpPyDmOTo5g=" + "integrity": "sha1-Ei4WFZHiH/TFJTAwVpPyDmOTo5g=", + "dev": true }, "get-stream": { "version": "3.0.0", diff --git a/package.json b/package.json index a6407b4..98fea1a 100644 --- a/package.json +++ b/package.json @@ -12,8 +12,7 @@ "scripts": { "test": "npm run lint && npm run find-new-rules", "lint": "eslint . ", - "find-new-rules": - "npm run find-new-rules:main && npm run find-new-rules:react && npm run find-new-rules:jest", + "find-new-rules": "npm run find-new-rules:main && npm run find-new-rules:react && npm run find-new-rules:jest", "find-new-rules:main": "eslint-find-rules --unused --option", "find-new-rules:react": "eslint-find-rules --unused ./test/react.js", "find-new-rules:jest": "eslint-find-rules --unused ./test/jest.js", @@ -26,7 +25,6 @@ "eslint": "^4.19.1", "eslint-config-airbnb": "^16.1.0", "eslint-config-airbnb-base": "^12.1.0", - "eslint-config-prettier": "^2.9.0", "eslint-import-resolver-node": "^0.3.2", "eslint-plugin-css-modules": "^2.7.5", "eslint-plugin-import": "^2.10.0", @@ -43,6 +41,7 @@ "access": "public" }, "devDependencies": { + "eslint-config-prettier": "^2.9.0", "eslint-find-rules": "^3.2.2", "semantic-release": "^15.1.4", "simple-commit-message": "^4.0.3",