Created
April 2, 2020 00:18
-
-
Save alisonjs/3d012a1420886b500c8391b3896dbced to your computer and use it in GitHub Desktop.
ESLint configuration
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
{ | |
"parser": "babel-eslint", | |
"env": { | |
"browser": true, | |
"jest": true | |
}, | |
"plugins": ["react", "jsx-a11y", "import"], | |
"extends": "airbnb", | |
"rules": { | |
"quotes": [2, "double", "avoid-escape"], | |
"comma-dangle": ["error", "never"], | |
"no-alert": "off", | |
"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