@anolilab/eslint-config 28.1.2 → 28.1.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/CHANGELOG.md +9 -0
- package/dist/index.d.ts +39 -8
- package/package.json +18 -18
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,12 @@
|
|
|
1
|
+
## @anolilab/eslint-config [28.1.4](https://github.com/anolilab/javascript-style-guide/compare/%40anolilab%2Feslint-config%4028.1.3...%40anolilab%2Feslint-config%4028.1.4) (2026-08-11)
|
|
2
|
+
|
|
3
|
+
## @anolilab/eslint-config [28.1.3](https://github.com/anolilab/javascript-style-guide/compare/%40anolilab%2Feslint-config%4028.1.2...%40anolilab%2Feslint-config%4028.1.3) (2026-08-10)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Dependencies
|
|
7
|
+
|
|
8
|
+
* **@anolilab/prettier-config:** upgraded to 10.0.3
|
|
9
|
+
|
|
1
10
|
## @anolilab/eslint-config [28.1.2](https://github.com/anolilab/javascript-style-guide/compare/%40anolilab%2Feslint-config%4028.1.1...%40anolilab%2Feslint-config%4028.1.2) (2026-07-23)
|
|
2
11
|
|
|
3
12
|
## @anolilab/eslint-config [28.1.1](https://github.com/anolilab/javascript-style-guide/compare/%40anolilab%2Feslint-config%4028.1.0...%40anolilab%2Feslint-config%4028.1.1) (2026-07-23)
|
package/dist/index.d.ts
CHANGED
|
@@ -3252,6 +3252,11 @@ interface RuleOptions {
|
|
|
3252
3252
|
* @see https://github.com/mskelton/eslint-plugin-playwright/tree/main/docs/rules/no-standalone-expect.md
|
|
3253
3253
|
*/
|
|
3254
3254
|
'playwright/no-standalone-expect'?: Linter.RuleEntry<[]>;
|
|
3255
|
+
/**
|
|
3256
|
+
* Disallow assertions on a Locator that can never fail
|
|
3257
|
+
* @see https://github.com/mskelton/eslint-plugin-playwright/tree/main/docs/rules/no-unnecessary-assertions.md
|
|
3258
|
+
*/
|
|
3259
|
+
'playwright/no-unnecessary-assertions'?: Linter.RuleEntry<[]>;
|
|
3255
3260
|
/**
|
|
3256
3261
|
* Prevent unsafe variable references in page.evaluate() and page.addInitScript()
|
|
3257
3262
|
* @see https://github.com/mskelton/eslint-plugin-playwright/tree/main/docs/rules/no-unsafe-references.md
|
|
@@ -9351,6 +9356,11 @@ interface RuleOptions {
|
|
|
9351
9356
|
* @see https://ota-meshi.github.io/eslint-plugin-yml/rules/key-spacing.html
|
|
9352
9357
|
*/
|
|
9353
9358
|
'yaml/key-spacing'?: Linter.RuleEntry<YamlKeySpacing>;
|
|
9359
|
+
/**
|
|
9360
|
+
* disallow boolean mapping keys
|
|
9361
|
+
* @see https://ota-meshi.github.io/eslint-plugin-yml/rules/no-boolean-key.html
|
|
9362
|
+
*/
|
|
9363
|
+
'yaml/no-boolean-key'?: Linter.RuleEntry<[]>;
|
|
9354
9364
|
/**
|
|
9355
9365
|
* disallow empty document
|
|
9356
9366
|
* @see https://ota-meshi.github.io/eslint-plugin-yml/rules/no-empty-document.html
|
|
@@ -9660,6 +9670,11 @@ interface RuleOptions {
|
|
|
9660
9670
|
* @see https://github.com/marcalexiei/eslint-zod/blob/HEAD/plugins/eslint-plugin-zod/docs/rules/prefer-meta-last.md
|
|
9661
9671
|
*/
|
|
9662
9672
|
'zod/prefer-meta-last'?: Linter.RuleEntry<[]>;
|
|
9673
|
+
/**
|
|
9674
|
+
* Enforce `.nullish()` instead of combining `.optional()` and `.nullable()`
|
|
9675
|
+
* @see https://github.com/marcalexiei/eslint-zod/blob/HEAD/plugins/eslint-plugin-zod/docs/rules/prefer-nullish.md
|
|
9676
|
+
*/
|
|
9677
|
+
'zod/prefer-nullish'?: Linter.RuleEntry<[]>;
|
|
9663
9678
|
/**
|
|
9664
9679
|
* Prefer `z.strictObject()` over `z.object().strict()`
|
|
9665
9680
|
* @see https://github.com/marcalexiei/eslint-zod/blob/HEAD/plugins/eslint-plugin-zod/docs/rules/prefer-strict-object.md
|
|
@@ -13240,15 +13255,19 @@ type JsoncSortKeys = ([{
|
|
|
13240
13255
|
hasProperties?: string[];
|
|
13241
13256
|
order: ((string | {
|
|
13242
13257
|
keyPattern?: string;
|
|
13243
|
-
order?: {
|
|
13258
|
+
order?: ({
|
|
13244
13259
|
type?: ("asc" | "desc");
|
|
13245
13260
|
caseSensitive?: boolean;
|
|
13246
13261
|
natural?: boolean;
|
|
13247
|
-
}
|
|
13262
|
+
} | {
|
|
13263
|
+
type: "ignore";
|
|
13264
|
+
});
|
|
13248
13265
|
})[] | {
|
|
13249
13266
|
type?: ("asc" | "desc");
|
|
13250
13267
|
caseSensitive?: boolean;
|
|
13251
13268
|
natural?: boolean;
|
|
13269
|
+
} | {
|
|
13270
|
+
type: "ignore";
|
|
13252
13271
|
});
|
|
13253
13272
|
minKeys?: number;
|
|
13254
13273
|
allowLineSeparatedGroups?: boolean;
|
|
@@ -13257,15 +13276,19 @@ type JsoncSortKeys = ([{
|
|
|
13257
13276
|
hasProperties?: string[];
|
|
13258
13277
|
order: ((string | {
|
|
13259
13278
|
keyPattern?: string;
|
|
13260
|
-
order?: {
|
|
13279
|
+
order?: ({
|
|
13261
13280
|
type?: ("asc" | "desc");
|
|
13262
13281
|
caseSensitive?: boolean;
|
|
13263
13282
|
natural?: boolean;
|
|
13264
|
-
}
|
|
13283
|
+
} | {
|
|
13284
|
+
type: "ignore";
|
|
13285
|
+
});
|
|
13265
13286
|
})[] | {
|
|
13266
13287
|
type?: ("asc" | "desc");
|
|
13267
13288
|
caseSensitive?: boolean;
|
|
13268
13289
|
natural?: boolean;
|
|
13290
|
+
} | {
|
|
13291
|
+
type: "ignore";
|
|
13269
13292
|
});
|
|
13270
13293
|
minKeys?: number;
|
|
13271
13294
|
allowLineSeparatedGroups?: boolean;
|
|
@@ -18540,15 +18563,19 @@ type YamlSortKeys = ([{
|
|
|
18540
18563
|
hasProperties?: string[];
|
|
18541
18564
|
order: ((string | {
|
|
18542
18565
|
keyPattern?: string;
|
|
18543
|
-
order?: {
|
|
18566
|
+
order?: ({
|
|
18544
18567
|
type?: ("asc" | "desc");
|
|
18545
18568
|
caseSensitive?: boolean;
|
|
18546
18569
|
natural?: boolean;
|
|
18547
|
-
}
|
|
18570
|
+
} | {
|
|
18571
|
+
type: "ignore";
|
|
18572
|
+
});
|
|
18548
18573
|
})[] | {
|
|
18549
18574
|
type?: ("asc" | "desc");
|
|
18550
18575
|
caseSensitive?: boolean;
|
|
18551
18576
|
natural?: boolean;
|
|
18577
|
+
} | {
|
|
18578
|
+
type: "ignore";
|
|
18552
18579
|
});
|
|
18553
18580
|
minKeys?: number;
|
|
18554
18581
|
allowLineSeparatedGroups?: boolean;
|
|
@@ -18557,15 +18584,19 @@ type YamlSortKeys = ([{
|
|
|
18557
18584
|
hasProperties?: string[];
|
|
18558
18585
|
order: ((string | {
|
|
18559
18586
|
keyPattern?: string;
|
|
18560
|
-
order?: {
|
|
18587
|
+
order?: ({
|
|
18561
18588
|
type?: ("asc" | "desc");
|
|
18562
18589
|
caseSensitive?: boolean;
|
|
18563
18590
|
natural?: boolean;
|
|
18564
|
-
}
|
|
18591
|
+
} | {
|
|
18592
|
+
type: "ignore";
|
|
18593
|
+
});
|
|
18565
18594
|
})[] | {
|
|
18566
18595
|
type?: ("asc" | "desc");
|
|
18567
18596
|
caseSensitive?: boolean;
|
|
18568
18597
|
natural?: boolean;
|
|
18598
|
+
} | {
|
|
18599
|
+
type: "ignore";
|
|
18569
18600
|
});
|
|
18570
18601
|
minKeys?: number;
|
|
18571
18602
|
allowLineSeparatedGroups?: boolean;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@anolilab/eslint-config",
|
|
3
|
-
"version": "28.1.
|
|
3
|
+
"version": "28.1.4",
|
|
4
4
|
"description": "ESLint shareable config for the Anolilab JavaScript style guide.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"anolilab",
|
|
@@ -91,7 +91,7 @@
|
|
|
91
91
|
"dist"
|
|
92
92
|
],
|
|
93
93
|
"dependencies": {
|
|
94
|
-
"@e18e/eslint-plugin": "0.
|
|
94
|
+
"@e18e/eslint-plugin": "0.8.0",
|
|
95
95
|
"@eslint-community/eslint-plugin-eslint-comments": "4.7.2",
|
|
96
96
|
"@eslint/compat": "2.1.0",
|
|
97
97
|
"@eslint/js": "10.0.1",
|
|
@@ -100,12 +100,12 @@
|
|
|
100
100
|
"@html-eslint/parser": "0.64.0",
|
|
101
101
|
"@stylistic/eslint-plugin": "5.10.0",
|
|
102
102
|
"@stylistic/eslint-plugin-ts": "^4.4.1",
|
|
103
|
-
"@typescript-eslint/parser": "8.
|
|
104
|
-
"@typescript-eslint/types": "8.
|
|
103
|
+
"@typescript-eslint/parser": "8.66.0",
|
|
104
|
+
"@typescript-eslint/types": "8.66.0",
|
|
105
105
|
"@visulima/fs": "5.0.5",
|
|
106
106
|
"@visulima/package": "^5.0.5",
|
|
107
107
|
"@visulima/tsconfig": "^3.2.0",
|
|
108
|
-
"@vitest/eslint-plugin": "1.6.
|
|
108
|
+
"@vitest/eslint-plugin": "1.6.26",
|
|
109
109
|
"confusing-browser-globals": "^1.0.11",
|
|
110
110
|
"eslint-config-flat-gitignore": "2.3.0",
|
|
111
111
|
"eslint-config-prettier": "10.1.8",
|
|
@@ -119,45 +119,45 @@
|
|
|
119
119
|
"eslint-plugin-es-x": "10.0.0",
|
|
120
120
|
"eslint-plugin-html": "8.1.4",
|
|
121
121
|
"eslint-plugin-import-x": "4.17.1",
|
|
122
|
-
"eslint-plugin-jsdoc": "63.
|
|
123
|
-
"eslint-plugin-jsonc": "3.
|
|
122
|
+
"eslint-plugin-jsdoc": "63.3.3",
|
|
123
|
+
"eslint-plugin-jsonc": "3.4.1",
|
|
124
124
|
"eslint-plugin-n": "18.2.2",
|
|
125
125
|
"eslint-plugin-no-for-of-array": "^0.1.0",
|
|
126
126
|
"eslint-plugin-no-only-tests": "3.4.0",
|
|
127
127
|
"eslint-plugin-no-secrets": "2.3.3",
|
|
128
128
|
"eslint-plugin-no-unsanitized": "4.1.5",
|
|
129
129
|
"eslint-plugin-perfectionist": "5.10.0",
|
|
130
|
-
"eslint-plugin-pnpm": "1.
|
|
130
|
+
"eslint-plugin-pnpm": "1.7.0",
|
|
131
131
|
"eslint-plugin-promise": "7.3.0",
|
|
132
132
|
"eslint-plugin-regexp": "3.1.1",
|
|
133
133
|
"eslint-plugin-security": "4.0.1",
|
|
134
134
|
"eslint-plugin-simple-import-sort": "14.0.0",
|
|
135
135
|
"eslint-plugin-sonarjs": "4.2.0",
|
|
136
|
-
"eslint-plugin-toml": "1.
|
|
136
|
+
"eslint-plugin-toml": "1.5.0",
|
|
137
137
|
"eslint-plugin-unicorn": "72.0.0",
|
|
138
138
|
"eslint-plugin-unused-imports": "4.4.1",
|
|
139
|
-
"eslint-plugin-yml": "3.
|
|
140
|
-
"globals": "17.
|
|
141
|
-
"jsonc-eslint-parser": "3.
|
|
139
|
+
"eslint-plugin-yml": "3.8.1",
|
|
140
|
+
"globals": "17.9.0",
|
|
141
|
+
"jsonc-eslint-parser": "3.3.0",
|
|
142
142
|
"parse-gitignore": "^2.0.0",
|
|
143
143
|
"semver": "7.8.5",
|
|
144
144
|
"toml-eslint-parser": "1.0.3",
|
|
145
|
-
"typescript-eslint": "8.
|
|
145
|
+
"typescript-eslint": "8.66.0",
|
|
146
146
|
"yaml-eslint-parser": "2.1.0"
|
|
147
147
|
},
|
|
148
148
|
"peerDependencies": {
|
|
149
|
-
"@eslint-react/eslint-plugin": "5.
|
|
149
|
+
"@eslint-react/eslint-plugin": "5.18.3",
|
|
150
150
|
"@eslint/css": "1.4.0",
|
|
151
151
|
"@ospm/eslint-plugin-react-unhookify": "^1.0.2",
|
|
152
|
-
"@tanstack/eslint-plugin-query": "5.101.
|
|
152
|
+
"@tanstack/eslint-plugin-query": "5.101.4",
|
|
153
153
|
"@tanstack/eslint-plugin-router": "1.162.0",
|
|
154
154
|
"@unocss/eslint-plugin": "66.7.5",
|
|
155
155
|
"astro-eslint-parser": "3.0.0",
|
|
156
156
|
"eslint": ">=9.39.5",
|
|
157
|
-
"eslint-plugin-astro": "3.0
|
|
157
|
+
"eslint-plugin-astro": "3.1.0",
|
|
158
158
|
"eslint-plugin-format": ">=2.0.1",
|
|
159
159
|
"eslint-plugin-jsx-a11y": "^6.10.2",
|
|
160
|
-
"eslint-plugin-oxlint": "1.
|
|
160
|
+
"eslint-plugin-oxlint": "1.77.0",
|
|
161
161
|
"eslint-plugin-playwright": "^0.16.0 || ^0.18.0 || ^2.0.0",
|
|
162
162
|
"eslint-plugin-react": "^7.37.5",
|
|
163
163
|
"eslint-plugin-react-compiler": "^19.1.0-rc.2",
|
|
@@ -171,7 +171,7 @@
|
|
|
171
171
|
"eslint-plugin-tsdoc": "0.5.2",
|
|
172
172
|
"eslint-plugin-validate-jsx-nesting": "^0.1.1",
|
|
173
173
|
"eslint-plugin-you-dont-need-lodash-underscore": "^6.14.0",
|
|
174
|
-
"eslint-plugin-zod": "4.
|
|
174
|
+
"eslint-plugin-zod": "4.9.0",
|
|
175
175
|
"tailwind-csstree": "0.3.3"
|
|
176
176
|
},
|
|
177
177
|
"peerDependenciesMeta": {
|