@bfra.me/eslint-config 0.26.0 → 0.27.0

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/lib/index.d.ts CHANGED
@@ -3217,7 +3217,7 @@ interface Rules {
3217
3217
  */
3218
3218
  'pnpm/json-enforce-catalog'?: Linter.RuleEntry<PnpmJsonEnforceCatalog>
3219
3219
  /**
3220
- * Prefer having pnpm settings in `pnpm-workspace.yaml` instead of `package.json`. This would requires pnpm v10.6+, see https://github.com/orgs/pnpm/discussions/9037.
3220
+ * Prefer having pnpm settings in `pnpm-workspace.yaml` instead of `package.json`. This requires pnpm v10.6+, see https://github.com/orgs/pnpm/discussions/9037.
3221
3221
  * @see https://github.com/antfu/pnpm-workspace-utils/tree/main/packages/eslint-plugin-pnpm/src/rules/json/json-prefer-workspace-settings.test.ts
3222
3222
  */
3223
3223
  'pnpm/json-prefer-workspace-settings'?: Linter.RuleEntry<PnpmJsonPreferWorkspaceSettings>
@@ -3227,7 +3227,7 @@ interface Rules {
3227
3227
  */
3228
3228
  'pnpm/json-valid-catalog'?: Linter.RuleEntry<PnpmJsonValidCatalog>
3229
3229
  /**
3230
- * Disallow unused catalogs in `pnpm-workspace.yaml`
3230
+ * Disallow duplicate catalog items in `pnpm-workspace.yaml`
3231
3231
  * @see https://github.com/antfu/pnpm-workspace-utils/tree/main/packages/eslint-plugin-pnpm/src/rules/yaml/yaml-no-duplicate-catalog-item.test.ts
3232
3232
  */
3233
3233
  'pnpm/yaml-no-duplicate-catalog-item'?: Linter.RuleEntry<PnpmYamlNoDuplicateCatalogItem>
package/lib/index.js CHANGED
@@ -497,7 +497,7 @@ async function jsdoc() {
497
497
  import { fileURLToPath } from "url";
498
498
 
499
499
  // package.json
500
- var version = "0.26.0";
500
+ var version = "0.27.0";
501
501
 
502
502
  // src/parsers/any-parser.ts
503
503
  var lineBreakPattern = /\r\n|[\n\r\u2028\u2029]/u;
@@ -1160,29 +1160,6 @@ async function typescript(options = {}) {
1160
1160
  accessibility: "no-public"
1161
1161
  }
1162
1162
  ],
1163
- "@typescript-eslint/member-ordering": [
1164
- "error",
1165
- {
1166
- default: [
1167
- "signature",
1168
- "public-static-field",
1169
- "protected-static-field",
1170
- "private-static-field",
1171
- "public-instance-field",
1172
- "protected-instance-field",
1173
- "private-instance-field",
1174
- "public-constructor",
1175
- "protected-constructor",
1176
- "private-constructor",
1177
- "public-static-method",
1178
- "protected-static-method",
1179
- "private-static-method",
1180
- "public-instance-method",
1181
- "protected-instance-method",
1182
- "private-instance-method"
1183
- ]
1184
- }
1185
- ],
1186
1163
  "@typescript-eslint/method-signature-style": ["error", "property"],
1187
1164
  "@typescript-eslint/naming-convention": [
1188
1165
  "error",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bfra.me/eslint-config",
3
- "version": "0.26.0",
3
+ "version": "0.27.0",
4
4
  "description": "Shared ESLint configuration for bfra.me",
5
5
  "keywords": [
6
6
  "bfra.me",
@@ -52,32 +52,32 @@
52
52
  "eslint-plugin-regexp": "2.10.0",
53
53
  "eslint-plugin-toml": "0.12.0",
54
54
  "eslint-plugin-unicorn": "59.0.1",
55
- "eslint-plugin-unused-imports": "4.1.4",
55
+ "eslint-plugin-unused-imports": "4.2.0",
56
56
  "eslint-plugin-yml": "1.18.0",
57
57
  "globals": "16.3.0",
58
58
  "is-in-ci": "1.0.0",
59
59
  "local-pkg": "1.1.1",
60
60
  "package-directory": "8.1.0",
61
61
  "package-manager-detector": "1.3.0",
62
- "typescript-eslint": "8.39.0"
62
+ "typescript-eslint": "8.40.0"
63
63
  },
64
64
  "devDependencies": {
65
- "@eslint/config-inspector": "1.1.0",
65
+ "@eslint/config-inspector": "1.2.0",
66
66
  "@eslint/js": "9.33.0",
67
67
  "@types/eslint-config-prettier": "6.11.3",
68
- "@typescript-eslint/types": "8.39.0",
68
+ "@typescript-eslint/types": "8.40.0",
69
69
  "@vitest/eslint-plugin": "1.3.4",
70
70
  "eslint": "9.33.0",
71
71
  "eslint-config-prettier": "10.1.8",
72
72
  "eslint-plugin-node-dependencies": "1.1.2",
73
- "eslint-plugin-pnpm": "1.1.0",
73
+ "eslint-plugin-pnpm": "1.1.1",
74
74
  "eslint-plugin-prettier": "5.5.4",
75
75
  "eslint-typegen": "2.3.0",
76
76
  "tsup": "8.5.0",
77
- "tsx": "4.20.3",
78
- "@bfra.me/eslint-config": "0.26.0",
79
- "@bfra.me/tsconfig": "0.12.0",
80
- "@bfra.me/prettier-config": "0.16.1"
77
+ "tsx": "4.20.4",
78
+ "@bfra.me/eslint-config": "0.27.0",
79
+ "@bfra.me/prettier-config": "0.16.1",
80
+ "@bfra.me/tsconfig": "0.12.0"
81
81
  },
82
82
  "peerDependencies": {
83
83
  "@vitest/eslint-plugin": "^1.1.21",
@@ -159,29 +159,6 @@ export async function typescript(options: TypeScriptOptions = {}): Promise<Confi
159
159
  accessibility: 'no-public',
160
160
  },
161
161
  ],
162
- '@typescript-eslint/member-ordering': [
163
- 'error',
164
- {
165
- default: [
166
- 'signature',
167
- 'public-static-field',
168
- 'protected-static-field',
169
- 'private-static-field',
170
- 'public-instance-field',
171
- 'protected-instance-field',
172
- 'private-instance-field',
173
- 'public-constructor',
174
- 'protected-constructor',
175
- 'private-constructor',
176
- 'public-static-method',
177
- 'protected-static-method',
178
- 'private-static-method',
179
- 'public-instance-method',
180
- 'protected-instance-method',
181
- 'private-instance-method',
182
- ],
183
- },
184
- ],
185
162
  '@typescript-eslint/method-signature-style': ['error', 'property'],
186
163
  '@typescript-eslint/naming-convention': [
187
164
  'error',
package/src/rules.d.ts CHANGED
@@ -3210,7 +3210,7 @@ export interface Rules {
3210
3210
  */
3211
3211
  'pnpm/json-enforce-catalog'?: Linter.RuleEntry<PnpmJsonEnforceCatalog>
3212
3212
  /**
3213
- * Prefer having pnpm settings in `pnpm-workspace.yaml` instead of `package.json`. This would requires pnpm v10.6+, see https://github.com/orgs/pnpm/discussions/9037.
3213
+ * Prefer having pnpm settings in `pnpm-workspace.yaml` instead of `package.json`. This requires pnpm v10.6+, see https://github.com/orgs/pnpm/discussions/9037.
3214
3214
  * @see https://github.com/antfu/pnpm-workspace-utils/tree/main/packages/eslint-plugin-pnpm/src/rules/json/json-prefer-workspace-settings.test.ts
3215
3215
  */
3216
3216
  'pnpm/json-prefer-workspace-settings'?: Linter.RuleEntry<PnpmJsonPreferWorkspaceSettings>
@@ -3220,7 +3220,7 @@ export interface Rules {
3220
3220
  */
3221
3221
  'pnpm/json-valid-catalog'?: Linter.RuleEntry<PnpmJsonValidCatalog>
3222
3222
  /**
3223
- * Disallow unused catalogs in `pnpm-workspace.yaml`
3223
+ * Disallow duplicate catalog items in `pnpm-workspace.yaml`
3224
3224
  * @see https://github.com/antfu/pnpm-workspace-utils/tree/main/packages/eslint-plugin-pnpm/src/rules/yaml/yaml-no-duplicate-catalog-item.test.ts
3225
3225
  */
3226
3226
  'pnpm/yaml-no-duplicate-catalog-item'?: Linter.RuleEntry<PnpmYamlNoDuplicateCatalogItem>