@ethang/eslint-config 24.0.1 → 24.0.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/config.html.d.ts +4 -0
- package/config.html.js +2 -0
- package/config.html.js.map +1 -0
- package/package.json +1 -1
package/config.html.d.ts
ADDED
package/config.html.js
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{a as r,b as e}from"./chunk-WK3YS7OG.js";import{defineConfig as t}from"eslint/config";import o from"@html-eslint/eslint-plugin";var m=t({files:["**/*.html"],ignores:r,languageOptions:e,language:"html/html",plugins:{html:o},rules:{"html/attrs-newline":"off","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-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-tags":"error","html/no-positive-tabindex":"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"}});export{m as default};
|
|
2
|
+
//# sourceMappingURL=config.html.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/config.html.js"],"sourcesContent":["// @ts-nocheck\nimport { defineConfig } from \"eslint/config\";\nimport { ignores, languageOptions } from \"./constants.js\";\nimport html from \"@html-eslint/eslint-plugin\";\n\nexport default defineConfig(\n {\n files: [\"**/*.html\"],\nignores,\nlanguageOptions,language: \"html/html\",\n plugins: {\n \"html\": html,\n },\n rules: {\n \"html/attrs-newline\":\"off\",\"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-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-tags\":\"error\",\"html/no-positive-tabindex\":\"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\"\n },\n \n },\n \n \n );\n"],"mappings":"+CACA,OAAS,gBAAAA,MAAoB,gBAE7B,OAAOC,MAAU,6BAEjB,IAAOC,EAAQC,EACT,CACF,MAAO,CAAC,WAAW,EACvB,QAAAC,EACA,gBAAAC,EAAgB,SAAU,YACtB,QAAS,CACP,KAAQJ,CACV,EACA,MAAO,CACL,qBAAqB,MAAM,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,yBAAyB,QAAQ,uBAAuB,QAAQ,+BAA+B,QAAQ,sBAAsB,QAAQ,6BAA6B,QAAQ,gCAAgC,QAAQ,wBAAwB,QAAQ,4BAA4B,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,OAC31D,CAEF,CAGE","names":["defineConfig","html","config_html_default","defineConfig","ignores","languageOptions"]}
|
package/package.json
CHANGED
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
"url": "git+https://github.com/eglove/ethang-monorepo.git#master"
|
|
60
60
|
},
|
|
61
61
|
"type": "module",
|
|
62
|
-
"version": "24.0.
|
|
62
|
+
"version": "24.0.3",
|
|
63
63
|
"scripts": {
|
|
64
64
|
"build": "bun build.ts && pnpm lint",
|
|
65
65
|
"lint": "eslint . --fix --concurrency=auto && prettier src --write"
|