Skip to content

Commit 72a2c8b

Browse files
committedApr 2, 2024·
feat: try inspector build
1 parent 85f78a6 commit 72a2c8b

File tree

5 files changed

+127
-77
lines changed

5 files changed

+127
-77
lines changed
 

‎.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -84,3 +84,4 @@ _fixtures
8484
.history
8585

8686
src/typegen.d.ts
87+
.eslint-config-inspector

‎eslint.config.js

-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ export default antfu(
1515
svelte: true,
1616
astro: true,
1717
typescript: true,
18-
1918
formatters: true,
2019
},
2120
{

‎netlify.toml

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
[build]
2+
publish = ".eslint-config-inspector"
3+
command = "pnpm run build:inspector"
4+
5+
[build.environment]
6+
NODE_VERSION = "20"
7+
8+
[[redirects]]
9+
from = "/*"
10+
to = "/index.html"
11+
status = 200

‎package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
"build": "nr typegen && tsup --format esm,cjs --clean --dts",
2929
"stub": "tsup --format esm",
3030
"dev": "tsup --format esm,cjs --watch & npx @eslint/config-inspector",
31+
"build:inspector": "pnpm build && npx @eslint/config-inspector build",
3132
"watch": "tsup --format esm,cjs --watch",
3233
"lint": "eslint .",
3334
"typegen": "esno scripts/typegen.ts",
@@ -125,7 +126,7 @@
125126
"@antfu/eslint-config": "workspace:*",
126127
"@antfu/eslint-plugin-prettier": "^5.0.1-1",
127128
"@antfu/ni": "^0.21.12",
128-
"@eslint/config-inspector": "^0.2.1",
129+
"@eslint/config-inspector": "^0.3.1",
129130
"@stylistic/eslint-plugin-migrate": "^1.7.0",
130131
"@types/eslint": "^8.56.7",
131132
"@types/fs-extra": "^11.0.4",

‎pnpm-lock.yaml

+113-75
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)
Please sign in to comment.