Skip to content

Commit

Permalink
Simplify eslint config (#121)
Browse files Browse the repository at this point in the history
  • Loading branch information
TrySound authored Jun 11, 2018
1 parent cb3809f commit 222e148
Show file tree
Hide file tree
Showing 3 changed files with 169 additions and 170 deletions.
18 changes: 5 additions & 13 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -1,18 +1,14 @@
{
"parser": "babel-eslint",
"plugins": [
"import",
"react"
],
"extends": [
"eslint:recommended",
"plugin:import/recommended",
"plugin:react/recommended"
],
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true,
"experimentalObjectRestSpread": true
}
},
"env": {
"browser": true,
"node": true,
Expand All @@ -26,9 +22,5 @@
"import/no-unresolved": ["error", { "ignore": ["^react$"] }],
"import/unambiguous": 0,
"react/jsx-key": 0
},
"plugins": [
"import",
"react"
]
}
}
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,12 +68,12 @@
"@babel/preset-stage-3": "^7.0.0-beta.49",
"all-contributors-cli": "^4.11.2",
"babel-core": "^7.0.0-bridge.0",
"babel-eslint": "^8.2.2",
"babel-eslint": "^8.2.3",
"babel-jest": "^23.0.0",
"cross-env": "^5.0.5",
"eslint": "^4.6.1",
"eslint-plugin-import": "^2.7.0",
"eslint-plugin-react": "^7.3.0",
"eslint": "^4.19.1",
"eslint-plugin-import": "^2.12.0",
"eslint-plugin-react": "^7.9.1",
"flow-bin": "^0.66.0",
"husky": "^0.14.3",
"jest": "^23.0.0",
Expand Down
Loading

0 comments on commit 222e148

Please sign in to comment.