mirror of
https://github.com/dbeaver/cloudbeaver.git
synced 2026-09-24 16:04:36 +08:00
chore: update eslint
This commit is contained in:
+2
-2
@@ -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}'
|
||||
|
||||
Reference in New Issue
Block a user