##// END OF EJS Templates
Added tag v1.5.0 for changeset e9a9ed6d7647
Added tag v1.5.0 for changeset e9a9ed6d7647

File last commit:

r109:4a375b9c654a default
r115:b4bb7c903a74 default
Show More
.eslintrc.js
39 lines | 1.1 KiB | application/javascript | JavascriptLexer
cin
linting
r109 module.exports = {
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: __dirname + "/src",
project: [
"tsconfig.eslint.json",
"*/tsconfig.json"
]
},
plugins: [
"react",
"@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"],
"react/jsx-key": "off"
}
}