Commit 811509a 1 parent b1844e8 commit 811509a Copy full SHA for 811509a
File tree 3 files changed +853
-1
lines changed
3 files changed +853
-1
lines changed Original file line number Diff line number Diff line change
1
+ root : true
2
+
3
+ extends :
4
+ - eslint:recommended
5
+ - prettier
6
+
7
+ env :
8
+ es2021 : true
9
+
10
+ parserOptions :
11
+ ecmaVersion : latest
12
+ sourceType : module
13
+
14
+ overrides :
15
+ - files : ['*.ts', '*.tsx']
16
+ extends :
17
+ - plugin:@typescript-eslint/eslint-recommended
18
+ - plugin:@typescript-eslint/recommended
19
+ plugins :
20
+ - ' @typescript-eslint'
21
+ parser : ' @typescript-eslint/parser'
Original file line number Diff line number Diff line change 5
5
"scripts" : {
6
6
"start" : " wrangler dev" ,
7
7
"deploy" : " wrangler publish" ,
8
- "format" : " prettier --cache --ignore-unknown --write ."
8
+ "format" : " prettier --cache --ignore-unknown --write ." ,
9
+ "lint:eslint" : " eslint --cache --max-warnings=0 ."
9
10
},
10
11
"devDependencies" : {
11
12
"@cloudflare/workers-types" : " ^4.20221111.1" ,
13
+ "@typescript-eslint/eslint-plugin" : " ^5.46.1" ,
14
+ "@typescript-eslint/parser" : " ^5.46.1" ,
15
+ "eslint" : " ^8.29.0" ,
16
+ "eslint-config-prettier" : " ^8.5.0" ,
12
17
"prettier" : " ^2.8.1" ,
13
18
"typescript" : " ^4.9.4" ,
14
19
"wrangler" : " 2.6.2"
You can’t perform that action at this time.
0 commit comments