File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -103,15 +103,15 @@ function parseForESLint(
103
103
options . ecmaFeatures = { } ;
104
104
}
105
105
106
- const parserOptions : TSESTreeOptions = { } ;
107
- Object . assign ( parserOptions , options , {
106
+ const parserOptions : TSESTreeOptions = {
107
+ ... options ,
108
108
jsx : validateBoolean ( options . ecmaFeatures . jsx ) ,
109
109
/**
110
110
* Override errorOnTypeScriptSyntacticAndSemanticIssues and set it to false to prevent use from user config
111
111
* https://github.com/typescript-eslint/typescript-eslint/issues/8681#issuecomment-2000411834
112
112
*/
113
113
errorOnTypeScriptSyntacticAndSemanticIssues : false ,
114
- } ) ;
114
+ } ;
115
115
const analyzeOptions : AnalyzeOptions = {
116
116
globalReturn : options . ecmaFeatures . globalReturn ,
117
117
jsxPragma : options . jsxPragma ,
Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ interface ParserOptions {
70
70
loc ?: boolean ;
71
71
programs ?: Program [ ] | null ;
72
72
project ?: string [ ] | string | boolean | null ;
73
- projectFolderIgnoreList ?: ( RegExp | string ) [ ] ;
73
+ projectFolderIgnoreList ?: string [ ] ;
74
74
range ?: boolean ;
75
75
sourceType ?: SourceType | undefined ;
76
76
tokens ?: boolean ;
You can’t perform that action at this time.
0 commit comments