thunderhub/.eslintrc
Anthony Potdevin 933ead86e9
feat: switch to eslint (#35)
* feat:  switch to eslint

* chore: 🔧 fix lint issues

* chore: 🔧 remove comments
2020-05-06 22:39:36 +02:00

39 lines
1,004 B
Text

{
"root": true,
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaFeatures": { "jsx": true }
},
"settings": {
"react": {
"createClass": "createReactClass",
"pragma": "React",
"version": "detect",
"flowVersion": "0.53"
},
"propWrapperFunctions": [
"forbidExtraProps",
{"property": "freeze", "object": "Object"},
{"property": "myFavoriteWrapper"}
],
"linkComponents": [
"Hyperlink",
{"name": "Link", "linkAttribute": "to"}
]
},
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
"plugin:react/recommended",
"plugin:jsx-a11y/recommended",
"prettier/@typescript-eslint",
"plugin:prettier/recommended"
],
"rules": {
"camelcase": "off",
"@typescript-eslint/camelcase": "off",
"prettier/prettier": ["error", {}, { "usePrettierrc": true }],
"react/prop-types": "off"
}
}