##// END OF EJS Templates
Added tag v1.9.0-rc5 for changeset 894b8239b953
Added tag v1.9.0-rc5 for changeset 894b8239b953

File last commit:

r109:4a375b9c654a default
r143:62b21ca84dce default
Show More
.eslintrc.js
39 lines | 1.0 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"]
}
}