File tree 2 files changed +26
-1
lines changed
2 files changed +26
-1
lines changed Original file line number Diff line number Diff line change 1
1
{
2
- "extends" : " next/core-web-vitals"
2
+ "extends" : [" next/core-web-vitals" , " @blockmatic" ],
3
+ "plugins" : [" react-hooks" ],
4
+ "rules" : {
5
+ "no-case-declarations" : 0 ,
6
+ "no-console" : " off" ,
7
+ "@typescript-eslint/no-unused-vars" : 0 ,
8
+ "@typescript-eslint/indent" : 0 ,
9
+ "no-use-before-define" : " off" ,
10
+ "no-shadow" : " off" ,
11
+ "react-hooks/rules-of-hooks" : " warn" , // Checks rules of Hooks
12
+ "react-hooks/exhaustive-deps" : " warn" // Checks effect dependencies
13
+ },
14
+ "env" : {
15
+ "es2020" : true
16
+ },
3
17
}
Original file line number Diff line number Diff line change 34
34
"eslint-config-next" : " 12.0.10" ,
35
35
"node-sass" : " ^7.0.1" ,
36
36
"typescript" : " 4.5.5"
37
+ },
38
+ "lint-staged" : {
39
+ "*.{ts,tsx,js}" : [
40
+ " prettier --write" ,
41
+ " eslint --fix"
42
+ ]
43
+ },
44
+ "husky" : {
45
+ "hooks" : {
46
+ "pre-commit" : " lint-staged"
47
+ }
37
48
}
38
49
}
You can’t perform that action at this time.
0 commit comments