##// END OF EJS Templates
linting
linting

File last commit:

r108:d644dced936e default
r108:d644dced936e default
Show More
.eslintrc.json
35 lines | 1010 B | application/json | JsonLexer
{
"root": true,
"extends": [
"plugin:react/recommended",
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
"plugin:@typescript-eslint/recommended-requiring-type-checking"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"ecmaVersion": 5,
"tsconfigRootDir": "djx/src",
"project": ["tsconfig.eslint.json", "*/tsconfig.json"]
},
"plugins": [
"@typescript-eslint"
],
"rules": {
"react/react-in-jsx-scope": "off",
"react/no-unknown-property": "off",
"@typescript-eslint/no-empty-function": "off",
"max-classes-per-file": [
"error",
{ "ignoreExpressions": true, "max": 1 }
],
"@typescript-eslint/prefer-readonly": ["error"],
"semi": "off",
"@typescript-eslint/semi": ["error"]
}
}