File tree 3 files changed +38
-7
lines changed
3 files changed +38
-7
lines changed Original file line number Diff line number Diff line change
1
+ // eslint.config.mjs
2
+ import js from "@eslint/js" ;
3
+ import ts from "@typescript-eslint/eslint-plugin" ;
4
+ import tsParser from "@typescript-eslint/parser" ;
5
+ import prettier from "eslint-plugin-prettier" ;
6
+ import prettierConfig from "eslint-config-prettier" ;
7
+ import globals from "globals" ;
8
+
9
+
10
+ export default [
11
+ js . configs . recommended ,
12
+ {
13
+ files : [ "**/*.ts" ] ,
14
+ languageOptions : {
15
+ parser : tsParser ,
16
+ ecmaVersion : "latest" ,
17
+ sourceType : "module" ,
18
+ globals : {
19
+ ...globals . node
20
+ }
21
+ } ,
22
+ plugins : {
23
+ "@typescript-eslint" : ts ,
24
+ prettier,
25
+ } ,
26
+ rules : {
27
+ } ,
28
+ } ,
29
+ prettierConfig ,
30
+ ] ;
Original file line number Diff line number Diff line change 5
5
" packages/*"
6
6
],
7
7
"dependencies" : {
8
- "cosmiconfig" : " ^9.0.0"
8
+ "cosmiconfig" : " ^9.0.0" ,
9
+ "globals" : " ^15.15.0"
9
10
},
10
11
"devDependencies" : {
11
12
"@typescript-eslint/eslint-plugin" : " ^8.24.0" ,
Original file line number Diff line number Diff line change @@ -2205,16 +2205,11 @@ dotenv-expand@~11.0.6:
2205
2205
dependencies :
2206
2206
dotenv "^16.4.5"
2207
2207
2208
- dotenv@^16.4.5, dotenv@~16.4.5 :
2208
+ dotenv@^16.4.5, dotenv@^16.4.7, dotenv@ ~16.4.5 :
2209
2209
version "16.4.7"
2210
2210
resolved "https://registry.npmjs.org/dotenv/-/dotenv-16.4.7.tgz"
2211
2211
integrity sha512-47qPchRCykZC03FhkYAhrvwU4xDBFIj1QPqaarj6mdM/hgUzfPHcpkHJOn3mJAufFeeAxAzeGsr5X0M4k6fLZQ==
2212
2212
2213
- dotenv@^16.4.7 :
2214
- version "16.4.7"
2215
- resolved "https://registry.yarnpkg.com/dotenv/-/dotenv-16.4.7.tgz#0e20c5b82950140aa99be360a8a5f52335f53c26"
2216
- integrity sha512-47qPchRCykZC03FhkYAhrvwU4xDBFIj1QPqaarj6mdM/hgUzfPHcpkHJOn3mJAufFeeAxAzeGsr5X0M4k6fLZQ==
2217
-
2218
2213
dunder-proto@^1.0.1 :
2219
2214
version "1.0.1"
2220
2215
resolved "https://registry.npmjs.org/dunder-proto/-/dunder-proto-1.0.1.tgz"
@@ -2881,6 +2876,11 @@ globals@^14.0.0:
2881
2876
resolved "https://registry.yarnpkg.com/globals/-/globals-14.0.0.tgz#898d7413c29babcf6bafe56fcadded858ada724e"
2882
2877
integrity sha512-oahGvuMGQlPw/ivIYBjVSrWAfWLBeku5tpPE2fOPLi+WHffIWbuh2tCjhyQhTBPMf5E9jDEH4FOmTYgYwbKwtQ==
2883
2878
2879
+ globals@^15.15.0 :
2880
+ version "15.15.0"
2881
+ resolved "https://registry.yarnpkg.com/globals/-/globals-15.15.0.tgz#7c4761299d41c32b075715a4ce1ede7897ff72a8"
2882
+ integrity sha512-7ACyT3wmyp3I61S4fG682L0VA2RGD9otkqGJIwNUMF1SWUombIIk+af1unuDYgMm082aHYwD+mzJvv9Iu8dsgg==
2883
+
2884
2884
globby@11.1.0 :
2885
2885
version "11.1.0"
2886
2886
resolved "https://registry.npmjs.org/globby/-/globby-11.1.0.tgz"
You can’t perform that action at this time.
0 commit comments