chore: update eslint

This commit is contained in:
Wroud
2021-12-23 22:39:18 +03:00
parent 73f1f93550
commit 6eda47225c
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -25,7 +25,7 @@ module.exports = {
parserOptions: {
ecmaVersion: 2019,
sourceType: "module",
// tsconfigRootDir: __dirname,
tsconfigRootDir: __dirname,
project: './packages/**/tsconfig.json',
ecmaFeatures: {
jsx: true
@@ -93,7 +93,7 @@ module.exports = {
"@typescript-eslint/space-before-function-paren": ["error" , {"anonymous": "always", "named": "never", "asyncArrow": "always"}],
"@typescript-eslint/space-infix-ops": ["error", { "int32Hint": false }],
"@typescript-eslint/no-confusing-non-null-assertion": ["warn"],
"@typescript-eslint/no-confusing-void-expression": ["warn"],
"@typescript-eslint/no-confusing-void-expression": "off",
"@typescript-eslint/no-unnecessary-boolean-literal-compare": ["warn"],
"@typescript-eslint/no-unnecessary-condition": ["warn", {"allowConstantLoopConditions": true}],
"@typescript-eslint/no-unnecessary-type-arguments": ["warn"],
@@ -171,8 +171,8 @@ module.exports = (env, argv) => {
semantic: true,
syntactic: true,
},
build: true,
mode: "write-references",
// build: true,
// mode: "write-references",
},
// eslint: {
// files: './src/**/*.{ts,tsx,js,jsx}'