Skip to content

Commit 779b12e

Browse files
fix eslint
1 parent 90cd758 commit 779b12e

File tree

12 files changed

+715
-1045
lines changed

12 files changed

+715
-1045
lines changed

editor/.eslintignore

Lines changed: 0 additions & 5 deletions
This file was deleted.

editor/.eslintrc.js

Lines changed: 0 additions & 20 deletions
This file was deleted.

editor/eslint.config.js

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
2+
import ts from '@typescript-eslint/eslint-plugin';
3+
import tsParser from '@typescript-eslint/parser';
4+
5+
6+
export default [
7+
{
8+
files: ['src/**/*.ts', 'src/**/*.tsx'],
9+
languageOptions: {
10+
parser: tsParser,
11+
parserOptions: {
12+
ecmaVersion: 'latest',
13+
sourceType: 'module',
14+
},
15+
},
16+
plugins: {
17+
'@typescript-eslint': ts,
18+
},
19+
ignores: ["node_modules/**", "out/**"],
20+
rules: {
21+
...ts.configs.recommended.rules,
22+
semi: ['error', 'always'],
23+
'@typescript-eslint/no-unused-vars': 'off',
24+
'@typescript-eslint/no-explicit-any': 'off',
25+
'@typescript-eslint/explicit-module-boundary-types': 'off',
26+
'@typescript-eslint/no-non-null-assertion': 'off',
27+
},
28+
},
29+
];

0 commit comments

Comments
 (0)