Skip to content

Instantly share code, notes, and snippets.

@silavsale
Created November 11, 2019 20:03
Show Gist options
  • Save silavsale/83068ebf716c47f5827a8c88fe36415c to your computer and use it in GitHub Desktop.
Save silavsale/83068ebf716c47f5827a8c88fe36415c to your computer and use it in GitHub Desktop.
{
"env": {
"browser": true,
"es6": true
},
"extends": [
"airbnb"
],
"globals": {
"Atomics": "readonly",
"SharedArrayBuffer": "readonly",
"window": "readonly",
"global": "readonly"
},
"parser": "babel-eslint",
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"ecmaVersion": 2018,
"sourceType": "module"
},
"plugins": [
"react"
],
"rules": {
"no-tabs": 0,
"indent": [
"error",
"tab",
{
"SwitchCase": 1
}
],
"react/jsx-indent-props": [
"error",
"tab"
],
"react/jsx-indent": [
0,
"tab"
],
"react/jsx-filename-extension": [
"warn",
{
"extensions": [
".js",
".jsx"
]
}
],
"max-len": [
"warn",
380
],
"react/jsx-props-no-spreading": [
0
],
"import/no-named-as-default": 0,
"import/no-named-as-default-member": 0,
"react/destructuring-assignment": 0,
"no-underscore-dangle": 0,
"no-plusplus": 0,
"react/prop-types": 0,
"no-invalid-this": 0,
"react/jsx-uses-react": "error",
"react/jsx-uses-vars": "error",
"jsx-a11y/click-events-have-key-events": 0,
"jsx-a11y/no-static-element-interactions": 0,
"react/no-access-state-in-setstate": 0,
"react/prefer-stateless-function": 0,
"prefer-destructuring": 0,
"no-console": 0,
"react/no-array-index-key": 0,
"no-param-reassign": 0,
"padded-blocks": 0,
"jsx-a11y/no-noninteractive-tabindex": 0,
"jsx-a11y/no-noninteractive-element-interactions": 0,
"react/no-did-update-set-state": 0,
"react/no-will-update-set-state": 0,
"no-shadow": 0,
"jsx-a11y/tabindex-no-positive": 0,
"react/jsx-closing-tag-location": 0,
"jsx-a11y/label-has-associated-control": 0,
"jsx-a11y/control-has-associated-label": 0,
"no-unused-expressions": 0,
"import/no-cycle": 0,
"react/no-children-prop": 0,
"jsx-a11y/mouse-events-have-key-events": 0,
"object-curly-newline": 0,
"react/sort-comp": 0
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment