Skip to content

Instantly share code, notes, and snippets.

@DubiousS
Created June 13, 2019 10:33
Show Gist options
  • Save DubiousS/265aa28201062a84d3c5f1ebf859e9dc to your computer and use it in GitHub Desktop.
Save DubiousS/265aa28201062a84d3c5f1ebf859e9dc to your computer and use it in GitHub Desktop.
{
"parser": "babel-eslint",
"plugins": [
"import",
"react"
],
"extends": [
"airbnb"
],
"env": {
"node": true,
"browser": true,
"jest": true
},
"parserOptions": {
"ecmaVersion": 8,
"ecmaFeatures": {
"experimentalObjectRestSpread": true
}
},
"settings": {
"import/resolver": {
"node": {
"paths": [
"src"
]
}
}
},
"rules": {
"eqeqeq": [
"error",
"smart"
],
"react/jsx-filename-extension": [
"warn",
{
"extensions": [
".js"
]
}
],
"default-case": "off",
"camelcase": [
2,
{
"properties": "always"
}
],
"react/jsx-pascal-case": [
2,
{
"allowAllCaps": true
}
],
"no-dupe-keys": "error",
"import/prefer-default-export": "off",
"no-plusplus": "off",
"react/forbid-prop-types": "off",
"react/require-default-props": "off",
"react/no-unused-prop-types": "off",
"react/default-props-match-prop-types": "off",
"react/no-unused-state": "off",
"react/no-array-index-key": "off",
"jsx-a11y/no-noninteractive-element-interactions": "off",
"jsx-a11y/click-events-have-key-events": "off",
"jsx-a11y/no-static-element-interactions": "off",
"no-case-declarations": "off",
"import/no-extraneous-dependencies": "off",
"arrow-parens": ["error", "as-needed"],
"arrow-body-style": ["error", "as-needed"]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment