Skip to content

Commit

Permalink
feat: improve types for rules
Browse files Browse the repository at this point in the history
  • Loading branch information
antfu committed Mar 27, 2024
1 parent 698abe1 commit 4ff2080
Show file tree
Hide file tree
Showing 9 changed files with 306 additions and 99 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Expand Up @@ -82,3 +82,5 @@ _fixtures

.temp
.history

src/typegen.d.ts
8 changes: 3 additions & 5 deletions package.json
Expand Up @@ -25,11 +25,12 @@
"dist"
],
"scripts": {
"build": "tsup --format esm,cjs --clean --dts",
"build": "nr typegen && tsup --format esm,cjs --clean --dts",
"stub": "tsup --format esm",
"dev": "tsup --format esm,cjs --watch & eslint-flat-config-viewer",
"watch": "tsup --format esm,cjs --watch",
"lint": "eslint .",
"typegen": "esno scripts/typegen.ts",
"prepack": "nr build",
"release": "bumpp && pnpm publish",
"test": "vitest",
Expand Down Expand Up @@ -86,12 +87,8 @@
}
},
"dependencies": {
"@antfu/eslint-define-config": "^1.23.0-2",
"@antfu/install-pkg": "^0.3.1",
"@clack/prompts": "^0.7.0",
"@eslint-types/jsdoc": "48.2.1",
"@eslint-types/typescript-eslint": "^7.2.0",
"@eslint-types/unicorn": "^51.0.1",
"@stylistic/eslint-plugin": "^1.7.0",
"@typescript-eslint/eslint-plugin": "^7.4.0",
"@typescript-eslint/parser": "^7.4.0",
Expand Down Expand Up @@ -145,6 +142,7 @@
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-react-refresh": "^0.4.6",
"eslint-plugin-svelte": "2.36.0-next.13",
"eslint-typegen": "^0.0.2",
"esno": "^4.7.0",
"execa": "^8.0.1",
"fast-glob": "^3.3.2",
Expand Down

0 comments on commit 4ff2080

Please sign in to comment.