Skip to content

Commit cdb9d89

Browse files
authored
Bug fix (#5)
* async install template project. * improve user experience. * update webpack config
1 parent 7809121 commit cdb9d89

File tree

8 files changed

+6528
-3705
lines changed

8 files changed

+6528
-3705
lines changed

.eslintrc.js

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

eslint.config.js

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
import js from '@eslint/js';
2+
import tseslint from 'typescript-eslint';
3+
4+
export default tseslint.config(
5+
js.configs.recommended,
6+
...tseslint.configs.recommended,
7+
{
8+
languageOptions: {
9+
ecmaVersion: 'latest',
10+
sourceType: 'module',
11+
parserOptions: {
12+
ecmaVersion: 'latest',
13+
sourceType: 'module',
14+
},
15+
},
16+
rules: {
17+
indent: ['warn', 2],
18+
semi: ['error', 'always'],
19+
'@typescript-eslint/no-unused-vars': ['warn'],
20+
'@typescript-eslint/no-explicit-any': ['warn'],
21+
},
22+
linterOptions: {
23+
reportUnusedDisableDirectives: true,
24+
},
25+
ignores: ['node_modules', 'dist'],
26+
}
27+
);

0 commit comments

Comments
 (0)