mirror of
https://github.com/euzu/tuliprox.git
synced 2026-10-01 05:22:28 +02:00
55 lines
1.1 KiB
JSON
55 lines
1.1 KiB
JSON
{
|
|
"env": {
|
|
"jest/globals": true
|
|
},
|
|
"parser": "@typescript-eslint/parser",
|
|
"extends": [
|
|
"react-app",
|
|
"react-app/jest",
|
|
"eslint-config-prettier",
|
|
"plugin:react/recommended"
|
|
],
|
|
"settings": {
|
|
"react": {
|
|
"createClass": "createReactClass",
|
|
"pragma": "React",
|
|
"fragment": "Fragment",
|
|
"version": "detect",
|
|
"flowVersion": "detect"
|
|
}
|
|
},
|
|
"parserOptions": {
|
|
"ecmaVersion": 2018,
|
|
"sourceType": "module",
|
|
"ecmaFeatures": {
|
|
"jsx": true
|
|
}
|
|
},
|
|
"plugins": [
|
|
"import",
|
|
"node",
|
|
"react"
|
|
],
|
|
"rules": {
|
|
"consistent-this": [
|
|
"error",
|
|
"self"
|
|
],
|
|
"@typescript-eslint/no-this-alias": [
|
|
"error",
|
|
{
|
|
"allowDestructuring": false,
|
|
"allowedNames": [
|
|
"self"
|
|
]
|
|
}
|
|
],
|
|
"@typescript-eslint/no-explicit-any": "off",
|
|
"@typescript-eslint/ban-ts-comment": "off",
|
|
"@typescript-eslint/ban-ts-ignore": "off",
|
|
"react/display-name": "off",
|
|
"react/prop-types": "off"
|
|
},
|
|
"ignorePatterns": [ "*.test.tsc", "*.scss", "*.css" ]
|
|
}
|