File tree Expand file tree Collapse file tree 2 files changed +28
-6
lines changed Expand file tree Collapse file tree 2 files changed +28
-6
lines changed Original file line number Diff line number Diff line change
1
+ module . exports = {
2
+ parser : "@typescript-eslint/parser" , // specifies the ESLint parser
3
+ parserOptions : {
4
+ ecmaVersion : 2018 , // allows for the parsing of modern ECMAScript features
5
+ sourceType : "module" , // allows for the use of imports
6
+ project : "./tsconfig.json" ,
7
+ ecmaFeatures : {
8
+ jsx : true
9
+ }
10
+ } ,
11
+ extends : [
12
+ "plugin:@typescript-eslint/recommended" , // typescript
13
+ "prettier/@typescript-eslint" , // prettier
14
+ "plugin:react/recommended" // react
15
+ ] ,
16
+ plugins : [ "react-hooks" ] ,
17
+ settings : {
18
+ react : {
19
+ version : "detect"
20
+ }
21
+ } ,
22
+ rules : {
23
+ "react/display-name" : 0 ,
24
+ "@typescript-eslint/explicit-function-return-type" : 0 ,
25
+ "react-hooks/rules-of-hooks" : 1 ,
26
+ "react-hooks/exhaustive-deps" : 1
27
+ }
28
+ } ;
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments