Skip to content

Commit

Permalink
Updates the eslint config for react and removes unnecessary custom ru…
Browse files Browse the repository at this point in the history
…les from the local eslint config (#33)
  • Loading branch information
lfac-pt committed Jan 31, 2019
1 parent c4940fc commit 5ffdc4b
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 50 deletions.
20 changes: 0 additions & 20 deletions .eslintrc
@@ -1,24 +1,4 @@
{
"rules": {
"react/sort-comp": ["error", {
"order": [
"static-methods",
"lifecycle",
"event-handlers",
"everything-else",
"rendering"
],
"groups": {
"event-handlers": [
"/^_?on.+$/"
],
"rendering": [
"/^_?render.+$/",
"render"
]
}
}]
},
"globals": {},
"env": {
"es6": true,
Expand Down
58 changes: 29 additions & 29 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -40,7 +40,7 @@
"@babel/plugin-transform-react-jsx": "^7.1.6",
"@babel/preset-env": "^7.1.6",
"@feedzai/eslint-config-feedzai": "^3.0.0",
"@feedzai/eslint-config-feedzai-react": "^3.0.0",
"@feedzai/eslint-config-feedzai-react": "3.0.1",
"@storybook/addon-knobs": "^4.0.9",
"@storybook/addons": "^4.0.9",
"@storybook/react": "^4.0.9",
Expand Down

0 comments on commit 5ffdc4b

Please sign in to comment.