File tree 6 files changed +125
-144
lines changed
6 files changed +125
-144
lines changed Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 4
4
"**/.yarn" : true ,
5
5
"**/.pnp.*" : true
6
6
},
7
+ "eslint.experimental.useFlatConfig" : true ,
7
8
"eslint.nodePath" : " .yarn/sdks" ,
8
9
"typescript.enablePromptUseWorkspaceTsdk" : true ,
9
10
"editor.codeActionsOnSave" : {
Original file line number Diff line number Diff line change
1
+ import yarnpkg from '@yarnpkg/eslint-config' ;
2
+
3
+ // eslint-disable-next-line arca/no-default-export
4
+ export default [
5
+ {
6
+ ignores : [
7
+ `.yarn` ,
8
+ `dist` ,
9
+ `shims` ,
10
+ `.pnp.*` ,
11
+ ] ,
12
+ } ,
13
+ ...yarnpkg ,
14
+ {
15
+ rules : {
16
+ // eslint-disable-next-line @typescript-eslint/naming-convention
17
+ 'no-restricted-globals' : [ `error` , {
18
+ name : `fetch` ,
19
+ message : `Use fetch from sources/httpUtils.ts` ,
20
+ } ] ,
21
+ } ,
22
+ } ,
23
+ ] ;
Original file line number Diff line number Diff line change 29
29
"@types/semver" : " ^7.1.0" ,
30
30
"@types/tar" : " ^6.0.0" ,
31
31
"@types/which" : " ^3.0.0" ,
32
- "@typescript-eslint/eslint-plugin" : " ^6.8.0" ,
33
- "@typescript-eslint/parser" : " ^6.8.0" ,
34
- "@yarnpkg/eslint-config" : " ^1.0.0" ,
32
+ "@yarnpkg/eslint-config" : " ^2.0.0" ,
35
33
"@yarnpkg/fslib" : " ^3.0.0-rc.48" ,
36
34
"@zkochan/cmd-shim" : " ^6.0.0" ,
37
35
"babel-plugin-dynamic-import-node" : " ^2.3.3" ,
38
36
"better-sqlite3" : " ^9.4.1" ,
39
37
"clipanion" : " ^3.0.1" ,
40
38
"debug" : " ^4.1.1" ,
41
39
"esbuild" : " 0.19.5" ,
42
- "eslint" : " ^8.0.0" ,
43
- "eslint-plugin-arca" : " ^0.16.0" ,
40
+ "eslint" : " ^8.57.0" ,
44
41
"jest" : " ^29.0.0" ,
45
42
"proxy-from-env" : " ^1.1.0" ,
46
43
"semver" : " ^7.5.2" ,
You can’t perform that action at this time.
0 commit comments