Created
September 29, 2020 20:10
-
-
Save fegvilela/5252653ea2282eefa3d084fc4c5747d3 to your computer and use it in GitHub Desktop.
style guide for eslint
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
{ | |
"parser": "babel-eslint", | |
"env": { | |
"browser": true, | |
"jest": true | |
}, | |
"plugins": ["react", "jsx-a11y", "import"], | |
"extends": "airbnb", | |
"rules": { | |
"react/jsx-filename-extension": [ | |
"error", | |
{ | |
"extensions": [".js", ".jsx"] | |
} | |
], | |
"global-require": "off", | |
"import/prefer-default-export": "off", | |
"no-unused-expressions": ["error", { "allowTaggedTemplates": true }] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment