Skip to content

Commit

Permalink
Adds eslint config for prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
bkrem committed Oct 6, 2017
1 parent f73bf8e commit 2b14a4f
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
module.exports = {
"parser": "babel-eslint",
"extends": "airbnb",
"extends": [
"airbnb",
"prettier"
],
"env": {
"browser": true,
"node": true,
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@
"enzyme": "^2.8.2",
"eslint": "3.19.0",
"eslint-config-airbnb": "^14.1.0",
"eslint-config-prettier": "^2.5.0",
"eslint-loader": "1.7.1",
"eslint-plugin-import": "^2.2.0",
"eslint-plugin-jsx-a11y": "^4.0.0",
Expand Down
10 changes: 10 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2232,6 +2232,12 @@ eslint-config-airbnb@^14.1.0:
dependencies:
eslint-config-airbnb-base "^11.1.0"

eslint-config-prettier@^2.5.0:
version "2.5.0"
resolved "https://registry.yarnpkg.com/eslint-config-prettier/-/eslint-config-prettier-2.5.0.tgz#9ecb9296bae4e2e59a3ce361a96c9f825fe67b75"
dependencies:
get-stdin "^5.0.1"

eslint-import-resolver-node@^0.2.0:
version "0.2.3"
resolved "https://registry.yarnpkg.com/eslint-import-resolver-node/-/eslint-import-resolver-node-0.2.3.tgz#5add8106e8c928db2cba232bcd9efa846e3da16c"
Expand Down Expand Up @@ -2730,6 +2736,10 @@ get-stdin@^4.0.1:
version "4.0.1"
resolved "https://registry.yarnpkg.com/get-stdin/-/get-stdin-4.0.1.tgz#b968c6b0a04384324902e8bf1a5df32579a450fe"

get-stdin@^5.0.1:
version "5.0.1"
resolved "https://registry.yarnpkg.com/get-stdin/-/get-stdin-5.0.1.tgz#122e161591e21ff4c52530305693f20e6393a398"

get-stream@^3.0.0:
version "3.0.0"
resolved "https://registry.yarnpkg.com/get-stream/-/get-stream-3.0.0.tgz#8e943d1358dc37555054ecbe2edb05aa174ede14"
Expand Down

0 comments on commit 2b14a4f

Please sign in to comment.