+2
-3
lines changedFilter options
+2
-3
lines changed Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
1
1
import process from 'node:process'
2
2
import type { FlatESLintConfigItem } from 'eslint-define-config'
3
-
import { GLOB_TS, GLOB_TSX } from '../globs'
3
+
import { GLOB_SRC } from '../globs'
4
4
import { parserTs, pluginAntfu, pluginImport, pluginTs } from '../plugins'
5
5
import { OFF } from '../flags'
6
6
import type { OptionsComponentExts, OptionsOverrides, OptionsTypeScriptParserOptions, OptionsTypeScriptWithTypes } from '../types'
@@ -49,8 +49,7 @@ export function typescript(
49
49
},
50
50
{
51
51
files: [
52
-
GLOB_TS,
53
-
GLOB_TSX,
52
+
GLOB_SRC,
54
53
...componentExts.map(ext => `**/*.${ext}`),
55
54
],
56
55
languageOptions: {
You can’t perform that action at this time.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4