Skip to content

Commit

Permalink
fix: type rule config error
Browse files Browse the repository at this point in the history
  • Loading branch information
MengLinMaker committed Nov 1, 2024
1 parent 5f0b196 commit 604560e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
export type { RuntimeName } from 'runtime-compat-data'
import type { Linter } from 'eslint'
import type { RuntimeName } from 'runtime-compat-data'
import pkg from '../package.json'
import { supportedRuntimes } from './constants'
Expand All @@ -20,7 +19,7 @@ const defaultRuleConfig: RuleConfig = {
const runtimeCompatPlugin = (
filterRuntimes: RuntimeName[],
ruleConfig: RuleConfig = defaultRuleConfig,
): Linter.FlatConfig => ({
) => ({
plugins: {
'runtime-compat': {
meta: {
Expand Down

0 comments on commit 604560e

Please sign in to comment.