Skip to content

Commit

Permalink
fix: 🐛 eslint config env (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcelo Alves authored Oct 8, 2019
1 parent dd6bb5c commit b74ac60
Showing 1 changed file with 5 additions and 20 deletions.
25 changes: 5 additions & 20 deletions eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,27 +1,14 @@
{
"extends": [
"standard",
"standard-react",
"react-app",
"plugin:jest/recommended"
],
"plugins": [
"react-hooks",
"jest",
"jest-formatting"
],
"environments": {
"extends": ["standard", "standard-react", "react-app", "plugin:jest/recommended"],
"plugins": ["react-hooks", "jest", "jest-formatting"],
"env": {
"browser": true,
"jasmine": true,
"jest": true
},
"env": {},
"rules": {
"no-console": "error",
"object-curly-spacing": [
"error",
"always"
],
"object-curly-spacing": ["error", "always"],
"react-hooks/rules-of-hooks": "error",
"prefer-promise-reject-errors": "off",
"jest/consistent-test-it": [
Expand All @@ -43,9 +30,7 @@
},
"overrides": [
{
"files": [
"src/**/*.tsx"
],
"files": ["src/**/*.tsx"],
"rules": {
"react/prop-types": "off"
}
Expand Down

0 comments on commit b74ac60

Please sign in to comment.