Skip to content

Commit a128d95

Browse files
authored
fix: check for correct type-aware config format (#86)
1 parent 3454296 commit a128d95

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export default function createConfig({
1717
}: ConfigOptions = {}): ConfigArray {
1818
const mayHaveJsxInSfc = supportedScriptLangs.jsx || supportedScriptLangs.tsx
1919
const needsTypeAwareLinting = configNamesToExtend.some(name =>
20-
name.endsWith('-type-checked'),
20+
name.includes('TypeChecked') && name !== 'disableTypeChecked',
2121
)
2222

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

0 commit comments

Comments
 (0)