@@ -120,7 +120,7 @@ describe("blockESLint", () => {
120
120
{ ignores: ["lib", "node_modules", "pnpm-lock.yaml"] },
121
121
{ linterOptions: {"reportUnusedDisableDirectives":"error"} },
122
122
eslint.configs.recommended,
123
- { extends: [tseslint.configs.strictTypeChecked, tseslint.configs.stylisticTypeChecked], files: ["**/*.{js,ts}"], languageOptions: {"parserOptions":{"projectService":{"allowDefaultProject":["*.config.*s"]},"tsconfigRootDir":import.meta.dirname }}, }
123
+ { extends: [tseslint.configs.strictTypeChecked, tseslint.configs.stylisticTypeChecked], files: ["**/*.{js,ts}"], languageOptions: {"parserOptions":{"projectService":{"allowDefaultProject":["*.config.*s"]}}}, }
124
124
);",
125
125
},
126
126
"scripts": [
@@ -274,7 +274,7 @@ describe("blockESLint", () => {
274
274
{ ignores: ["lib", "node_modules", "pnpm-lock.yaml"] },
275
275
{ linterOptions: {"reportUnusedDisableDirectives":"error"} },
276
276
eslint.configs.recommended,
277
- { extends: [tseslint.configs.strictTypeChecked, tseslint.configs.stylisticTypeChecked], files: ["**/*.{js,ts}"], languageOptions: {"parserOptions":{"projectService":{"allowDefaultProject":["*.config.*s"]},"tsconfigRootDir":import.meta.dirname }}, }
277
+ { extends: [tseslint.configs.strictTypeChecked, tseslint.configs.stylisticTypeChecked], files: ["**/*.{js,ts}"], languageOptions: {"parserOptions":{"projectService":{"allowDefaultProject":["*.config.*s"]}}}, }
278
278
);",
279
279
},
280
280
"scripts": [
@@ -431,7 +431,7 @@ describe("blockESLint", () => {
431
431
{ ignores: ["lib", "node_modules", "pnpm-lock.yaml"] },
432
432
{ linterOptions: {"reportUnusedDisableDirectives":"error"} },
433
433
eslint.configs.recommended,
434
- { extends: [tseslint.configs.strictTypeChecked, tseslint.configs.stylisticTypeChecked], files: ["**/*.{js,mjs,ts}"], languageOptions: {"parserOptions":{"projectService":{"allowDefaultProject":["*.config.*s"]},"tsconfigRootDir":import.meta.dirname }}, },{ files: ["*.mjs"], languageOptions: {"sourceType":"module"}, }
434
+ { extends: [tseslint.configs.strictTypeChecked, tseslint.configs.stylisticTypeChecked], files: ["**/*.{js,mjs,ts}"], languageOptions: {"parserOptions":{"projectService":{"allowDefaultProject":["*.config.*s"]}}}, },{ files: ["*.mjs"], languageOptions: {"sourceType":"module"}, }
435
435
);",
436
436
},
437
437
"scripts": [
@@ -610,7 +610,7 @@ describe("blockESLint", () => {
610
610
{ ignores: ["generated", "lib", "node_modules", "pnpm-lock.yaml"] },
611
611
{ linterOptions: {"reportUnusedDisableDirectives":"error"} },
612
612
eslint.configs.recommended,
613
- a.configs.recommended,{ extends: [b.configs.recommended], files: ["**/*.b"], rules: {"b/c":"error","b/d":["error",{"e":"f"}]}, },{ extends: [c.configs.recommended], rules: {"c/d":"error","c/e":["error",{"f":"g"}]}, },{ extends: [tseslint.configs.strictTypeChecked, tseslint.configs.stylisticTypeChecked], files: ["**/*.{js,ts}"], languageOptions: {"parserOptions":{"projectService":{"allowDefaultProject":["*.config.*s"]},"tsconfigRootDir":import.meta.dirname }}, rules: {"a/b": "error","a/c": ["error",{"d":"e"}],}, settings: {"react":{"version":"detect"}}, }
613
+ a.configs.recommended,{ extends: [b.configs.recommended], files: ["**/*.b"], rules: {"b/c":"error","b/d":["error",{"e":"f"}]}, },{ extends: [c.configs.recommended], rules: {"c/d":"error","c/e":["error",{"f":"g"}]}, },{ extends: [tseslint.configs.strictTypeChecked, tseslint.configs.stylisticTypeChecked], files: ["**/*.{js,ts}"], languageOptions: {"parserOptions":{"projectService":{"allowDefaultProject":["*.config.*s"]}}}, rules: {"a/b": "error","a/c": ["error",{"d":"e"}],}, settings: {"react":{"version":"detect"}}, }
614
614
);",
615
615
},
616
616
"scripts": [
@@ -746,7 +746,7 @@ describe("blockESLint", () => {
746
746
{ ignores: ["lib", "node_modules", "pnpm-lock.yaml"] },
747
747
{ linterOptions: {"reportUnusedDisableDirectives":"error"} },
748
748
eslint.configs.recommended,
749
- { extends: [tseslint.configs.strictTypeChecked, tseslint.configs.stylisticTypeChecked], files: ["**/*.{js,ts}"], languageOptions: {"parserOptions":{"projectService":{"allowDefaultProject":["*.config.*s"]},"tsconfigRootDir":import.meta.dirname }}, rules: {
749
+ { extends: [tseslint.configs.strictTypeChecked, tseslint.configs.stylisticTypeChecked], files: ["**/*.{js,ts}"], languageOptions: {"parserOptions":{"projectService":{"allowDefaultProject":["*.config.*s"]}}}, rules: {
750
750
751
751
// Duplicated comment
752
752
"a": "error","c": "error",
@@ -888,7 +888,7 @@ describe("blockESLint", () => {
888
888
{ ignores: ["lib", "node_modules", "pnpm-lock.yaml"] },
889
889
{ linterOptions: {"reportUnusedDisableDirectives":"error"} },
890
890
eslint.configs.recommended,
891
- { extends: [tseslint.configs.strictTypeChecked, tseslint.configs.stylisticTypeChecked], files: ["**/*.{js,ts}"], languageOptions: {"parserOptions":{"projectService":{"allowDefaultProject":["*.config.*s"]},"tsconfigRootDir":import.meta.dirname }}, rules: {
891
+ { extends: [tseslint.configs.strictTypeChecked, tseslint.configs.stylisticTypeChecked], files: ["**/*.{js,ts}"], languageOptions: {"parserOptions":{"projectService":{"allowDefaultProject":["*.config.*s"]}}}, rules: {
892
892
893
893
// One line
894
894
"a": "error",
@@ -1026,7 +1026,7 @@ describe("blockESLint", () => {
1026
1026
{ ignores: ["lib", "node_modules", "pnpm-lock.yaml"] },
1027
1027
{ linterOptions: {"reportUnusedDisableDirectives":"error"} },
1028
1028
eslint.configs.recommended,
1029
- { extends: [tseslint.configs.strictTypeChecked, tseslint.configs.stylisticTypeChecked], files: ["**/*.{js,ts}"], languageOptions: {"parserOptions":{"projectService":{"allowDefaultProject":["*.config.*s","bin/index.js"]},"tsconfigRootDir":import.meta.dirname }}, }
1029
+ { extends: [tseslint.configs.strictTypeChecked, tseslint.configs.stylisticTypeChecked], files: ["**/*.{js,ts}"], languageOptions: {"parserOptions":{"projectService":{"allowDefaultProject":["*.config.*s","bin/index.js"]}}}, }
1030
1030
);",
1031
1031
},
1032
1032
"scripts": [
@@ -1152,7 +1152,7 @@ describe("blockESLint", () => {
1152
1152
{ ignores: ["lib", "node_modules", "pnpm-lock.yaml"] },
1153
1153
{ linterOptions: {"reportUnusedDisableDirectives":"error"} },
1154
1154
eslint.configs.recommended,
1155
- { extends: [tseslint.configs.strictTypeChecked, tseslint.configs.stylisticTypeChecked], files: ["**/*.{js,ts}"], languageOptions: {"parserOptions":{"projectService":{"allowDefaultProject":["*.config.*s","bin/index.js"]},"tsconfigRootDir":import.meta.dirname }}, }
1155
+ { extends: [tseslint.configs.strictTypeChecked, tseslint.configs.stylisticTypeChecked], files: ["**/*.{js,ts}"], languageOptions: {"parserOptions":{"projectService":{"allowDefaultProject":["*.config.*s","bin/index.js"]}}}, }
1156
1156
);",
1157
1157
},
1158
1158
"scripts": [
@@ -1275,7 +1275,7 @@ describe("blockESLint", () => {
1275
1275
{ ignores: ["lib", "node_modules", "pnpm-lock.yaml"] },
1276
1276
{ linterOptions: {"reportUnusedDisableDirectives":"error"} },
1277
1277
eslint.configs.recommended,
1278
- { extends: [tseslint.configs.strictTypeChecked, tseslint.configs.stylisticTypeChecked], files: ["**/*.{js,mjs,ts}"], languageOptions: {"parserOptions":{"projectService":{"allowDefaultProject":["*.config.*s"]},"tsconfigRootDir":import.meta.dirname }}, },{ files: ["*.mjs"], languageOptions: {"sourceType":"module"}, }
1278
+ { extends: [tseslint.configs.strictTypeChecked, tseslint.configs.stylisticTypeChecked], files: ["**/*.{js,mjs,ts}"], languageOptions: {"parserOptions":{"projectService":{"allowDefaultProject":["*.config.*s"]}}}, },{ files: ["*.mjs"], languageOptions: {"sourceType":"module"}, }
1279
1279
);",
1280
1280
},
1281
1281
"scripts": [
@@ -1398,7 +1398,7 @@ describe("blockESLint", () => {
1398
1398
{ ignores: ["lib", "node_modules", "pnpm-lock.yaml"] },
1399
1399
{ linterOptions: {"reportUnusedDisableDirectives":"error"} },
1400
1400
eslint.configs.recommended,
1401
- { extends: [tseslint.configs.strictTypeChecked, tseslint.configs.stylisticTypeChecked], files: ["**/*.{js,ts}"], languageOptions: {"parserOptions":{"projectService":{"allowDefaultProject":["*.config.*s"]},"tsconfigRootDir":import.meta.dirname }}, }
1401
+ { extends: [tseslint.configs.strictTypeChecked, tseslint.configs.stylisticTypeChecked], files: ["**/*.{js,ts}"], languageOptions: {"parserOptions":{"projectService":{"allowDefaultProject":["*.config.*s"]}}}, }
1402
1402
);",
1403
1403
},
1404
1404
"scripts": [
0 commit comments