File tree Expand file tree Collapse file tree 3 files changed +1241
-51
lines changed Expand file tree Collapse file tree 3 files changed +1241
-51
lines changed Original file line number Diff line number Diff line change 11{
2- "env" : {
3- "node" : true ,
4- "es2021" : true ,
5- "browser" : true
6- },
7- "extends" : [
8- " eslint:recommended" ,
9- " plugin:react/recommended" ,
10- " plugin:prettier/recommended" ,
11- " plugin:@typescript-eslint/recommended"
12- ],
13- "parser" : " @typescript-eslint/parser" ,
14- "parserOptions" : {
15- "ecmaFeatures" : {
16- "jsx" : true
17- },
18- "sourceType" : " module" ,
19- "ecmaVersion" : " latest"
20- },
21- "plugins" : [
22- " react" ,
23- " @typescript-eslint"
24- ],
25- "rules" : {
26- "prettier/prettier" : [
27- " error" ,
28- {
29- "endOfLine" : " auto"
30- },
31- {
32- "usePrettierrc" : true
33- }
34- ],
35- "@typescript-eslint/ban-types" : [
36- " error" ,
37- {
38- "extendDefaults" : true ,
39- "types" : {
40- "{}" : false
41- }
42- }
43- ],
44- "react/react-in-jsx-scope" : " off"
45- }
2+ "env" : {
3+ "browser" : true ,
4+ "es2021" : true ,
5+ "node" : true
6+ },
7+ "extends" : [
8+ " eslint:recommended" ,
9+ " plugin:react/recommended" ,
10+ " plugin:@typescript-eslint/recommended"
11+ ],
12+ "parser" : " @typescript-eslint/parser" ,
13+ "parserOptions" : {
14+ "ecmaFeatures" : {
15+ "jsx" : true
16+ },
17+ "ecmaVersion" : " latest" ,
18+ "sourceType" : " module"
19+ },
20+ "plugins" : [
21+ " react" ,
22+ " prettier" ,
23+ " @typescript-eslint"
24+ ],
25+ "rules" : {
26+ "@typescript-eslint/no-non-null-assertion" : " off" ,
27+ "prettier/prettier" : [
28+ " error" ,
29+ {
30+ "endOfLine" : " auto"
31+ },
32+ {
33+ "usePrettierrc" : true
34+ }
35+ ],
36+ "react/react-in-jsx-scope" : " off"
37+ }
4638}
Original file line number Diff line number Diff line change 2323 "@typescript-eslint/parser" : " ^5.30.6" ,
2424 "@vitejs/plugin-react" : " ^2.0.0" ,
2525 "autoprefixer" : " ^10.4.7" ,
26+ "eslint" : " ^8.19.0" ,
27+ "eslint-config-prettier" : " ^8.5.0" ,
28+ "eslint-plugin-prettier" : " ^4.2.1" ,
29+ "eslint-plugin-react" : " ^7.30.1" ,
2630 "postcss" : " ^8.4.14" ,
2731 "prettier" : " 2.7.1" ,
2832 "tailwindcss" : " ^3.1.6" ,
You can’t perform that action at this time.
0 commit comments