@sxzz/eslint-config 7.0.4 → 7.0.5

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.ts CHANGED
@@ -3228,27 +3228,27 @@ interface Rules {
3228
3228
  "perfectionist/sort-variable-declarations"?: Linter.RuleEntry<PerfectionistSortVariableDeclarations>;
3229
3229
  /**
3230
3230
  * Enforce using "catalog:" in `package.json`
3231
- * @see https://github.com/antfu/eslint-plugin-pnpm/blob/main/src/rules/json-enforce-catalog.test.ts
3231
+ * @see https://github.com/antfu/pnpm-workspace-utils/tree/main/packages/eslint-plugin-pnpm/src/rules/json/json-enforce-catalog.test.ts
3232
3232
  */
3233
3233
  "pnpm/json-enforce-catalog"?: Linter.RuleEntry<PnpmJsonEnforceCatalog>;
3234
3234
  /**
3235
3235
  * 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.
3236
- * @see https://github.com/antfu/eslint-plugin-pnpm/blob/main/src/rules/json-prefer-workspace-settings.test.ts
3236
+ * @see https://github.com/antfu/pnpm-workspace-utils/tree/main/packages/eslint-plugin-pnpm/src/rules/json/json-prefer-workspace-settings.test.ts
3237
3237
  */
3238
3238
  "pnpm/json-prefer-workspace-settings"?: Linter.RuleEntry<PnpmJsonPreferWorkspaceSettings>;
3239
3239
  /**
3240
3240
  * Enforce using valid catalog in `package.json`
3241
- * @see https://github.com/antfu/eslint-plugin-pnpm/blob/main/src/rules/json-valid-catalog.test.ts
3241
+ * @see https://github.com/antfu/pnpm-workspace-utils/tree/main/packages/eslint-plugin-pnpm/src/rules/json/json-valid-catalog.test.ts
3242
3242
  */
3243
3243
  "pnpm/json-valid-catalog"?: Linter.RuleEntry<PnpmJsonValidCatalog>;
3244
3244
  /**
3245
3245
  * Disallow unused catalogs in `pnpm-workspace.yaml`
3246
- * @see https://github.com/antfu/eslint-plugin-pnpm/blob/main/src/rules/yaml-no-duplicate-catalog-item.test.ts
3246
+ * @see https://github.com/antfu/pnpm-workspace-utils/tree/main/packages/eslint-plugin-pnpm/src/rules/yaml/yaml-no-duplicate-catalog-item.test.ts
3247
3247
  */
3248
3248
  "pnpm/yaml-no-duplicate-catalog-item"?: Linter.RuleEntry<PnpmYamlNoDuplicateCatalogItem>;
3249
3249
  /**
3250
3250
  * Disallow unused catalogs in `pnpm-workspace.yaml`
3251
- * @see https://github.com/antfu/eslint-plugin-pnpm/blob/main/src/rules/yaml-no-unused-catalog-item.test.ts
3251
+ * @see https://github.com/antfu/pnpm-workspace-utils/tree/main/packages/eslint-plugin-pnpm/src/rules/yaml/yaml-no-unused-catalog-item.test.ts
3252
3252
  */
3253
3253
  "pnpm/yaml-no-unused-catalog-item"?: Linter.RuleEntry<[]>;
3254
3254
  /**
package/dist/index.js CHANGED
@@ -886,6 +886,7 @@ const vue = () => [
886
886
  "vue/no-constant-condition": "warn",
887
887
  "vue/no-empty-pattern": "error",
888
888
  "vue/no-loss-of-precision": "error",
889
+ "vue/no-ref-as-operand": "off",
889
890
  "vue/no-unused-refs": "error",
890
891
  "vue/no-useless-v-bind": "error",
891
892
  "vue/no-v-html": "off",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sxzz/eslint-config",
3
- "version": "7.0.4",
3
+ "version": "7.0.5",
4
4
  "description": "ESLint config for @sxzz.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -51,7 +51,7 @@
51
51
  "eslint-plugin-jsonc": "^2.20.1",
52
52
  "eslint-plugin-n": "^17.20.0",
53
53
  "eslint-plugin-perfectionist": "^4.15.0",
54
- "eslint-plugin-pnpm": "^0.3.1",
54
+ "eslint-plugin-pnpm": "^1.0.0",
55
55
  "eslint-plugin-prettier": "^5.5.0",
56
56
  "eslint-plugin-regexp": "^2.9.0",
57
57
  "eslint-plugin-sxzz": "^0.3.0",