removeddit/.eslintrc
2018-02-04 17:44:04 +01:00

53 lines
1.5 KiB
Text

{
"env": {
"browser": true
},
"extends": "airbnb",
"rules": {
"arrow-parens": "off",
"comma-dangle": [
"error",
{
"arrays": "always-multiline",
"exports": "always-multiline",
"functions": "ignore",
"imports": "always-multiline",
"objects": "always-multiline"
}
],
"import/extensions": "off",
"import/no-extraneous-dependencies": "off",
"import/no-unresolved": "off",
"import/prefer-default-export": "off",
"jsx-a11y/anchor-has-content": "off",
"jsx-a11y/anchor-is-valid": "off",
"jsx-quotes": [
"error",
"prefer-single"
],
"max-len": "off",
"no-param-reassign": "warn",
"no-plusplus": [
"error",
{
"allowForLoopAfterthoughts": true
}
],
"no-prototype-builtins": "off",
"no-script-url": "off",
"no-underscore-dangle": "off",
"no-unused-vars": "warn",
"react/jsx-filename-extension": "off",
"react/no-danger": "off",
"react/prop-types": "off",
"semi": [
"error",
"never"
],
"no-use-before-define": "off",
"import/first": "off",
"prefer-destructuring": "off",
"jsx-a11y/click-events-have-key-events": "off",
"jsx-a11y/no-static-element-interactions": "off"
}
}