@ethang/eslint-config 25.0.1 → 25.1.1

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/README.md CHANGED
@@ -30,9 +30,9 @@
30
30
  * 53 rules for **Astro**
31
31
  * `import astroConfig from "@ethang/eslint-config/config.astro.js";`
32
32
  * 53 rules from [eslint-plugin-astro](https://github.com/ota-meshi/eslint-plugin-astro)
33
- * 56 rules for **HTML**
33
+ * 57 rules for **HTML**
34
34
  * `import htmlConfig from "@ethang/eslint-config/config.html.js";`
35
- * 56 rules from [@html-eslint/eslint-plugin](https://github.com/html-eslint/html-eslint)
35
+ * 57 rules from [@html-eslint/eslint-plugin](https://github.com/html-eslint/html-eslint)
36
36
  * 92 rules for **React**
37
37
  * `import reactConfig from "@ethang/eslint-config/config.react.js";`
38
38
  * 63 rules from [@eslint-react/eslint-plugin](https://eslint-react.xyz/)
package/config.html.js CHANGED
@@ -1,2 +1,2 @@
1
- import{a as r,b as e}from"./chunk-6GP5IJXA.js";import{defineConfig as t,globalIgnores as o}from"eslint/config";import l from"@html-eslint/eslint-plugin";var h=t(o(r),{files:["**/*.html"],languageOptions:e,language:"html/html",plugins:{html:l},rules:{"html/attrs-newline":"off","html/class-spacing":"error","html/css-no-empty-blocks":"error","html/element-newline":"off","html/id-naming-convention":"error","html/indent":"off","html/lowercase":"error","html/max-element-depth":"error","html/no-abstract-roles":"error","html/no-accesskey-attrs":"error","html/no-aria-hidden-body":"error","html/no-aria-hidden-on-focusable":"error","html/no-duplicate-attrs":"error","html/no-duplicate-class":"error","html/no-duplicate-id":"error","html/no-duplicate-in-head":"error","html/no-empty-headings":"error","html/no-extra-spacing-attrs":"off","html/no-extra-spacing-text":"error","html/no-heading-inside-button":"error","html/no-ineffective-attrs":"error","html/no-inline-styles":"error","html/no-invalid-attr-value":"error","html/no-invalid-entity":"error","html/no-invalid-role":"error","html/no-multiple-empty-lines":"error","html/no-multiple-h1":"error","html/no-nested-interactive":"error","html/no-non-scalable-viewport":"error","html/no-obsolete-attrs":"error","html/no-obsolete-tags":"error","html/no-positive-tabindex":"error","html/no-redundant-role":"error","html/no-restricted-attr-values":"error","html/no-restricted-attrs":"error","html/no-restricted-tags":"error","html/no-script-style-type":"error","html/no-skip-heading-levels":"error","html/no-target-blank":"error","html/no-trailing-spaces":"error","html/no-whitespace-only-children":"error","html/prefer-https":"error","html/quotes":"error","html/require-attrs":"error","html/require-button-type":"error","html/require-closing-tags":"off","html/require-doctype":"error","html/require-explicit-size":"error","html/require-form-method":"error","html/require-frame-title":"error","html/require-img-alt":"error","html/require-input-label":"error","html/require-lang":"error","html/require-li-container":"error","html/require-meta-charset":"error","html/require-meta-description":"error","html/require-meta-viewport":"error","html/require-open-graph-protocol":"error","html/require-title":"error","html/sort-attrs":"error","html/use-baseline":"error","prettier/prettier":"off"}});export{h as default};
1
+ import{a as r,b as e}from"./chunk-6GP5IJXA.js";import{defineConfig as t,globalIgnores as o}from"eslint/config";import l from"@html-eslint/eslint-plugin";var h=t(o(r),{files:["**/*.html"],languageOptions:e,language:"html/html",plugins:{html:l},rules:{"html/attrs-newline":"off","html/class-spacing":"error","html/css-no-empty-blocks":"error","html/element-newline":"off","html/head-order":"error","html/id-naming-convention":"error","html/indent":"off","html/lowercase":"error","html/max-element-depth":"error","html/no-abstract-roles":"error","html/no-accesskey-attrs":"error","html/no-aria-hidden-body":"error","html/no-aria-hidden-on-focusable":"error","html/no-duplicate-attrs":"error","html/no-duplicate-class":"error","html/no-duplicate-id":"error","html/no-duplicate-in-head":"error","html/no-empty-headings":"error","html/no-extra-spacing-attrs":"off","html/no-extra-spacing-text":"error","html/no-heading-inside-button":"error","html/no-ineffective-attrs":"error","html/no-inline-styles":"error","html/no-invalid-attr-value":"error","html/no-invalid-entity":"error","html/no-invalid-role":"error","html/no-multiple-empty-lines":"error","html/no-multiple-h1":"error","html/no-nested-interactive":"error","html/no-non-scalable-viewport":"error","html/no-obsolete-attrs":"error","html/no-obsolete-tags":"error","html/no-positive-tabindex":"error","html/no-redundant-role":"error","html/no-restricted-attr-values":"error","html/no-restricted-attrs":"error","html/no-restricted-tags":"error","html/no-script-style-type":"error","html/no-skip-heading-levels":"error","html/no-target-blank":"error","html/no-trailing-spaces":"error","html/no-whitespace-only-children":"error","html/prefer-https":"error","html/quotes":"error","html/require-attrs":"error","html/require-button-type":"error","html/require-closing-tags":"off","html/require-doctype":"error","html/require-explicit-size":"error","html/require-form-method":"error","html/require-frame-title":"error","html/require-img-alt":"error","html/require-input-label":"error","html/require-lang":"error","html/require-li-container":"error","html/require-meta-charset":"error","html/require-meta-description":"error","html/require-meta-viewport":"error","html/require-open-graph-protocol":"error","html/require-title":"error","html/sort-attrs":"error","html/use-baseline":"error","prettier/prettier":"off"}});export{h as default};
2
2
  //# sourceMappingURL=config.html.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/config.html.js"],"sourcesContent":["// @ts-nocheck\nimport { defineConfig, globalIgnores } from \"eslint/config\";\nimport { ignores, languageOptions } from \"./constants.js\";\nimport html from \"@html-eslint/eslint-plugin\";\n\nexport default defineConfig(\n globalIgnores(ignores),\n{\n files: [\"**/*.html\"],\nlanguageOptions,language: \"html/html\",\n plugins: {\n \"html\": html,\n },\n rules: {\n \"html/attrs-newline\":\"off\",\"html/class-spacing\":\"error\",\"html/css-no-empty-blocks\":\"error\",\"html/element-newline\":\"off\",\"html/id-naming-convention\":\"error\",\"html/indent\":\"off\",\"html/lowercase\":\"error\",\"html/max-element-depth\":\"error\",\"html/no-abstract-roles\":\"error\",\"html/no-accesskey-attrs\":\"error\",\"html/no-aria-hidden-body\":\"error\",\"html/no-aria-hidden-on-focusable\":\"error\",\"html/no-duplicate-attrs\":\"error\",\"html/no-duplicate-class\":\"error\",\"html/no-duplicate-id\":\"error\",\"html/no-duplicate-in-head\":\"error\",\"html/no-empty-headings\":\"error\",\"html/no-extra-spacing-attrs\":\"off\",\"html/no-extra-spacing-text\":\"error\",\"html/no-heading-inside-button\":\"error\",\"html/no-ineffective-attrs\":\"error\",\"html/no-inline-styles\":\"error\",\"html/no-invalid-attr-value\":\"error\",\"html/no-invalid-entity\":\"error\",\"html/no-invalid-role\":\"error\",\"html/no-multiple-empty-lines\":\"error\",\"html/no-multiple-h1\":\"error\",\"html/no-nested-interactive\":\"error\",\"html/no-non-scalable-viewport\":\"error\",\"html/no-obsolete-attrs\":\"error\",\"html/no-obsolete-tags\":\"error\",\"html/no-positive-tabindex\":\"error\",\"html/no-redundant-role\":\"error\",\"html/no-restricted-attr-values\":\"error\",\"html/no-restricted-attrs\":\"error\",\"html/no-restricted-tags\":\"error\",\"html/no-script-style-type\":\"error\",\"html/no-skip-heading-levels\":\"error\",\"html/no-target-blank\":\"error\",\"html/no-trailing-spaces\":\"error\",\"html/no-whitespace-only-children\":\"error\",\"html/prefer-https\":\"error\",\"html/quotes\":\"error\",\"html/require-attrs\":\"error\",\"html/require-button-type\":\"error\",\"html/require-closing-tags\":\"off\",\"html/require-doctype\":\"error\",\"html/require-explicit-size\":\"error\",\"html/require-form-method\":\"error\",\"html/require-frame-title\":\"error\",\"html/require-img-alt\":\"error\",\"html/require-input-label\":\"error\",\"html/require-lang\":\"error\",\"html/require-li-container\":\"error\",\"html/require-meta-charset\":\"error\",\"html/require-meta-description\":\"error\",\"html/require-meta-viewport\":\"error\",\"html/require-open-graph-protocol\":\"error\",\"html/require-title\":\"error\",\"html/sort-attrs\":\"error\",\"html/use-baseline\":\"error\",\"prettier/prettier\":\"off\"\n },\n \n }\n );\n"],"mappings":"+CACA,OAAS,gBAAAA,EAAc,iBAAAC,MAAqB,gBAE5C,OAAOC,MAAU,6BAEjB,IAAOC,EAAQC,EACTC,EAAcC,CAAO,EAC3B,CACI,MAAO,CAAC,WAAW,EACvB,gBAAAC,EAAgB,SAAU,YACtB,QAAS,CACP,KAAQL,CACV,EACA,MAAO,CACL,qBAAqB,MAAM,qBAAqB,QAAQ,2BAA2B,QAAQ,uBAAuB,MAAM,4BAA4B,QAAQ,cAAc,MAAM,iBAAiB,QAAQ,yBAAyB,QAAQ,yBAAyB,QAAQ,0BAA0B,QAAQ,2BAA2B,QAAQ,mCAAmC,QAAQ,0BAA0B,QAAQ,0BAA0B,QAAQ,uBAAuB,QAAQ,4BAA4B,QAAQ,yBAAyB,QAAQ,8BAA8B,MAAM,6BAA6B,QAAQ,gCAAgC,QAAQ,4BAA4B,QAAQ,wBAAwB,QAAQ,6BAA6B,QAAQ,yBAAyB,QAAQ,uBAAuB,QAAQ,+BAA+B,QAAQ,sBAAsB,QAAQ,6BAA6B,QAAQ,gCAAgC,QAAQ,yBAAyB,QAAQ,wBAAwB,QAAQ,4BAA4B,QAAQ,yBAAyB,QAAQ,iCAAiC,QAAQ,2BAA2B,QAAQ,0BAA0B,QAAQ,4BAA4B,QAAQ,8BAA8B,QAAQ,uBAAuB,QAAQ,0BAA0B,QAAQ,mCAAmC,QAAQ,oBAAoB,QAAQ,cAAc,QAAQ,qBAAqB,QAAQ,2BAA2B,QAAQ,4BAA4B,MAAM,uBAAuB,QAAQ,6BAA6B,QAAQ,2BAA2B,QAAQ,2BAA2B,QAAQ,uBAAuB,QAAQ,2BAA2B,QAAQ,oBAAoB,QAAQ,4BAA4B,QAAQ,4BAA4B,QAAQ,gCAAgC,QAAQ,6BAA6B,QAAQ,mCAAmC,QAAQ,qBAAqB,QAAQ,kBAAkB,QAAQ,oBAAoB,QAAQ,oBAAoB,KAC9hE,CAEF,CACE","names":["defineConfig","globalIgnores","html","config_html_default","defineConfig","globalIgnores","ignores","languageOptions"]}
1
+ {"version":3,"sources":["../src/config.html.js"],"sourcesContent":["// @ts-nocheck\nimport { defineConfig, globalIgnores } from \"eslint/config\";\nimport { ignores, languageOptions } from \"./constants.js\";\nimport html from \"@html-eslint/eslint-plugin\";\n\nexport default defineConfig(\n globalIgnores(ignores),\n{\n files: [\"**/*.html\"],\nlanguageOptions,language: \"html/html\",\n plugins: {\n \"html\": html,\n },\n rules: {\n \"html/attrs-newline\":\"off\",\"html/class-spacing\":\"error\",\"html/css-no-empty-blocks\":\"error\",\"html/element-newline\":\"off\",\"html/head-order\":\"error\",\"html/id-naming-convention\":\"error\",\"html/indent\":\"off\",\"html/lowercase\":\"error\",\"html/max-element-depth\":\"error\",\"html/no-abstract-roles\":\"error\",\"html/no-accesskey-attrs\":\"error\",\"html/no-aria-hidden-body\":\"error\",\"html/no-aria-hidden-on-focusable\":\"error\",\"html/no-duplicate-attrs\":\"error\",\"html/no-duplicate-class\":\"error\",\"html/no-duplicate-id\":\"error\",\"html/no-duplicate-in-head\":\"error\",\"html/no-empty-headings\":\"error\",\"html/no-extra-spacing-attrs\":\"off\",\"html/no-extra-spacing-text\":\"error\",\"html/no-heading-inside-button\":\"error\",\"html/no-ineffective-attrs\":\"error\",\"html/no-inline-styles\":\"error\",\"html/no-invalid-attr-value\":\"error\",\"html/no-invalid-entity\":\"error\",\"html/no-invalid-role\":\"error\",\"html/no-multiple-empty-lines\":\"error\",\"html/no-multiple-h1\":\"error\",\"html/no-nested-interactive\":\"error\",\"html/no-non-scalable-viewport\":\"error\",\"html/no-obsolete-attrs\":\"error\",\"html/no-obsolete-tags\":\"error\",\"html/no-positive-tabindex\":\"error\",\"html/no-redundant-role\":\"error\",\"html/no-restricted-attr-values\":\"error\",\"html/no-restricted-attrs\":\"error\",\"html/no-restricted-tags\":\"error\",\"html/no-script-style-type\":\"error\",\"html/no-skip-heading-levels\":\"error\",\"html/no-target-blank\":\"error\",\"html/no-trailing-spaces\":\"error\",\"html/no-whitespace-only-children\":\"error\",\"html/prefer-https\":\"error\",\"html/quotes\":\"error\",\"html/require-attrs\":\"error\",\"html/require-button-type\":\"error\",\"html/require-closing-tags\":\"off\",\"html/require-doctype\":\"error\",\"html/require-explicit-size\":\"error\",\"html/require-form-method\":\"error\",\"html/require-frame-title\":\"error\",\"html/require-img-alt\":\"error\",\"html/require-input-label\":\"error\",\"html/require-lang\":\"error\",\"html/require-li-container\":\"error\",\"html/require-meta-charset\":\"error\",\"html/require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AQ,gCAAgC,QAAQ,6BAA6B,QAAQ,mCAAmC,QAAQ,qBAAqB,QAAQ,kBAAkB,QAAQ,oBAAoB,QAAQ,oBAAoB,KACxjE,CAEF,CACE","names":["defineConfig","globalIgnores","html","config_html_default","defineConfig","globalIgnores","ignores","languageOptions"]}
package/package.json CHANGED
@@ -8,19 +8,19 @@
8
8
  "@angular-eslint/eslint-plugin": "^21.2.0",
9
9
  "@angular-eslint/eslint-plugin-template": "^21.2.0",
10
10
  "@angular-eslint/template-parser": "^21.2.0",
11
- "@cspell/eslint-plugin": "^9.6.4",
11
+ "@cspell/eslint-plugin": "^9.7.0",
12
12
  "@eslint-react/eslint-plugin": "^2.13.0",
13
13
  "@eslint/compat": "^2.0.2",
14
14
  "@eslint/css": "0.14.1",
15
15
  "@eslint/js": "^10.0.1",
16
16
  "@eslint/json": "^1.0.1",
17
17
  "@eslint/markdown": "^7.5.1",
18
- "@html-eslint/eslint-plugin": "^0.56.0",
18
+ "@html-eslint/eslint-plugin": "^0.57.0",
19
19
  "@tanstack/eslint-plugin-query": "^5.91.4",
20
20
  "@tanstack/eslint-plugin-router": "^1.161.2",
21
- "@typescript-eslint/parser": "^8.56.0",
21
+ "@typescript-eslint/parser": "^8.56.1",
22
22
  "angular-eslint": "21.2.0",
23
- "eslint": "^10.0.1",
23
+ "eslint": "^10.0.2",
24
24
  "eslint-config-prettier": "^10.1.8",
25
25
  "eslint-plugin-astro": "^1.6.0",
26
26
  "eslint-plugin-compat": "^6.2.0",
@@ -31,24 +31,24 @@
31
31
  "eslint-plugin-react-hooks": "^7.0.1",
32
32
  "eslint-plugin-solid": "^0.14.5",
33
33
  "eslint-plugin-sonarjs": "4.0.0",
34
- "eslint-plugin-storybook": "^10.2.10",
34
+ "eslint-plugin-storybook": "^10.2.12",
35
35
  "eslint-plugin-tailwindcss": "^4.0.0-beta.0",
36
36
  "eslint-plugin-unicorn": "^63.0.0",
37
37
  "prettier": "^3.8.1",
38
- "typescript-eslint": "^8.56.0"
38
+ "typescript-eslint": "^8.56.1"
39
39
  },
40
40
  "devDependencies": {
41
41
  "@ethang/markdown-generator": "^1.1.5",
42
42
  "@ethang/toolbelt": "^4.4.11",
43
43
  "@types/eslint-plugin-jsx-a11y": "^6.10.1",
44
44
  "@types/eslint-plugin-tailwindcss": "^3.17.0",
45
- "@types/lodash": "^4.17.23",
45
+ "@types/lodash": "^4.17.24",
46
46
  "@types/node": "^25.3.0",
47
47
  "@vitest/coverage-v8": "^4.0.18",
48
48
  "baseline-browser-mapping": "^2.10.0",
49
49
  "browserslist-config-baseline": "^0.5.0",
50
50
  "lodash": "^4.17.23",
51
- "tailwindcss": "^4.2.0",
51
+ "tailwindcss": "^4.2.1",
52
52
  "typescript": "^5.9.3",
53
53
  "vitest": "^4.0.18",
54
54
  "zod": "^4.3.6"
@@ -69,5 +69,5 @@
69
69
  "test:watch": "vitest --coverage"
70
70
  },
71
71
  "type": "module",
72
- "version": "25.0.1"
72
+ "version": "25.1.1"
73
73
  }