Skip to content

Commit

Permalink
Adds prettier eslint config.
Browse files Browse the repository at this point in the history
  • Loading branch information
ctrlplusb committed Oct 11, 2017
1 parent 9101e4c commit 192bab5
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 5 deletions.
4 changes: 0 additions & 4 deletions .eslintignore

This file was deleted.

15 changes: 15 additions & 0 deletions package-lock.json

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

4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@
"enzyme-to-json": "^3.1.2",
"eslint": "^4.8.0",
"eslint-config-airbnb": "^16.0.0",
"eslint-config-prettier": "^2.6.0",
"eslint-plugin-import": "^2.7.0",
"eslint-plugin-jsx-a11y": "^6.0.2",
"eslint-plugin-react": "^7.4.0",
Expand Down Expand Up @@ -89,7 +90,7 @@
"node": true,
"jest": true
},
"extends": "airbnb",
"extends": ["airbnb", "prettier"],
"rules": {
"array-callback-return": 0,
"arrow-parens": ["error", "as-needed"],
Expand All @@ -109,6 +110,7 @@
"react/sort-comp": 0
}
},
"eslintIgnore": ["node_modules/", "commonjs/", "coverage/", "umd/"],
"prettier": {
"semi": false,
"singleQuote": true,
Expand Down

0 comments on commit 192bab5

Please sign in to comment.