Created
October 18, 2018 01:04
-
-
Save alexandreramosdev/bfcdb69516891a911a62e4e92ec2e85e to your computer and use it in GitHub Desktop.
Config Eslint for 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
{ | |
"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