@moso/eslint-config 3.0.3 → 3.0.4
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.d.mts +396 -336
- package/dist/index.mjs +11 -11
- package/package.json +9 -9
package/dist/index.mjs
CHANGED
|
@@ -687,7 +687,7 @@ const ignores = async (options) => {
|
|
|
687
687
|
var package_default = {
|
|
688
688
|
name: "@moso/eslint-config",
|
|
689
689
|
type: "module",
|
|
690
|
-
version: "3.0.
|
|
690
|
+
version: "3.0.4",
|
|
691
691
|
description: "@moso's sharable ESLint config",
|
|
692
692
|
author: {
|
|
693
693
|
"name": "Morten Sørensen",
|
|
@@ -742,11 +742,11 @@ var package_default = {
|
|
|
742
742
|
},
|
|
743
743
|
workspaces: ["src/rules"],
|
|
744
744
|
peerDependencies: {
|
|
745
|
-
"@eslint-react/eslint-plugin": "^5.
|
|
745
|
+
"@eslint-react/eslint-plugin": "^5.17.1",
|
|
746
746
|
"@next/eslint-plugin-next": "^16.2.10",
|
|
747
747
|
"astro-eslint-parser": "^3.0.0",
|
|
748
748
|
"eslint": "^10.0.0",
|
|
749
|
-
"eslint-plugin-astro": "^3.0.
|
|
749
|
+
"eslint-plugin-astro": "^3.0.1",
|
|
750
750
|
"eslint-plugin-erasable-syntax-only": "^0.4.2",
|
|
751
751
|
"eslint-plugin-jsx-a11y": "^6.10.2",
|
|
752
752
|
"eslint-plugin-react-hooks": "^7.1.1",
|
|
@@ -787,7 +787,7 @@ var package_default = {
|
|
|
787
787
|
"eslint-plugin-de-morgan": "^2.1.3",
|
|
788
788
|
"eslint-plugin-functional": "^10.0.0",
|
|
789
789
|
"eslint-plugin-import-lite": "^0.6.0",
|
|
790
|
-
"eslint-plugin-jsdoc": "^63.0.
|
|
790
|
+
"eslint-plugin-jsdoc": "^63.0.14",
|
|
791
791
|
"eslint-plugin-jsonc": "^3.3.0",
|
|
792
792
|
"eslint-plugin-n": "^18.2.2",
|
|
793
793
|
"eslint-plugin-no-only-tests": "^3.4.0",
|
|
@@ -795,7 +795,7 @@ var package_default = {
|
|
|
795
795
|
"eslint-plugin-promise": "^7.3.0",
|
|
796
796
|
"eslint-plugin-regexp": "^3.1.1",
|
|
797
797
|
"eslint-plugin-toml": "^1.4.0",
|
|
798
|
-
"eslint-plugin-unicorn": "^
|
|
798
|
+
"eslint-plugin-unicorn": "^72.0.0",
|
|
799
799
|
"eslint-plugin-unused-imports": "^4.4.1",
|
|
800
800
|
"eslint-plugin-yml": "^3.6.0",
|
|
801
801
|
"eslint-processor-vue-blocks": "^2.0.0",
|
|
@@ -807,7 +807,7 @@ var package_default = {
|
|
|
807
807
|
"yaml-eslint-parser": "^2.1.0"
|
|
808
808
|
},
|
|
809
809
|
devDependencies: {
|
|
810
|
-
"@eslint-react/eslint-plugin": "^5.
|
|
810
|
+
"@eslint-react/eslint-plugin": "^5.17.1",
|
|
811
811
|
"@eslint/compat": "^2.1.0",
|
|
812
812
|
"@eslint/config-inspector": "^3.1.0",
|
|
813
813
|
"@moso/eslint-plugin": "workspace:*",
|
|
@@ -818,7 +818,7 @@ var package_default = {
|
|
|
818
818
|
"astro-eslint-parser": "^3.0.0",
|
|
819
819
|
"bumpp": "^11.1.0",
|
|
820
820
|
"eslint": "^10.7.0",
|
|
821
|
-
"eslint-plugin-astro": "^3.0.
|
|
821
|
+
"eslint-plugin-astro": "^3.0.1",
|
|
822
822
|
"eslint-plugin-erasable-syntax-only": "^0.4.2",
|
|
823
823
|
"eslint-plugin-jsx-a11y": "^6.10.2",
|
|
824
824
|
"eslint-plugin-react-hooks": "^7.1.1",
|
|
@@ -831,7 +831,7 @@ var package_default = {
|
|
|
831
831
|
"nano-staged": "^1.0.2",
|
|
832
832
|
"simple-git-hooks": "^2.13.1",
|
|
833
833
|
"ts-dedent": "^2.3.0",
|
|
834
|
-
"tsdown": "^0.22.
|
|
834
|
+
"tsdown": "^0.22.9",
|
|
835
835
|
"tsx": "^4.23.1",
|
|
836
836
|
"typescript": "^6.0.3",
|
|
837
837
|
"vitest": "^4.1.10"
|
|
@@ -2612,8 +2612,7 @@ const promise = async (options = {}) => {
|
|
|
2612
2612
|
"finally"
|
|
2613
2613
|
]
|
|
2614
2614
|
}],
|
|
2615
|
-
"promise/no-native": "off"
|
|
2616
|
-
"promise/prefer-catch": "error"
|
|
2615
|
+
"promise/no-native": "off"
|
|
2617
2616
|
},
|
|
2618
2617
|
...overrides
|
|
2619
2618
|
}
|
|
@@ -4016,6 +4015,7 @@ const unicorn = async (options) => {
|
|
|
4016
4015
|
"unicorn/no-nonstandard-builtin-properties": "off",
|
|
4017
4016
|
"unicorn/no-null": "off",
|
|
4018
4017
|
"unicorn/no-process-exit": "off",
|
|
4018
|
+
"unicorn/no-shorthand-property-overrides": "off",
|
|
4019
4019
|
"unicorn/no-unnecessary-array-flat-map": "off",
|
|
4020
4020
|
"unicorn/no-unsafe-string-replacement": "off",
|
|
4021
4021
|
"unicorn/no-useless-boolean-cast": "off",
|
|
@@ -4472,7 +4472,7 @@ async function moso(options, ...userConfigs) {
|
|
|
4472
4472
|
parserOptions: {
|
|
4473
4473
|
tsconfigRootDir: projectRootOptions,
|
|
4474
4474
|
...parserOptions,
|
|
4475
|
-
projectService:
|
|
4475
|
+
projectService: projectRootOptions === void 0 || parserOptions?.projectService === false ? false : useDefaultDefaultProject === false ? projectServiceUserConfig : {
|
|
4476
4476
|
allowDefaultProject: [
|
|
4477
4477
|
withRoot(GLOB_ROOT_DTS),
|
|
4478
4478
|
withRoot(GLOB_ROOT_JS),
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@moso/eslint-config",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "3.0.
|
|
4
|
+
"version": "3.0.4",
|
|
5
5
|
"description": "@moso's sharable ESLint config",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "Morten Sørensen",
|
|
@@ -62,11 +62,11 @@
|
|
|
62
62
|
"src/rules"
|
|
63
63
|
],
|
|
64
64
|
"peerDependencies": {
|
|
65
|
-
"@eslint-react/eslint-plugin": "^5.
|
|
65
|
+
"@eslint-react/eslint-plugin": "^5.17.1",
|
|
66
66
|
"@next/eslint-plugin-next": "^16.2.10",
|
|
67
67
|
"astro-eslint-parser": "^3.0.0",
|
|
68
68
|
"eslint": "^10.0.0",
|
|
69
|
-
"eslint-plugin-astro": "^3.0.
|
|
69
|
+
"eslint-plugin-astro": "^3.0.1",
|
|
70
70
|
"eslint-plugin-erasable-syntax-only": "^0.4.2",
|
|
71
71
|
"eslint-plugin-jsx-a11y": "^6.10.2",
|
|
72
72
|
"eslint-plugin-react-hooks": "^7.1.1",
|
|
@@ -131,7 +131,7 @@
|
|
|
131
131
|
"eslint-plugin-de-morgan": "^2.1.3",
|
|
132
132
|
"eslint-plugin-functional": "^10.0.0",
|
|
133
133
|
"eslint-plugin-import-lite": "^0.6.0",
|
|
134
|
-
"eslint-plugin-jsdoc": "^63.0.
|
|
134
|
+
"eslint-plugin-jsdoc": "^63.0.14",
|
|
135
135
|
"eslint-plugin-jsonc": "^3.3.0",
|
|
136
136
|
"eslint-plugin-n": "^18.2.2",
|
|
137
137
|
"eslint-plugin-no-only-tests": "^3.4.0",
|
|
@@ -139,7 +139,7 @@
|
|
|
139
139
|
"eslint-plugin-promise": "^7.3.0",
|
|
140
140
|
"eslint-plugin-regexp": "^3.1.1",
|
|
141
141
|
"eslint-plugin-toml": "^1.4.0",
|
|
142
|
-
"eslint-plugin-unicorn": "^
|
|
142
|
+
"eslint-plugin-unicorn": "^72.0.0",
|
|
143
143
|
"eslint-plugin-unused-imports": "^4.4.1",
|
|
144
144
|
"eslint-plugin-yml": "^3.6.0",
|
|
145
145
|
"eslint-processor-vue-blocks": "^2.0.0",
|
|
@@ -151,10 +151,10 @@
|
|
|
151
151
|
"yaml-eslint-parser": "^2.1.0"
|
|
152
152
|
},
|
|
153
153
|
"devDependencies": {
|
|
154
|
-
"@eslint-react/eslint-plugin": "^5.
|
|
154
|
+
"@eslint-react/eslint-plugin": "^5.17.1",
|
|
155
155
|
"@eslint/compat": "^2.1.0",
|
|
156
156
|
"@eslint/config-inspector": "^3.1.0",
|
|
157
|
-
"@moso/eslint-plugin": "3.0.
|
|
157
|
+
"@moso/eslint-plugin": "3.0.3",
|
|
158
158
|
"@next/eslint-plugin-next": "^16.2.10",
|
|
159
159
|
"@types/eslint-plugin-jsx-a11y": "^6.10.1",
|
|
160
160
|
"@types/node": "^26.1.1",
|
|
@@ -162,7 +162,7 @@
|
|
|
162
162
|
"astro-eslint-parser": "^3.0.0",
|
|
163
163
|
"bumpp": "^11.1.0",
|
|
164
164
|
"eslint": "^10.7.0",
|
|
165
|
-
"eslint-plugin-astro": "^3.0.
|
|
165
|
+
"eslint-plugin-astro": "^3.0.1",
|
|
166
166
|
"eslint-plugin-erasable-syntax-only": "^0.4.2",
|
|
167
167
|
"eslint-plugin-jsx-a11y": "^6.10.2",
|
|
168
168
|
"eslint-plugin-react-hooks": "^7.1.1",
|
|
@@ -175,7 +175,7 @@
|
|
|
175
175
|
"nano-staged": "^1.0.2",
|
|
176
176
|
"simple-git-hooks": "^2.13.1",
|
|
177
177
|
"ts-dedent": "^2.3.0",
|
|
178
|
-
"tsdown": "^0.22.
|
|
178
|
+
"tsdown": "^0.22.9",
|
|
179
179
|
"tsx": "^4.23.1",
|
|
180
180
|
"typescript": "^6.0.3",
|
|
181
181
|
"vitest": "^4.1.10"
|