Skip to content

Instantly share code, notes, and snippets.

@sicknesz
Created January 26, 2021 15:51
Show Gist options
  • Select an option

  • Save sicknesz/773b0bfb5770fe2f6eee9a86fbece252 to your computer and use it in GitHub Desktop.

Select an option

Save sicknesz/773b0bfb5770fe2f6eee9a86fbece252 to your computer and use it in GitHub Desktop.
{
"parser": "babel-eslint",
"extends": [
"eslint:recommended",
"airbnb",
"standard"
],
"plugins": [
"babel",
"react",
"jsx-a11y",
"import"
],
"env": {
"browser": true,
"node": true
},
"rules": {
"no-prototype-builtins": 0,
"comma-dangle": 0,
"semi": 1,
"no-param-reassign": 0,
"jsx-quotes": 0,
"camelcase": 0,
"no-return-assign": 0,
"linebreak-style": 0,
"react/jsx-closing-tag-location": 0,
"react/jsx-filename-extension": 0,
"react/jsx-boolean-value": 1,
"react/jsx-closing-bracket-location": [1, "line-aligned"],
"react/jsx-curly-spacing": 1,
"react/jsx-indent-props": 0,
"react/jsx-key": 1,
"react/jsx-max-props-per-line": 0,
"react/jsx-no-bind": 0,
"react/jsx-no-duplicate-props": 1,
"react/jsx-no-literals": 0,
"react/jsx-no-undef": 1,
"react/jsx-pascal-case": 1,
"react/jsx-sort-prop-types": 0,
"react/jsx-sort-props": 0,
"no-restricted-globals": 0,
"react/jsx-uses-react": 1,
"react/jsx-uses-vars": 1,
"react/forbid-prop-types": [1, {"forbid": ["any"]}],
"react/display-name": [ 1, {"ignoreTranspilerName": false }],
"react/no-danger": 1,
"react/no-did-mount-set-state": 1,
"react/no-did-update-set-state": 1,
"react/no-direct-mutation-state": 1,
"react/no-multi-comp": 1,
"react/no-set-state": 0,
"react/no-find-dom-node": 0,
"react/no-unknown-property": 1,
"react/prefer-es6-class": 1,
"react/react-in-jsx-scope": 1,
"react/self-closing-comp": 1,
"react/sort-comp": 0,
"react/jsx-wrap-multilines": 1,
"react/prefer-stateless-function": 0,
"react/prop-types": 0,
"space-before-function-paren": 0,
"array-callback-return": 0,
"consistent-return": 0,
"class-methods-use-this": 0,
"no-underscore-dangle": 0,
"jsx-a11y/interactive-supports-focus": [
"error",
{
"tabbable": [
"button",
"checkbox",
"link",
"searchbox",
"spinbutton",
"switch",
"textbox"
]
}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment