Skip to content

Commit

Permalink
chore: upgrade eslint config
Browse files Browse the repository at this point in the history
  • Loading branch information
sxzz committed Sep 21, 2023
1 parent 31376b6 commit 3e83463
Show file tree
Hide file tree
Showing 8 changed files with 165 additions and 621 deletions.
10 changes: 5 additions & 5 deletions examples/esbuild/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"include": ["src/**/*", "*"],
"exclude": ["node_modules"],
"compilerOptions": {
"allowJs": true,
"module": "esnext",
"target": "esnext",
"module": "esnext",
"moduleResolution": "bundler",
"allowJs": true,
"noEmit": true
}
},
"include": ["src/**/*", "*"],
"exclude": ["node_modules"]
}
6 changes: 3 additions & 3 deletions examples/rollup/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"include": ["src/**/*", "*"],
"exclude": ["node_modules"],
"compilerOptions": {
"jsx": "preserve",
"module": "esnext",
"moduleResolution": "bundler"
}
},
"include": ["src/**/*", "*"],
"exclude": ["node_modules"]
}
6 changes: 3 additions & 3 deletions examples/vite/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"include": ["src/**/*", "*"],
"exclude": ["node_modules"],
"compilerOptions": {
"module": "esnext",
"moduleResolution": "bundler"
}
},
"include": ["src/**/*", "*"],
"exclude": ["node_modules"]
}
6 changes: 3 additions & 3 deletions examples/webpack/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"include": ["src/**/*", "*"],
"exclude": ["node_modules"],
"compilerOptions": {
"module": "esnext",
"moduleResolution": "bundler"
}
},
"include": ["src/**/*", "*"],
"exclude": ["node_modules"]
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@
"devDependencies": {
"@jridgewell/gen-mapping": "^0.3.3",
"@jridgewell/trace-mapping": "^0.3.19",
"@sxzz/eslint-config": "^3.5.4",
"@sxzz/eslint-config": "^3.6.1",
"@sxzz/prettier-config": "^1.0.4",
"@types/debug": "^4.1.8",
"@types/node": "^20.6.2",
Expand Down
Loading

0 comments on commit 3e83463

Please sign in to comment.