@@ -58,7 +58,10 @@ const config: Linter.Config = {
58
58
ecmaFeatures : {
59
59
jsx : true ,
60
60
} ,
61
- warnOnUnsupportedTypeScriptVersion : anolilabEslintConfig ?. [ "warn_on_unsupported_typescript_version" ] ?? env [ "DISABLE_ESLINT_WARN_UNSUPPORTED_TYPESCRIPT_VERSION" ] !== "true" ,
61
+ warnOnUnsupportedTypeScriptVersion :
62
+ typeof anolilabEslintConfig ?. [ "warn_on_unsupported_typescript_version" ] !== "undefined"
63
+ ? anolilabEslintConfig ?. [ "warn_on_unsupported_typescript_version" ]
64
+ : env [ "DISABLE_ESLINT_WARN_UNSUPPORTED_TYPESCRIPT_VERSION" ] !== "true" ,
62
65
} ,
63
66
settings : {
64
67
// Apply special parsing for TypeScript files
@@ -119,7 +122,6 @@ const config: Linter.Config = {
119
122
// The TypeScript version also adds 3 new options, all of which should be set to the same value as the base config
120
123
"comma-dangle" : "off" ,
121
124
"@typescript-eslint/comma-dangle" : [
122
-
123
125
commaDangle [ 0 ] ,
124
126
{
125
127
...commaDangle [ 1 ] ,
@@ -260,7 +262,6 @@ const config: Linter.Config = {
260
262
// Append 'ts' and 'tsx' to 'import/extensions' rule
261
263
// https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/extensions.md
262
264
"import/extensions" : [
263
-
264
265
importExtensions [ 0 ] ,
265
266
importExtensions [ 1 ] ,
266
267
{
@@ -273,7 +274,6 @@ const config: Linter.Config = {
273
274
// Append 'ts' and 'tsx' extensions to 'import/no-extraneous-dependencies' rule
274
275
// https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/no-extraneous-dependencies.md
275
276
"import/no-extraneous-dependencies" : [
276
-
277
277
importNoExtraneousDependencies [ 0 ] ,
278
278
{
279
279
...importNoExtraneousDependencies [ 1 ] ,
0 commit comments