Last active
February 12, 2019 07:22
-
-
Save NarubyRiverlione/09ec76983c9bad4b25a3d097c54e2b30 to your computer and use it in GitHub Desktop.
eslint config
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
{ | |
"extends": [ | |
"react-app", | |
"airbnb" | |
], | |
"plugins": [ | |
"react-hooks" | |
], | |
"rules": { | |
"react-hooks/rules-of-hooks": "error", | |
"max-len": [ | |
"warn", | |
{ | |
"code": 120, | |
"comments": 150 | |
} | |
], | |
"indent": [ | |
"warn", | |
2 | |
], | |
"jsx-a11y/no-noninteractive-element-interactions": [ | |
"warn" | |
], | |
"jsx-a11y/click-events-have-key-events": [ | |
"warn" | |
], | |
"jsx-a11y/no-static-element-interactions": [ | |
"warn" | |
], | |
"linebreak-style": [ | |
0 | |
], | |
"quotes": [ | |
"error", | |
"single" | |
], | |
"semi": [ | |
"error", | |
"never" | |
], | |
"no-mixed-spaces-and-tabs": [ | |
"warn", | |
"smart-tabs" | |
], | |
"no-console": [ | |
"off" | |
], | |
"react/forbid-prop-types": [ | |
"false" | |
] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment