Last active
March 10, 2021 18:49
-
-
Save willsantos/729ea88466bf59b561a733d14cd488ed to your computer and use it in GitHub Desktop.
Eslint para React
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
"env": { | |
"browser": true, | |
"commonjs": false, | |
"es2021": true | |
}, | |
"extends": [ | |
"plugin:react/recommended", | |
"airbnb-base" | |
], | |
"parserOptions": { | |
"ecmaFeatures": { | |
"jsx": true | |
}, | |
"ecmaVersion": 12 | |
}, | |
"plugins": [ | |
"react" | |
], | |
"rules": { | |
"react/jsx-filename-extension": [ | |
"error", | |
{ | |
"extensions": [".js", ".jsx"] | |
} | |
], | |
"no-unused-vars": "warn", | |
"react/prop-types": "warn", | |
"react/jsx-uses-react": "off", | |
"react/react-in-jsx-scope": "off", | |
"object-curly-newline": 0 | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment