Skip to content

Commit 676e3a5

Browse files
committed
feat: modify eslint for prettify and create render.ts
1 parent f74a9b6 commit 676e3a5

10 files changed

+2098
-649
lines changed

.eslintrc.cjs

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
module.exports = {
2+
parser: '@typescript-eslint/parser',
3+
plugins: ['@typescript-eslint', 'prettier', 'import'],
4+
ignorePatterns: ['node_modules/', 'dist/', 'generated/'],
5+
extends: ['plugin:@typescript-eslint/recommended', 'prettier'],
6+
rules: {
7+
'@typescript-eslint/no-explicit-any': 'off',
8+
'prettier/prettier': 'error',
9+
'import/order': [
10+
'error',
11+
{
12+
'groups': [['builtin', 'external'], ['internal', 'parent', 'sibling', 'index']],
13+
'newlines-between': 'always',
14+
},
15+
],
16+
},
17+
};

.eslintrc.js

-12
This file was deleted.

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,5 @@ node_modules/
55
node_modules/
66

77
*.tgz
8+
*.svg
89
*~

0 commit comments

Comments
 (0)