@daopk/eslint-config 0.5.2 → 0.5.3

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 CHANGED
@@ -1,4 +1,4 @@
1
- import { n as Options, t as LinterConfig } from "./types-BBjqzb35.mjs";
1
+ import { n as Options, t as LinterConfig } from "./types-CT32pGP-.mjs";
2
2
  import { Linter } from "eslint";
3
3
 
4
4
  //#region src/index.d.ts
package/dist/index.mjs CHANGED
@@ -1,3 +1,3 @@
1
- import { t as daopk } from "./src-BEal04_4.mjs";
1
+ import { t as daopk } from "./src-clcGUe6i.mjs";
2
2
 
3
3
  export { daopk as default };
@@ -1,4 +1,4 @@
1
- import { n as Options, t as LinterConfig } from "../types-BBjqzb35.mjs";
1
+ import { n as Options, t as LinterConfig } from "../types-CT32pGP-.mjs";
2
2
 
3
3
  //#region src/presets/nestjs.d.ts
4
4
  declare function presetNestjs(options?: Options, ...userConfigs: LinterConfig[]): Promise<LinterConfig[]>;
@@ -1,4 +1,4 @@
1
- import { t as daopk } from "../src-BEal04_4.mjs";
1
+ import { t as daopk } from "../src-clcGUe6i.mjs";
2
2
 
3
3
  //#region src/presets/nestjs.ts
4
4
  async function presetNestjs(options = {}, ...userConfigs) {
@@ -205,7 +205,7 @@ async function daopk(options = {}, ...userConfigs) {
205
205
  node(),
206
206
  perfectionist()
207
207
  ];
208
- if (enableVue) configs.push(...await interopDefault((await import("./vue-A9YP-IN_.mjs")).vue()));
208
+ if (enableVue) configs.push(...await interopDefault((await import("./vue-Cha6BN6i.mjs")).vue()));
209
209
  if (options.rules) configs.push({
210
210
  name: "daopk/rules",
211
211
  rules: { ...options.rules }
@@ -3044,6 +3044,11 @@ interface RuleOptions {
3044
3044
  * @see https://typescript-eslint.io/rules/no-unused-expressions
3045
3045
  */
3046
3046
  'typescript/no-unused-expressions'?: Linter.RuleEntry<TypescriptNoUnusedExpressions>;
3047
+ /**
3048
+ * Disallow unused private class members
3049
+ * @see https://typescript-eslint.io/rules/no-unused-private-class-members
3050
+ */
3051
+ 'typescript/no-unused-private-class-members'?: Linter.RuleEntry<[]>;
3047
3052
  /**
3048
3053
  * Disallow unused variables
3049
3054
  * @see https://typescript-eslint.io/rules/no-unused-vars
@@ -3748,6 +3753,11 @@ interface RuleOptions {
3748
3753
  * @see https://eslint.vuejs.org/rules/no-duplicate-attributes.html
3749
3754
  */
3750
3755
  'vue/no-duplicate-attributes'?: Linter.RuleEntry<VueNoDuplicateAttributes>;
3756
+ /**
3757
+ * disallow duplication of class names in class attributes
3758
+ * @see https://eslint.vuejs.org/rules/no-duplicate-class-names.html
3759
+ */
3760
+ 'vue/no-duplicate-class-names'?: Linter.RuleEntry<[]>;
3751
3761
  /**
3752
3762
  * disallow the `<template>` `<script>` `<style>` block to be empty
3753
3763
  * @see https://eslint.vuejs.org/rules/no-empty-component-block.html
@@ -12,6 +12,10 @@ function vue() {
12
12
  sourceType: "module",
13
13
  globals: globals.browser,
14
14
  parserOptions: { parser: tsParser }
15
+ },
16
+ rules: {
17
+ "vue/max-attributes-per-line": "off",
18
+ "vue/multi-word-component-names": "off"
15
19
  }
16
20
  }];
17
21
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@daopk/eslint-config",
3
3
  "type": "module",
4
- "version": "0.5.2",
4
+ "version": "0.5.3",
5
5
  "license": "ISC",
6
6
  "repository": "github:daopk/eslint-config",
7
7
  "exports": {
@@ -16,38 +16,44 @@
16
16
  "files": [
17
17
  "dist"
18
18
  ],
19
+ "scripts": {
20
+ "dev": "eslint-config-inspector",
21
+ "typegen": "tsx scripts/typegen.ts",
22
+ "build": "pnpm typegen && tsdown",
23
+ "build:inspector": "pnpm build && eslint-config-inspector build",
24
+ "lint": "eslint .",
25
+ "prepack": "pnpm build",
26
+ "release": "bumpp && pnpm publish"
27
+ },
19
28
  "dependencies": {
20
- "@stylistic/eslint-plugin": "^5.5.0",
21
- "@typescript-eslint/eslint-plugin": "^8.46.4",
22
- "@typescript-eslint/parser": "^8.46.4",
29
+ "@stylistic/eslint-plugin": "^5.6.1",
30
+ "@typescript-eslint/eslint-plugin": "^8.49.0",
31
+ "@typescript-eslint/parser": "^8.49.0",
23
32
  "eslint-config-flat-gitignore": "^2.1.0",
24
33
  "eslint-plugin-antfu": "^3.1.1",
25
34
  "eslint-plugin-import-x": "^4.16.1",
26
35
  "eslint-plugin-n": "^17.23.1",
27
36
  "eslint-plugin-perfectionist": "^4.15.1",
28
37
  "eslint-plugin-unused-imports": "^4.3.0",
29
- "eslint-plugin-vue": "^10.5.1",
38
+ "eslint-plugin-vue": "^10.6.2",
30
39
  "globals": "^16.5.0",
31
40
  "local-pkg": "^1.1.2",
32
41
  "vue-eslint-parser": "^10.2.0"
33
42
  },
34
43
  "devDependencies": {
35
- "@eslint/config-inspector": "^1.3.0",
36
- "@types/node": "^24.10.1",
37
- "bumpp": "^10.3.1",
44
+ "@eslint/config-inspector": "^1.4.2",
45
+ "@types/node": "^24.10.3",
46
+ "bumpp": "^10.3.2",
38
47
  "eslint": "^9.39.1",
39
48
  "eslint-typegen": "^2.3.0",
40
49
  "jiti": "^2.6.1",
41
- "tsdown": "^0.16.3",
42
- "tsx": "^4.20.6",
50
+ "tsdown": "^0.17.3",
51
+ "tsx": "^4.21.0",
43
52
  "typescript": "^5.9.3"
44
53
  },
45
- "scripts": {
46
- "dev": "eslint-config-inspector",
47
- "typegen": "tsx scripts/typegen.ts",
48
- "build": "pnpm typegen && tsdown",
49
- "build:inspector": "pnpm build && eslint-config-inspector build",
50
- "lint": "eslint .",
51
- "release": "bumpp && pnpm publish"
54
+ "pnpm": {
55
+ "onlyBuiltDependencies": [
56
+ "esbuild"
57
+ ]
52
58
  }
53
- }
59
+ }