Skip to content
This repository has been archived by the owner on Apr 21, 2021. It is now read-only.

Commit

Permalink
(patch): Resolves Prettier and eslint integration: prettier/eslint-pl…
Browse files Browse the repository at this point in the history
  • Loading branch information
magique committed Apr 24, 2018
1 parent 06abf58 commit c787615
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 5 deletions.
8 changes: 7 additions & 1 deletion index.js
Expand Up @@ -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': [
Expand Down
4 changes: 3 additions & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 2 additions & 3 deletions package.json
Expand Up @@ -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",
Expand All @@ -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",
Expand All @@ -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",
Expand Down

0 comments on commit c787615

Please sign in to comment.