Skip to content

Commit

Permalink
fix: check for correct type-aware config format (#86)
Browse files Browse the repository at this point in the history
  • Loading branch information
50Wliu authored Oct 10, 2024
1 parent 3454296 commit a128d95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export default function createConfig({
}: ConfigOptions = {}): ConfigArray {
const mayHaveJsxInSfc = supportedScriptLangs.jsx || supportedScriptLangs.tsx
const needsTypeAwareLinting = configNamesToExtend.some(name =>
name.endsWith('-type-checked'),
name.includes('TypeChecked') && name !== 'disableTypeChecked',
)

// Type-aware linting is in conflict with JSX syntax in `.vue` files
Expand Down

0 comments on commit a128d95

Please sign in to comment.