mirror of
https://github.com/apotdevin/thunderhub.git
synced 2025-02-22 22:25:21 +01:00
39 lines
1,004 B
Text
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"
|
|
}
|
|
}
|