Skip to content

Commit 951999f

Browse files
kirklinantfu
andauthored
feat(typescript): integrate eslint-plugin-erasable-syntax-only (#760)
Co-authored-by: Anthony Fu <github@antfu.me>
1 parent b765350 commit 951999f

File tree

6 files changed

+146
-88
lines changed

6 files changed

+146
-88
lines changed

eslint.config.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@ export default antfu(
1010
svelte: true,
1111
astro: true,
1212
nextjs: true,
13-
typescript: true,
13+
typescript: {
14+
erasableOnly: true,
15+
},
1416
formatters: true,
1517
pnpm: true,
1618
type: 'lib',

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,7 @@
163163
"bumpp": "catalog:dev",
164164
"eslint": "catalog:peer",
165165
"eslint-plugin-astro": "catalog:peer",
166+
"eslint-plugin-erasable-syntax-only": "catalog:peer",
166167
"eslint-plugin-format": "catalog:peer",
167168
"eslint-plugin-jsx-a11y": "catalog:peer",
168169
"eslint-plugin-react-hooks": "catalog:peer",

0 commit comments

Comments
 (0)