File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ module . exports = {
2+ parser : '@typescript-eslint/parser' ,
3+ parserOptions : {
4+ project : 'tsconfig.json' ,
5+ tsconfigRootDir : __dirname ,
6+ sourceType : 'module' ,
7+ } ,
8+ plugins : [ '@typescript-eslint/eslint-plugin' ] ,
9+ extends : [
10+ 'plugin:@typescript-eslint/recommended' ,
11+ ] ,
12+ root : true ,
13+ env : {
14+ node : true ,
15+ jest : true ,
16+ } ,
17+ ignorePatterns : [ '.eslintrc.js' ] ,
18+ rules : {
19+ '@typescript-eslint/interface-name-prefix' : 'off' ,
20+ '@typescript-eslint/explicit-function-return-type' : 'off' ,
21+ '@typescript-eslint/explicit-module-boundary-types' : 'off' ,
22+ '@typescript-eslint/no-explicit-any' : 'off' ,
23+ } ,
24+ } ;
Original file line number Diff line number Diff line change 1+ module . exports = {
2+ root : true ,
3+ env : { browser : true , es2020 : true } ,
4+ extends : [
5+ 'eslint:recommended' ,
6+ 'plugin:@typescript-eslint/recommended' ,
7+ 'plugin:react-hooks/recommended' ,
8+ ] ,
9+ ignorePatterns : [ 'dist' , '.eslintrc.cjs' ] ,
10+ parser : '@typescript-eslint/parser' ,
11+ plugins : [ 'react-refresh' ] ,
12+ rules : {
13+ 'react-refresh/only-export-components' : [
14+ 'warn' ,
15+ { allowConstantExport : true } ,
16+ ] ,
17+ } ,
18+ }
You can’t perform that action at this time.
0 commit comments