Skip to content

Commit

Permalink
fix: recover typegen for builtin rules, close #639
Browse files Browse the repository at this point in the history
  • Loading branch information
antfu committed Nov 28, 2024
1 parent f0eecc5 commit d9b10e1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/typegen.ts
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
import fs from 'node:fs/promises'

import JS from '@eslint/js'
import { flatConfigsToRulesDTS } from 'eslint-typegen/core'
import { builtinRules } from 'eslint/use-at-your-own-risk'

import { astro, combine, comments, formatters, imports, javascript, jsdoc, jsonc, jsx, markdown, node, perfectionist, react, regexp, solid, sortPackageJson, stylistic, svelte, test, toml, typescript, unicorn, unocss, vue, yaml } from '../src'

const configs = await combine(
{
plugins: {
'': {
rules: JS.configs.all,
rules: Object.fromEntries(builtinRules.entries()),
},
},
},
Expand Down

0 comments on commit d9b10e1

Please sign in to comment.