eslint-config-decent 1.2.1 → 1.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +1 -2
- package/dist/index.mjs +1 -2
- package/package.json +2 -2
- package/src/index.ts +1 -2
package/dist/index.cjs
CHANGED
|
@@ -645,9 +645,8 @@ function defaultConfig(options) {
|
|
|
645
645
|
...globals__default.node
|
|
646
646
|
},
|
|
647
647
|
parserOptions: {
|
|
648
|
-
// @ts-expect-error - This is a valid option
|
|
649
648
|
projectService: {
|
|
650
|
-
|
|
649
|
+
allowDefaultProject: ["./*.{js,cjs,mjs}"],
|
|
651
650
|
defaultProject: "tsconfig.json"
|
|
652
651
|
},
|
|
653
652
|
tsconfigRootDir: undefined,
|
package/dist/index.mjs
CHANGED
|
@@ -627,9 +627,8 @@ function defaultConfig(options) {
|
|
|
627
627
|
...globals.node
|
|
628
628
|
},
|
|
629
629
|
parserOptions: {
|
|
630
|
-
// @ts-expect-error - This is a valid option
|
|
631
630
|
projectService: {
|
|
632
|
-
|
|
631
|
+
allowDefaultProject: ["./*.{js,cjs,mjs}"],
|
|
633
632
|
defaultProject: "tsconfig.json"
|
|
634
633
|
},
|
|
635
634
|
tsconfigRootDir: import.meta.dirname,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eslint-config-decent",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.2",
|
|
4
4
|
"description": "A decent ESLint configuration",
|
|
5
5
|
"main": "./dist/index.cjs",
|
|
6
6
|
"module": "./dist/index.mjs",
|
|
@@ -85,7 +85,7 @@
|
|
|
85
85
|
"eslint-plugin-testing-library": "^6.2.2",
|
|
86
86
|
"eslint-plugin-unicorn": "^54.0.0",
|
|
87
87
|
"globals": "^15.7.0",
|
|
88
|
-
"typescript-eslint": "8.0.0-alpha.
|
|
88
|
+
"typescript-eslint": "8.0.0-alpha.39"
|
|
89
89
|
},
|
|
90
90
|
"devDependencies": {
|
|
91
91
|
"@swc/core": "1.6.6",
|
package/src/index.ts
CHANGED
|
@@ -34,9 +34,8 @@ export function defaultConfig(options?: DefaultConfigOptions): ConfigWithExtends
|
|
|
34
34
|
...globals.node,
|
|
35
35
|
},
|
|
36
36
|
parserOptions: {
|
|
37
|
-
// @ts-expect-error - This is a valid option
|
|
38
37
|
projectService: {
|
|
39
|
-
|
|
38
|
+
allowDefaultProject: ['./*.{js,cjs,mjs}'],
|
|
40
39
|
defaultProject: 'tsconfig.json',
|
|
41
40
|
},
|
|
42
41
|
tsconfigRootDir: import.meta.dirname,
|