Skip to content

Commit 80189f7

Browse files
nelldinostrdr4605
andauthored
Delete unused files/dependencies (#36)
* delete unused dependencies and update the exisitng ones * delete unused files * move from tslint to eslint * remove tslint migration log file * move to basic eslint * Use basic eslintrc --------- Co-authored-by: Dragoș Străinu <[email protected]>
1 parent a0a5717 commit 80189f7

File tree

12 files changed

+9727
-2868
lines changed

12 files changed

+9727
-2868
lines changed

.eslintrc.cjs

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
module.exports = {
2+
root: true,
3+
env: {
4+
browser: true,
5+
es2021: true,
6+
},
7+
extends: [
8+
'eslint:recommended',
9+
'plugin:@typescript-eslint/recommended-type-checked',
10+
'plugin:@typescript-eslint/stylistic-type-checked',
11+
'plugin:react/recommended',
12+
'plugin:react/jsx-runtime',
13+
'plugin:react-hooks/recommended',
14+
'prettier',
15+
],
16+
ignorePatterns: ['dist', '.eslintrc.cjs', 'vite.config.ts'],
17+
parser: '@typescript-eslint/parser',
18+
parserOptions: {
19+
ecmaVersion: 'latest',
20+
sourceType: 'module',
21+
project: ['./tsconfig.json', './tsconfig.node.json'],
22+
tsconfigRootDir: __dirname,
23+
},
24+
plugins: ['react-refresh'],
25+
rules: {
26+
'react-refresh/only-export-components': ['warn', { allowConstantExport: true }],
27+
'react/react-in-jsx-scope': 'off',
28+
},
29+
};

0 commit comments

Comments
 (0)