eslint-config-decent 1.2.7 → 1.2.9
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 +17 -2
- package/dist/index.mjs +17 -2
- package/package.json +5 -6
- package/src/index.ts +17 -2
package/dist/index.cjs
CHANGED
|
@@ -657,8 +657,23 @@ function defaultConfig(options) {
|
|
|
657
657
|
ignores: ["**/dist/**", "**/node_modules/**"]
|
|
658
658
|
},
|
|
659
659
|
eslint__default.configs.recommended,
|
|
660
|
-
|
|
661
|
-
|
|
660
|
+
{
|
|
661
|
+
languageOptions: {
|
|
662
|
+
...tsEslint__default.configs.base.languageOptions
|
|
663
|
+
}
|
|
664
|
+
},
|
|
665
|
+
...tsEslint__default.configs.strictTypeChecked.map((config) => {
|
|
666
|
+
return {
|
|
667
|
+
...config,
|
|
668
|
+
files: ["**/*.ts", "**/*.tsx"]
|
|
669
|
+
};
|
|
670
|
+
}),
|
|
671
|
+
...tsEslint__default.configs.stylisticTypeChecked.map((config) => {
|
|
672
|
+
return {
|
|
673
|
+
...config,
|
|
674
|
+
files: ["**/*.ts", "**/*.tsx"]
|
|
675
|
+
};
|
|
676
|
+
}),
|
|
662
677
|
{
|
|
663
678
|
languageOptions,
|
|
664
679
|
settings: {
|
package/dist/index.mjs
CHANGED
|
@@ -639,8 +639,23 @@ function defaultConfig(options) {
|
|
|
639
639
|
ignores: ["**/dist/**", "**/node_modules/**"]
|
|
640
640
|
},
|
|
641
641
|
eslint.configs.recommended,
|
|
642
|
-
|
|
643
|
-
|
|
642
|
+
{
|
|
643
|
+
languageOptions: {
|
|
644
|
+
...tsEslint.configs.base.languageOptions
|
|
645
|
+
}
|
|
646
|
+
},
|
|
647
|
+
...tsEslint.configs.strictTypeChecked.map((config) => {
|
|
648
|
+
return {
|
|
649
|
+
...config,
|
|
650
|
+
files: ["**/*.ts", "**/*.tsx"]
|
|
651
|
+
};
|
|
652
|
+
}),
|
|
653
|
+
...tsEslint.configs.stylisticTypeChecked.map((config) => {
|
|
654
|
+
return {
|
|
655
|
+
...config,
|
|
656
|
+
files: ["**/*.ts", "**/*.tsx"]
|
|
657
|
+
};
|
|
658
|
+
}),
|
|
644
659
|
{
|
|
645
660
|
languageOptions,
|
|
646
661
|
settings: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eslint-config-decent",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.9",
|
|
4
4
|
"description": "A decent ESLint configuration",
|
|
5
5
|
"main": "./dist/index.cjs",
|
|
6
6
|
"module": "./dist/index.mjs",
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
"dependencies": {
|
|
75
75
|
"@eslint/js": "^9.6.0",
|
|
76
76
|
"eslint-config-prettier": "^9.1.0",
|
|
77
|
-
"eslint-plugin-jsdoc": "^48.5.
|
|
77
|
+
"eslint-plugin-jsdoc": "^48.5.2",
|
|
78
78
|
"eslint-plugin-mocha": "^10.4.3",
|
|
79
79
|
"eslint-plugin-prettier": "^5.1.3",
|
|
80
80
|
"eslint-plugin-promise": "^6.4.0",
|
|
@@ -84,11 +84,11 @@
|
|
|
84
84
|
"eslint-plugin-security": "^3.0.1",
|
|
85
85
|
"eslint-plugin-testing-library": "^6.2.2",
|
|
86
86
|
"eslint-plugin-unicorn": "^54.0.0",
|
|
87
|
-
"globals": "^15.
|
|
88
|
-
"typescript-eslint": "8.0.0-alpha.
|
|
87
|
+
"globals": "^15.8.0",
|
|
88
|
+
"typescript-eslint": "8.0.0-alpha.41"
|
|
89
89
|
},
|
|
90
90
|
"devDependencies": {
|
|
91
|
-
"@swc/core": "1.6.
|
|
91
|
+
"@swc/core": "1.6.13",
|
|
92
92
|
"@types/node": ">=20",
|
|
93
93
|
"eslint": "^9.6.0",
|
|
94
94
|
"husky": "^9.0.11",
|
|
@@ -97,7 +97,6 @@
|
|
|
97
97
|
"npm-run-all": "^4.1.5",
|
|
98
98
|
"pinst": "^3.0.0",
|
|
99
99
|
"prettier": "^3.3.2",
|
|
100
|
-
"rimraf": "^5.0.7",
|
|
101
100
|
"typescript": "^5.5.3",
|
|
102
101
|
"unbuild": "2.0.0"
|
|
103
102
|
},
|
package/src/index.ts
CHANGED
|
@@ -47,8 +47,23 @@ export function defaultConfig(options?: DefaultConfigOptions): ConfigWithExtends
|
|
|
47
47
|
ignores: ['**/dist/**', '**/node_modules/**'],
|
|
48
48
|
},
|
|
49
49
|
eslint.configs.recommended,
|
|
50
|
-
|
|
51
|
-
|
|
50
|
+
{
|
|
51
|
+
languageOptions: {
|
|
52
|
+
...tsEslint.configs.base.languageOptions,
|
|
53
|
+
},
|
|
54
|
+
},
|
|
55
|
+
...tsEslint.configs.strictTypeChecked.map((config) => {
|
|
56
|
+
return {
|
|
57
|
+
...config,
|
|
58
|
+
files: ['**/*.ts', '**/*.tsx'],
|
|
59
|
+
};
|
|
60
|
+
}),
|
|
61
|
+
...tsEslint.configs.stylisticTypeChecked.map((config) => {
|
|
62
|
+
return {
|
|
63
|
+
...config,
|
|
64
|
+
files: ['**/*.ts', '**/*.tsx'],
|
|
65
|
+
};
|
|
66
|
+
}),
|
|
52
67
|
{
|
|
53
68
|
languageOptions,
|
|
54
69
|
settings: {
|