*.configs['flat/base'] - Settings and rules to enable correct ESLint parsing
*.configs['flat/base-with-ejs'] - Settings and rules to enable correct ESLint parsing for EJS
*.configs['flat/best-practices'] - Above, plus rules to improve dev experience
*.configs['flat/recommended'] - Above, plus rules to improve code readability
*.configs['flat/recommended-with-html'] - Above, plus rules to improve code readability with HTML template
*.configs['flat/recommended-with-script'] - *.configs['flat/recommended'] config, plus to enable ESLint parsing of JavaScript templates (This is an experimental feature)
*.configs['flat/all'] - All rules of this plugin are included
plugin:lodash-template/base - Settings and rules to enable correct ESLint parsing
plugin:lodash-template/best-practices - Above, plus rules to improve dev experience
plugin:lodash-template/recommended - Above, plus rules to improve code readability
plugin:lodash-template/recommended-with-html - Above, plus rules to improve code readability with HTML template
plugin:lodash-template/recommended-with-script - plugin:lodash-template/recommended config, plus to enable ESLint parsing of JavaScript templates (This is an experimental feature)
plugin:lodash-template/all - All rules of this plugin are included
(This is an experimental feature. Also check for known limitations.)
For example if you have a file like below.
`,57)),i("div",d,[s[11]||(s[11]=i("button",{title:"Copy Code",class:"copy"},null,-1)),s[12]||(s[12]=i("span",{class:"lang"},"js",-1)),i("pre",g,[i("code",null,[s[9]||(s[9]=t(`/* eslint no-multi-spaces: error */
+<% /* eslint lodash-template/no-multi-spaces-in-scriptlet: error */ %>
+
+// if this plugin is not used, a parsing error will occur.
+`,8)),i("span",c,[s[4]||(s[4]=i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"const",-1)),s[5]||(s[5]=i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," obj",-1)),n(l,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:e(({})=>s[0]||(s[0]=[i("span",{class:"twoslash-popup-container vp-copy-ignore"},[i("div",{class:"twoslash-popup-error vp-doc"},[i("p",null,"Multiple spaces found before '='. (no-multi-spaces)")])],-1)])),default:e(()=>[s[1]||(s[1]=i("span",null,[i("span",null,[i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}}," ")])],-1))]),_:1}),s[6]||(s[6]=t('= <%= JSON.stringify(options',6)),n(l,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:e(({})=>s[2]||(s[2]=[i("span",{class:"twoslash-popup-container vp-copy-ignore"},[i("div",{class:"twoslash-popup-error vp-doc"},[i("p",null,[a("Multiple spaces found before "),i("code",null,")"),a(". ("),i("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/no-multi-spaces-in-scriptlet.html"},"lodash-template/no-multi-spaces-in-scriptlet"),a(")")])])],-1)])),default:e(()=>[s[3]||(s[3]=i("span",null,[i("span",null,[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," ")])],-1))]),_:1}),s[7]||(s[7]=i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},") ",-1)),s[8]||(s[8]=i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"%>",-1))]),s[10]||(s[10]=t('\n// ^^^^ ^^^^^ \n// | |\n// | If you don't use `"plugin:lodash-template/recommended-with-script"`,\n// | only the space after `options` is reported.\n// |\n// + When using `"plugin:lodash-template/recommended-with-script"`, the space after `obj` is also reported.',12))])])]),s[39]||(s[39]=t(`
Interpolation in the script template will try to replace it with an identifier and parse it. If you generate a complex script in interpolation, you may get a parsing error.
If you use branching in your template, the plugin will generate multiple script ASTs needed to cover all branches. (Then merge the results of validating these ASTs.) This can confuse some rules and cause false positives.
However, this is necessary to avoid script parsing errors.
e.g.
Template:
js
const a = 'foo'
+<% if (x) { %>
+ const b = 1;
+<% } else { %>
+ const b = 2;
+<% } %>
Generated Script 1:
js
+const a = 'foo'
+
+ const b = 1;
Generated Script 2:
js
+const a = 'foo'
+
+
+
+ const b = 2;
If we use the following script, it is a parsing error.
js
+const a = 'foo'
+
+ const b = 1;
+
+ const b = 2; // <- Identifier 'b' has already been declared
The plugin also tries to generate scripts using branches that are as consistent as possible.
e.g.
Template:
js
<% if (x.foo) { %>
+ const a = 'x.foo is true'
+<% } %>
+// ...
+<% if (x.foo) { %>
+ console.log(a)
+<% } else { %>
+ // process for x.foo is false
+<% } %>
Generated Script 1:
js
+ const a = 'x.foo is true'
+
+// ...
+
+ console.log(a)
Generated Script 2:
js
+
+
+// ...
+
+
+
+ // process for x.foo is false
However, branching conditions are compared using text, so even logically the same can be confusing.
e.g.
Template:
js
<% if (x['foo']) { %>
+ const a = 'x.foo is true'
+<% } %>
+// ...
+<% if (x.foo) { %>
+ console.log(a)
+<% } else { %>
+ // process for x.foo is false
+<% } %>
Generated Script 1:
js
+ const a = 'x.foo is true'
+
+// ...
+
+ console.log(a)
Generated Script 2:
js
+ const a = 'x.foo is true'
+
+// ...
+
+
+
+ // process for x.foo is false
This template gets an error 'a' is assigned a value but never used. from the no-unused-vars rule.
*.configs['flat/base'] - Settings and rules to enable correct ESLint parsing
*.configs['flat/base-with-ejs'] - Settings and rules to enable correct ESLint parsing for EJS
*.configs['flat/best-practices'] - Above, plus rules to improve dev experience
*.configs['flat/recommended'] - Above, plus rules to improve code readability
*.configs['flat/recommended-with-html'] - Above, plus rules to improve code readability with HTML template
*.configs['flat/recommended-with-script'] - *.configs['flat/recommended'] config, plus to enable ESLint parsing of JavaScript templates (This is an experimental feature)
*.configs['flat/all'] - All rules of this plugin are included
plugin:lodash-template/base - Settings and rules to enable correct ESLint parsing
plugin:lodash-template/best-practices - Above, plus rules to improve dev experience
plugin:lodash-template/recommended - Above, plus rules to improve code readability
plugin:lodash-template/recommended-with-html - Above, plus rules to improve code readability with HTML template
plugin:lodash-template/recommended-with-script - plugin:lodash-template/recommended config, plus to enable ESLint parsing of JavaScript templates (This is an experimental feature)
plugin:lodash-template/all - All rules of this plugin are included
(This is an experimental feature. Also check for known limitations.)
For example if you have a file like below.
`,57)),i("div",d,[s[11]||(s[11]=i("button",{title:"Copy Code",class:"copy"},null,-1)),s[12]||(s[12]=i("span",{class:"lang"},"js",-1)),i("pre",g,[i("code",null,[s[9]||(s[9]=t(`/* eslint no-multi-spaces: error */
+<% /* eslint lodash-template/no-multi-spaces-in-scriptlet: error */ %>
+
+// if this plugin is not used, a parsing error will occur.
+`,8)),i("span",c,[s[4]||(s[4]=i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"const",-1)),s[5]||(s[5]=i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," obj",-1)),n(l,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:e(({})=>s[0]||(s[0]=[i("span",{class:"twoslash-popup-container vp-copy-ignore"},[i("div",{class:"twoslash-popup-error vp-doc"},[i("p",null,"Multiple spaces found before '='. (no-multi-spaces)")])],-1)])),default:e(()=>[s[1]||(s[1]=i("span",null,[i("span",null,[i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}}," ")])],-1))]),_:1}),s[6]||(s[6]=t('= <%= JSON.stringify(options',6)),n(l,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:e(({})=>s[2]||(s[2]=[i("span",{class:"twoslash-popup-container vp-copy-ignore"},[i("div",{class:"twoslash-popup-error vp-doc"},[i("p",null,[a("Multiple spaces found before "),i("code",null,")"),a(". ("),i("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/no-multi-spaces-in-scriptlet.html"},"lodash-template/no-multi-spaces-in-scriptlet"),a(")")])])],-1)])),default:e(()=>[s[3]||(s[3]=i("span",null,[i("span",null,[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," ")])],-1))]),_:1}),s[7]||(s[7]=i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},") ",-1)),s[8]||(s[8]=i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"%>",-1))]),s[10]||(s[10]=t('\n// ^^^^ ^^^^^ \n// | |\n// | If you don't use `"plugin:lodash-template/recommended-with-script"`,\n// | only the space after `options` is reported.\n// |\n// + When using `"plugin:lodash-template/recommended-with-script"`, the space after `obj` is also reported.',12))])])]),s[39]||(s[39]=t(`
Interpolation in the script template will try to replace it with an identifier and parse it. If you generate a complex script in interpolation, you may get a parsing error.
If you use branching in your template, the plugin will generate multiple script ASTs needed to cover all branches. (Then merge the results of validating these ASTs.) This can confuse some rules and cause false positives.
However, this is necessary to avoid script parsing errors.
e.g.
Template:
js
const a = 'foo'
+<% if (x) { %>
+ const b = 1;
+<% } else { %>
+ const b = 2;
+<% } %>
Generated Script 1:
js
+const a = 'foo'
+
+ const b = 1;
Generated Script 2:
js
+const a = 'foo'
+
+
+
+ const b = 2;
If we use the following script, it is a parsing error.
js
+const a = 'foo'
+
+ const b = 1;
+
+ const b = 2; // <- Identifier 'b' has already been declared
The plugin also tries to generate scripts using branches that are as consistent as possible.
e.g.
Template:
js
<% if (x.foo) { %>
+ const a = 'x.foo is true'
+<% } %>
+// ...
+<% if (x.foo) { %>
+ console.log(a)
+<% } else { %>
+ // process for x.foo is false
+<% } %>
Generated Script 1:
js
+ const a = 'x.foo is true'
+
+// ...
+
+ console.log(a)
Generated Script 2:
js
+
+
+// ...
+
+
+
+ // process for x.foo is false
However, branching conditions are compared using text, so even logically the same can be confusing.
e.g.
Template:
js
<% if (x['foo']) { %>
+ const a = 'x.foo is true'
+<% } %>
+// ...
+<% if (x.foo) { %>
+ console.log(a)
+<% } else { %>
+ // process for x.foo is false
+<% } %>
Generated Script 1:
js
+ const a = 'x.foo is true'
+
+// ...
+
+ console.log(a)
Generated Script 2:
js
+ const a = 'x.foo is true'
+
+// ...
+
+
+
+ // process for x.foo is false
This template gets an error 'a' is assigned a value but never used. from the no-unused-vars rule.
`,37)]))}const u=a(n,[["render",l]]);export{k as __pageData,u as default};
diff --git a/assets/migration_0.13to0.14.md.B9QGaIEH.lean.js b/assets/migration_0.13to0.14.md.B9QGaIEH.lean.js
new file mode 100644
index 00000000..5d99cad7
--- /dev/null
+++ b/assets/migration_0.13to0.14.md.B9QGaIEH.lean.js
@@ -0,0 +1,31 @@
+import{_ as a,c as e,a9 as i,o as t}from"./chunks/framework.D6W_pQcY.js";const k=JSON.parse('{"title":"0.13.x to 0.14.x","description":"","frontmatter":{},"headers":[],"relativePath":"migration/0.13to0.14.md","filePath":"migration/0.13to0.14.md","lastUpdated":1733171881000}'),n={name:"migration/0.13to0.14.md"};function l(o,s,p,r,h,d){return t(),e("div",null,s[0]||(s[0]=[i(`
`,37)]))}const u=a(n,[["render",l]]);export{k as __pageData,u as default};
diff --git a/assets/rules_attribute-name-casing.md.C-BHfieH.js b/assets/rules_attribute-name-casing.md.C-BHfieH.js
new file mode 100644
index 00000000..8a96bfdd
--- /dev/null
+++ b/assets/rules_attribute-name-casing.md.C-BHfieH.js
@@ -0,0 +1,16 @@
+import{_ as o,c as r,a9 as e,j as s,G as n,w as a,a as t,B as h,o as p}from"./chunks/framework.D6W_pQcY.js";const F=JSON.parse('{"title":"lodash-template/attribute-name-casing","description":"enforce HTML attribute name casing. (ex. :ok: `
` :ng: `
` `
`)","frontmatter":{"pageClass":"rule-details","sidebarDepth":0,"title":"lodash-template/attribute-name-casing","description":"enforce HTML attribute name casing. (ex. :ok: `
`,10))])}const C=o(k,[["render",E]]);export{F as __pageData,C as default};
diff --git a/assets/rules_attribute-name-casing.md.C-BHfieH.lean.js b/assets/rules_attribute-name-casing.md.C-BHfieH.lean.js
new file mode 100644
index 00000000..8a96bfdd
--- /dev/null
+++ b/assets/rules_attribute-name-casing.md.C-BHfieH.lean.js
@@ -0,0 +1,16 @@
+import{_ as o,c as r,a9 as e,j as s,G as n,w as a,a as t,B as h,o as p}from"./chunks/framework.D6W_pQcY.js";const F=JSON.parse('{"title":"lodash-template/attribute-name-casing","description":"enforce HTML attribute name casing. (ex. :ok: `
` :ng: `
` `
`)","frontmatter":{"pageClass":"rule-details","sidebarDepth":0,"title":"lodash-template/attribute-name-casing","description":"enforce HTML attribute name casing. (ex. :ok: `
`,10))])}const C=o(k,[["render",E]]);export{F as __pageData,C as default};
diff --git a/assets/rules_attribute-value-quote.md.U2s_C0SQ.js b/assets/rules_attribute-value-quote.md.U2s_C0SQ.js
new file mode 100644
index 00000000..768dfdb1
--- /dev/null
+++ b/assets/rules_attribute-value-quote.md.U2s_C0SQ.js
@@ -0,0 +1,19 @@
+import{_ as n,c as p,a9 as e,j as i,G as o,w as l,a as t,B as h,o as r}from"./chunks/framework.D6W_pQcY.js";const T=JSON.parse('{"title":"lodash-template/attribute-value-quote","description":"enforce quotes style of HTML attributes. (ex. :ok: `
` :ng: `
` `
`)","frontmatter":{"pageClass":"rule-details","sidebarDepth":0,"title":"lodash-template/attribute-value-quote","description":"enforce quotes style of HTML attributes. (ex. :ok: `
',4)),i("div",y,[s[34]||(s[34]=i("button",{title:"Copy Code",class:"copy"},null,-1)),s[35]||(s[35]=i("span",{class:"lang"},"html",-1)),i("pre",b,[i("code",null,[s[32]||(s[32]=e(`<% /* eslint "lodash-template/attribute-value-quote": ["error", "single"] */ %>
+<!-- ✓ GOOD -->
+<img src='./logo.png'>
+
+<!-- ✗ BAD -->
+`,10)),i("span",m,[s[20]||(s[20]=i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<",-1)),s[21]||(s[21]=i("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"img",-1)),s[22]||(s[22]=i("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," src",-1)),s[23]||(s[23]=i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"=",-1)),o(a,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:l(({})=>s[18]||(s[18]=[i("span",{class:"twoslash-popup-container vp-copy-ignore"},[i("div",{class:"twoslash-popup-error vp-doc"},[i("p",null,[t("Expected to be enclosed by single quotes. ("),i("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/attribute-value-quote.html"},"lodash-template/attribute-value-quote"),t(")")])])],-1)])),default:l(()=>[s[19]||(s[19]=i("span",null,[i("span",null,[i("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"./logo.png"')])],-1))]),_:1}),s[24]||(s[24]=i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">",-1))]),s[33]||(s[33]=t(`
+`)),i("span",q,[s[27]||(s[27]=i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<",-1)),s[28]||(s[28]=i("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"img",-1)),s[29]||(s[29]=i("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," src",-1)),s[30]||(s[30]=i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"=",-1)),o(a,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:l(({})=>s[25]||(s[25]=[i("span",{class:"twoslash-popup-container vp-copy-ignore"},[i("div",{class:"twoslash-popup-error vp-doc"},[i("p",null,[t("Expected to be enclosed by single quotes. ("),i("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/attribute-value-quote.html"},"lodash-template/attribute-value-quote"),t(")")])])],-1)])),default:l(()=>[s[26]||(s[26]=i("span",null,[i("span",null,[i("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},"./logo.png")])],-1))]),_:1}),s[31]||(s[31]=i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">",-1))])])])]),s[48]||(s[48]=i("h3",{id:"examples-for-this-rule-with-either-option",tabindex:"-1"},[t("Examples for this rule with "),i("code",null,'"either"'),t(" option: "),i("a",{class:"header-anchor",href:"#examples-for-this-rule-with-either-option","aria-label":'Permalink to "Examples for this rule with `"either"` option:"'},"")],-1)),i("div",f,[s[44]||(s[44]=i("button",{title:"Copy Code",class:"copy"},null,-1)),s[45]||(s[45]=i("span",{class:"lang"},"html",-1)),i("pre",v,[i("code",null,[s[43]||(s[43]=e(`<% /* eslint "lodash-template/attribute-value-quote": ["error", "either"] */ %>
+<!-- ✓ GOOD -->
+<img src="./logo.png">
+<img src='./logo.png'>
+
+<!-- ✗ BAD -->
+`,12)),i("span",F,[s[38]||(s[38]=i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<",-1)),s[39]||(s[39]=i("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"img",-1)),s[40]||(s[40]=i("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," src",-1)),s[41]||(s[41]=i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"=",-1)),o(a,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:l(({})=>s[36]||(s[36]=[i("span",{class:"twoslash-popup-container vp-copy-ignore"},[i("div",{class:"twoslash-popup-error vp-doc"},[i("p",null,[t("Expected to be enclosed by quotes. ("),i("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/attribute-value-quote.html"},"lodash-template/attribute-value-quote"),t(")")])])],-1)])),default:l(()=>[s[37]||(s[37]=i("span",null,[i("span",null,[i("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},"./logo.png")])],-1))]),_:1}),s[42]||(s[42]=i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">",-1))])])])]),s[49]||(s[49]=e('
',4))])}const M=n(k,[["render",w]]);export{T as __pageData,M as default};
diff --git a/assets/rules_attribute-value-quote.md.U2s_C0SQ.lean.js b/assets/rules_attribute-value-quote.md.U2s_C0SQ.lean.js
new file mode 100644
index 00000000..768dfdb1
--- /dev/null
+++ b/assets/rules_attribute-value-quote.md.U2s_C0SQ.lean.js
@@ -0,0 +1,19 @@
+import{_ as n,c as p,a9 as e,j as i,G as o,w as l,a as t,B as h,o as r}from"./chunks/framework.D6W_pQcY.js";const T=JSON.parse('{"title":"lodash-template/attribute-value-quote","description":"enforce quotes style of HTML attributes. (ex. :ok: `
` :ng: `
` `
`)","frontmatter":{"pageClass":"rule-details","sidebarDepth":0,"title":"lodash-template/attribute-value-quote","description":"enforce quotes style of HTML attributes. (ex. :ok: `
',4)),i("div",y,[s[34]||(s[34]=i("button",{title:"Copy Code",class:"copy"},null,-1)),s[35]||(s[35]=i("span",{class:"lang"},"html",-1)),i("pre",b,[i("code",null,[s[32]||(s[32]=e(`<% /* eslint "lodash-template/attribute-value-quote": ["error", "single"] */ %>
+<!-- ✓ GOOD -->
+<img src='./logo.png'>
+
+<!-- ✗ BAD -->
+`,10)),i("span",m,[s[20]||(s[20]=i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<",-1)),s[21]||(s[21]=i("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"img",-1)),s[22]||(s[22]=i("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," src",-1)),s[23]||(s[23]=i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"=",-1)),o(a,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:l(({})=>s[18]||(s[18]=[i("span",{class:"twoslash-popup-container vp-copy-ignore"},[i("div",{class:"twoslash-popup-error vp-doc"},[i("p",null,[t("Expected to be enclosed by single quotes. ("),i("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/attribute-value-quote.html"},"lodash-template/attribute-value-quote"),t(")")])])],-1)])),default:l(()=>[s[19]||(s[19]=i("span",null,[i("span",null,[i("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"./logo.png"')])],-1))]),_:1}),s[24]||(s[24]=i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">",-1))]),s[33]||(s[33]=t(`
+`)),i("span",q,[s[27]||(s[27]=i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<",-1)),s[28]||(s[28]=i("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"img",-1)),s[29]||(s[29]=i("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," src",-1)),s[30]||(s[30]=i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"=",-1)),o(a,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:l(({})=>s[25]||(s[25]=[i("span",{class:"twoslash-popup-container vp-copy-ignore"},[i("div",{class:"twoslash-popup-error vp-doc"},[i("p",null,[t("Expected to be enclosed by single quotes. ("),i("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/attribute-value-quote.html"},"lodash-template/attribute-value-quote"),t(")")])])],-1)])),default:l(()=>[s[26]||(s[26]=i("span",null,[i("span",null,[i("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},"./logo.png")])],-1))]),_:1}),s[31]||(s[31]=i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">",-1))])])])]),s[48]||(s[48]=i("h3",{id:"examples-for-this-rule-with-either-option",tabindex:"-1"},[t("Examples for this rule with "),i("code",null,'"either"'),t(" option: "),i("a",{class:"header-anchor",href:"#examples-for-this-rule-with-either-option","aria-label":'Permalink to "Examples for this rule with `"either"` option:"'},"")],-1)),i("div",f,[s[44]||(s[44]=i("button",{title:"Copy Code",class:"copy"},null,-1)),s[45]||(s[45]=i("span",{class:"lang"},"html",-1)),i("pre",v,[i("code",null,[s[43]||(s[43]=e(`<% /* eslint "lodash-template/attribute-value-quote": ["error", "either"] */ %>
+<!-- ✓ GOOD -->
+<img src="./logo.png">
+<img src='./logo.png'>
+
+<!-- ✗ BAD -->
+`,12)),i("span",F,[s[38]||(s[38]=i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<",-1)),s[39]||(s[39]=i("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"img",-1)),s[40]||(s[40]=i("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," src",-1)),s[41]||(s[41]=i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"=",-1)),o(a,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:l(({})=>s[36]||(s[36]=[i("span",{class:"twoslash-popup-container vp-copy-ignore"},[i("div",{class:"twoslash-popup-error vp-doc"},[i("p",null,[t("Expected to be enclosed by quotes. ("),i("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/attribute-value-quote.html"},"lodash-template/attribute-value-quote"),t(")")])])],-1)])),default:l(()=>[s[37]||(s[37]=i("span",null,[i("span",null,[i("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},"./logo.png")])],-1))]),_:1}),s[42]||(s[42]=i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">",-1))])])])]),s[49]||(s[49]=e('
',4))])}const M=n(k,[["render",w]]);export{T as __pageData,M as default};
diff --git a/assets/rules_element-name-casing.md.B-R_2r9R.js b/assets/rules_element-name-casing.md.B-R_2r9R.js
new file mode 100644
index 00000000..86bc56a0
--- /dev/null
+++ b/assets/rules_element-name-casing.md.B-R_2r9R.js
@@ -0,0 +1,8 @@
+import{_ as o,c as r,a9 as a,j as e,G as n,w as l,a as t,B as p,o as h}from"./chunks/framework.D6W_pQcY.js";const D=JSON.parse('{"title":"lodash-template/element-name-casing","description":"enforce HTML element name casing. (ex. :ok: `` :ng: `` `
`)","frontmatter":{"pageClass":"rule-details","sidebarDepth":0,"title":"lodash-template/element-name-casing","description":"enforce HTML element name casing. (ex. :ok: `` :ng: `` `
This rule enforces element name casing style (kebab-case).
',5)),e("div",d,[s[8]||(s[8]=e("button",{title:"Copy Code",class:"copy"},null,-1)),s[9]||(s[9]=e("span",{class:"lang"},"html",-1)),e("pre",g,[e("code",null,[s[6]||(s[6]=a(`<% /* eslint "lodash-template/element-name-casing": "error" */ %>
+<!-- ✓ GOOD -->
+<div>
+<xxx-element>
+
+<!-- ✗ BAD -->
+`,12)),e("span",u,[n(i,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:l(({})=>s[0]||(s[0]=[e("span",{class:"twoslash-popup-container vp-copy-ignore"},[e("div",{class:"twoslash-popup-error vp-doc"},[e("p",null,[t("Element name "),e("code",null,"
"),t(" must be 'kebab-case'. ("),e("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/element-name-casing.html"},"lodash-template/element-name-casing"),t(")")])])],-1)])),default:l(()=>[s[1]||(s[1]=e("span",null,[e("span",null,[e("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<"),e("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"DIV")])],-1))]),_:1}),s[2]||(s[2]=e("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">",-1))]),s[7]||(s[7]=t(`
+`)),e("span",c,[n(i,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:l(({})=>s[3]||(s[3]=[e("span",{class:"twoslash-popup-container vp-copy-ignore"},[e("div",{class:"twoslash-popup-error vp-doc"},[e("p",null,[t("Element name "),e("code",null,""),t(" must be 'kebab-case'. ("),e("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/element-name-casing.html"},"lodash-template/element-name-casing"),t(")")])])],-1)])),default:l(()=>[s[4]||(s[4]=e("span",null,[e("span",null,[e("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<"),e("span",{style:{"--shiki-light":"#B31D28","--shiki-light-font-style":"italic","--shiki-dark":"#FDAEB7","--shiki-dark-font-style":"italic"}},"xxxElement")])],-1))]),_:1}),s[5]||(s[5]=e("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">",-1))])])])]),s[11]||(s[11]=a('
',4))])}const q=o(m,[["render",k]]);export{D as __pageData,q as default};
diff --git a/assets/rules_element-name-casing.md.B-R_2r9R.lean.js b/assets/rules_element-name-casing.md.B-R_2r9R.lean.js
new file mode 100644
index 00000000..86bc56a0
--- /dev/null
+++ b/assets/rules_element-name-casing.md.B-R_2r9R.lean.js
@@ -0,0 +1,8 @@
+import{_ as o,c as r,a9 as a,j as e,G as n,w as l,a as t,B as p,o as h}from"./chunks/framework.D6W_pQcY.js";const D=JSON.parse('{"title":"lodash-template/element-name-casing","description":"enforce HTML element name casing. (ex. :ok: `` :ng: `` `
`)","frontmatter":{"pageClass":"rule-details","sidebarDepth":0,"title":"lodash-template/element-name-casing","description":"enforce HTML element name casing. (ex. :ok: `` :ng: `` `
This rule enforces element name casing style (kebab-case).
',5)),e("div",d,[s[8]||(s[8]=e("button",{title:"Copy Code",class:"copy"},null,-1)),s[9]||(s[9]=e("span",{class:"lang"},"html",-1)),e("pre",g,[e("code",null,[s[6]||(s[6]=a(`<% /* eslint "lodash-template/element-name-casing": "error" */ %>
+<!-- ✓ GOOD -->
+<div>
+<xxx-element>
+
+<!-- ✗ BAD -->
+`,12)),e("span",u,[n(i,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:l(({})=>s[0]||(s[0]=[e("span",{class:"twoslash-popup-container vp-copy-ignore"},[e("div",{class:"twoslash-popup-error vp-doc"},[e("p",null,[t("Element name "),e("code",null,"
"),t(" must be 'kebab-case'. ("),e("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/element-name-casing.html"},"lodash-template/element-name-casing"),t(")")])])],-1)])),default:l(()=>[s[1]||(s[1]=e("span",null,[e("span",null,[e("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<"),e("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"DIV")])],-1))]),_:1}),s[2]||(s[2]=e("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">",-1))]),s[7]||(s[7]=t(`
+`)),e("span",c,[n(i,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:l(({})=>s[3]||(s[3]=[e("span",{class:"twoslash-popup-container vp-copy-ignore"},[e("div",{class:"twoslash-popup-error vp-doc"},[e("p",null,[t("Element name "),e("code",null,""),t(" must be 'kebab-case'. ("),e("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/element-name-casing.html"},"lodash-template/element-name-casing"),t(")")])])],-1)])),default:l(()=>[s[4]||(s[4]=e("span",null,[e("span",null,[e("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<"),e("span",{style:{"--shiki-light":"#B31D28","--shiki-light-font-style":"italic","--shiki-dark":"#FDAEB7","--shiki-dark-font-style":"italic"}},"xxxElement")])],-1))]),_:1}),s[5]||(s[5]=e("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">",-1))])])])]),s[11]||(s[11]=a('
',4))])}const q=o(m,[["render",k]]);export{D as __pageData,q as default};
diff --git a/assets/rules_html-closing-bracket-newline.md.Cufar9xb.js b/assets/rules_html-closing-bracket-newline.md.Cufar9xb.js
new file mode 100644
index 00000000..80bbb120
--- /dev/null
+++ b/assets/rules_html-closing-bracket-newline.md.Cufar9xb.js
@@ -0,0 +1,48 @@
+import{_ as h,c as p,a9 as l,j as i,G as e,w as t,a,B as k,o}from"./chunks/framework.D6W_pQcY.js";const A=JSON.parse(`{"title":"lodash-template/html-closing-bracket-newline","description":"require or disallow a line break before tag's closing brackets","frontmatter":{"pageClass":"rule-details","sidebarDepth":0,"title":"lodash-template/html-closing-bracket-newline","description":"require or disallow a line break before tag's closing brackets"},"headers":[],"relativePath":"rules/html-closing-bracket-newline.md","filePath":"rules/html-closing-bracket-newline.md","lastUpdated":1733171881000}`),r={name:"rules/html-closing-bracket-newline.md"},d={class:"language-html vp-adaptive-theme"},E={class:"shiki shiki-themes github-light github-dark vp-code twoslash lsp",style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-bg":"#fff","--shiki-dark-bg":"#24292e"},tabindex:"0"},g={class:"line"},u={class:"line"},y={class:"line"},c={class:"language-html vp-adaptive-theme"},b={class:"shiki shiki-themes github-light github-dark vp-code twoslash lsp",style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-bg":"#fff","--shiki-dark-bg":"#24292e"},tabindex:"0"},m={class:"line"},F={class:"line"};function f(q,s,v,w,C,B){const n=k("v-menu");return o(),p("div",null,[s[34]||(s[34]=l(`
People have own preference about the location of closing brackets. This rule enforces a line break (or no line break) before tag's closing brackets.
html
<div
+ id="foo"
+ class="bar"> <!-- On the same line with the last attribute. -->
+</div>
+<div
+ id="foo"
+ class="bar"
+> <!-- On the next line. -->
+</div>
`,6)),i("div",d,[s[17]||(s[17]=i("button",{title:"Copy Code",class:"copy"},null,-1)),s[18]||(s[18]=i("span",{class:"lang"},"html",-1)),i("pre",E,[i("code",null,[s[13]||(s[13]=l(`<% /* eslint "lodash-template/html-closing-bracket-newline": "error" */ %>
+<!-- ✓ GOOD -->
+<div id="foo" class="bar"></div>
+<div
+ id="foo"
+ class="bar"></div>
+
+<!-- ✗ BAD -->
+`,16)),i("span",g,[s[2]||(s[2]=l('<div id="foo" class="bar"',8)),e(n,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:t(({})=>s[0]||(s[0]=[i("span",{class:"twoslash-popup-container vp-copy-ignore"},[i("div",{class:"twoslash-popup-error vp-doc"},[i("p",null,[a("Expected no line breaks before closing bracket, but 1 line break found. ("),i("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/html-closing-bracket-newline.html"},"lodash-template/html-closing-bracket-newline"),a(")")])])],-1)])),default:t(()=>[s[1]||(s[1]=i("span",null,[i("span")],-1))]),_:1})]),s[14]||(s[14]=l(`
+></div>
+<div
+ id="foo"
+`,7)),i("span",u,[s[5]||(s[5]=i("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," class",-1)),s[6]||(s[6]=i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"=",-1)),s[7]||(s[7]=i("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"bar"',-1)),e(n,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:t(({})=>s[3]||(s[3]=[i("span",{class:"twoslash-popup-container vp-copy-ignore"},[i("div",{class:"twoslash-popup-error vp-doc"},[i("p",null,[a("Expected no line breaks before closing bracket, but 1 line break found. ("),i("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/html-closing-bracket-newline.html"},"lodash-template/html-closing-bracket-newline"),a(")")])])],-1)])),default:t(()=>[s[4]||(s[4]=i("span",null,[i("span")],-1))]),_:1})]),s[15]||(s[15]=l(`
+></div>
+<div
+ id="foo"
+`,7)),i("span",y,[s[10]||(s[10]=i("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," class",-1)),s[11]||(s[11]=i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"=",-1)),s[12]||(s[12]=i("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"bar"',-1)),e(n,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:t(({})=>s[8]||(s[8]=[i("span",{class:"twoslash-popup-container vp-copy-ignore"},[i("div",{class:"twoslash-popup-error vp-doc"},[i("p",null,[a("Expected no line breaks before closing bracket, but 1 line break found. ("),i("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/html-closing-bracket-newline.html"},"lodash-template/html-closing-bracket-newline"),a(")")])])],-1)])),default:t(()=>[s[9]||(s[9]=i("span",null,[i("span")],-1))]),_:1})]),s[16]||(s[16]=l(`
+></div>`,2))])])]),s[35]||(s[35]=l(`
singleline ... the configuration for single-line elements. It's a single-line element if the element does not have attributes or the last attribute is on the same line as the opening bracket.
"never" ... disallow line breaks before the closing bracket. This is the default.
"always" ... require one line break before the closing bracket.
multiline ... the configuration for multiline elements. It's a multiline element if the last attribute is not on the same line of the opening bracket.
"never" ... disallow line breaks before the closing bracket. This is the default.
"always" ... require one line break before the closing bracket.
People have own preference about the location of closing brackets. This rule enforces a line break (or no line break) before tag's closing brackets.
html
<div
+ id="foo"
+ class="bar"> <!-- On the same line with the last attribute. -->
+</div>
+<div
+ id="foo"
+ class="bar"
+> <!-- On the next line. -->
+</div>
`,6)),i("div",d,[s[17]||(s[17]=i("button",{title:"Copy Code",class:"copy"},null,-1)),s[18]||(s[18]=i("span",{class:"lang"},"html",-1)),i("pre",E,[i("code",null,[s[13]||(s[13]=l(`<% /* eslint "lodash-template/html-closing-bracket-newline": "error" */ %>
+<!-- ✓ GOOD -->
+<div id="foo" class="bar"></div>
+<div
+ id="foo"
+ class="bar"></div>
+
+<!-- ✗ BAD -->
+`,16)),i("span",g,[s[2]||(s[2]=l('<div id="foo" class="bar"',8)),e(n,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:t(({})=>s[0]||(s[0]=[i("span",{class:"twoslash-popup-container vp-copy-ignore"},[i("div",{class:"twoslash-popup-error vp-doc"},[i("p",null,[a("Expected no line breaks before closing bracket, but 1 line break found. ("),i("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/html-closing-bracket-newline.html"},"lodash-template/html-closing-bracket-newline"),a(")")])])],-1)])),default:t(()=>[s[1]||(s[1]=i("span",null,[i("span")],-1))]),_:1})]),s[14]||(s[14]=l(`
+></div>
+<div
+ id="foo"
+`,7)),i("span",u,[s[5]||(s[5]=i("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," class",-1)),s[6]||(s[6]=i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"=",-1)),s[7]||(s[7]=i("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"bar"',-1)),e(n,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:t(({})=>s[3]||(s[3]=[i("span",{class:"twoslash-popup-container vp-copy-ignore"},[i("div",{class:"twoslash-popup-error vp-doc"},[i("p",null,[a("Expected no line breaks before closing bracket, but 1 line break found. ("),i("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/html-closing-bracket-newline.html"},"lodash-template/html-closing-bracket-newline"),a(")")])])],-1)])),default:t(()=>[s[4]||(s[4]=i("span",null,[i("span")],-1))]),_:1})]),s[15]||(s[15]=l(`
+></div>
+<div
+ id="foo"
+`,7)),i("span",y,[s[10]||(s[10]=i("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," class",-1)),s[11]||(s[11]=i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"=",-1)),s[12]||(s[12]=i("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"bar"',-1)),e(n,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:t(({})=>s[8]||(s[8]=[i("span",{class:"twoslash-popup-container vp-copy-ignore"},[i("div",{class:"twoslash-popup-error vp-doc"},[i("p",null,[a("Expected no line breaks before closing bracket, but 1 line break found. ("),i("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/html-closing-bracket-newline.html"},"lodash-template/html-closing-bracket-newline"),a(")")])])],-1)])),default:t(()=>[s[9]||(s[9]=i("span",null,[i("span")],-1))]),_:1})]),s[16]||(s[16]=l(`
+></div>`,2))])])]),s[35]||(s[35]=l(`
singleline ... the configuration for single-line elements. It's a single-line element if the element does not have attributes or the last attribute is on the same line as the opening bracket.
"never" ... disallow line breaks before the closing bracket. This is the default.
"always" ... require one line break before the closing bracket.
multiline ... the configuration for multiline elements. It's a multiline element if the last attribute is not on the same line of the opening bracket.
"never" ... disallow line breaks before the closing bracket. This is the default.
"always" ... require one line break before the closing bracket.
Examples for this rule with { "multiline": "always" } option:
`,5)),i("div",c,[s[32]||(s[32]=i("button",{title:"Copy Code",class:"copy"},null,-1)),s[33]||(s[33]=i("span",{class:"lang"},"html",-1)),i("pre",b,[i("code",null,[s[30]||(s[30]=l(`<% /* eslint "lodash-template/html-closing-bracket-newline": ["error", { "multiline": "always" }] */ %>
+<!-- ✓ GOOD -->
+<div id="foo" class="bar"></div>
+<div
+ id="foo"
+ class="bar"
+></div>
+<div
+ id="foo"
+ class="bar"
+ ></div>
+
+<!-- ✗ BAD -->
+`,26)),i("span",m,[s[21]||(s[21]=l('<div id="foo" class="bar"',8)),e(n,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:t(({})=>s[19]||(s[19]=[i("span",{class:"twoslash-popup-container vp-copy-ignore"},[i("div",{class:"twoslash-popup-error vp-doc"},[i("p",null,[a("Expected no line breaks before closing bracket, but 1 line break found. ("),i("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/html-closing-bracket-newline.html"},"lodash-template/html-closing-bracket-newline"),a(")")])])],-1)])),default:t(()=>[s[20]||(s[20]=i("span",null,[i("span")],-1))]),_:1})]),s[31]||(s[31]=l(`
+></div>
+<div
+ id="foo"
+`,7)),i("span",F,[s[24]||(s[24]=i("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," class",-1)),s[25]||(s[25]=i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"=",-1)),s[26]||(s[26]=i("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"bar"',-1)),e(n,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:t(({})=>s[22]||(s[22]=[i("span",{class:"twoslash-popup-container vp-copy-ignore"},[i("div",{class:"twoslash-popup-error vp-doc"},[i("p",null,[a("Expected 1 line break before closing bracket, but no line breaks found. ("),i("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/html-closing-bracket-newline.html"},"lodash-template/html-closing-bracket-newline"),a(")")])])],-1)])),default:t(()=>[s[23]||(s[23]=i("span",null,[i("span")],-1))]),_:1}),s[27]||(s[27]=i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">",-1)),s[28]||(s[28]=i("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"div",-1)),s[29]||(s[29]=i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">",-1))])])])]),s[36]||(s[36]=i("h2",{id:"implementation",tabindex:"-1"},[a("Implementation "),i("a",{class:"header-anchor",href:"#implementation","aria-label":'Permalink to "Implementation"'},"")],-1)),s[37]||(s[37]=i("ul",null,[i("li",null,[i("a",{href:"https://github.com/ota-meshi/eslint-plugin-lodash-template/blob/master/lib/rules/html-closing-bracket-newline.js",target:"_blank",rel:"noreferrer"},"Rule source")]),i("li",null,[i("a",{href:"https://github.com/ota-meshi/eslint-plugin-lodash-template/blob/master/tests/lib/rules/html-closing-bracket-newline.js",target:"_blank",rel:"noreferrer"},"Test source")])],-1))])}const x=h(r,[["render",f]]);export{A as __pageData,x as default};
diff --git a/assets/rules_html-closing-bracket-spacing.md.B_hyhmtY.js b/assets/rules_html-closing-bracket-spacing.md.B_hyhmtY.js
new file mode 100644
index 00000000..a11dcd7f
--- /dev/null
+++ b/assets/rules_html-closing-bracket-spacing.md.B_hyhmtY.js
@@ -0,0 +1,39 @@
+import{_ as p,c as h,a9 as e,j as s,G as n,w as a,a as t,B as o,o as k}from"./chunks/framework.D6W_pQcY.js";const A=JSON.parse('{"title":"lodash-template/html-closing-bracket-spacing","description":"require or disallow a space before tag\'s closing brackets. (ex. :ok: `` `` :ng: `` ``)","frontmatter":{"pageClass":"rule-details","sidebarDepth":0,"title":"lodash-template/html-closing-bracket-spacing","description":"require or disallow a space before tag\'s closing brackets. (ex. :ok: `` `` :ng: `` ``)"},"headers":[],"relativePath":"rules/html-closing-bracket-spacing.md","filePath":"rules/html-closing-bracket-spacing.md","lastUpdated":1733171881000}'),r={name:"rules/html-closing-bracket-spacing.md"},d={class:"language-html vp-adaptive-theme"},g={class:"shiki shiki-themes github-light github-dark vp-code twoslash lsp",style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-bg":"#fff","--shiki-dark-bg":"#24292e"},tabindex:"0"},E={class:"line"},u={class:"line"},c={class:"line"},y={class:"line"},m={class:"line"},b={class:"line"},f={class:"line"};function q(F,i,v,w,C,B){const l=o("v-menu");return k(),h("div",null,[i[37]||(i[37]=e(`
This rule enforces consistent spacing style before closing brackets > of tags.
html
<div class="foo"> or <div class="foo" >
+<input class="foo"/> or <input class="foo" />
`,6)),s("div",d,[i[35]||(i[35]=s("button",{title:"Copy Code",class:"copy"},null,-1)),i[36]||(i[36]=s("span",{class:"lang"},"html",-1)),s("pre",g,[s("code",null,[i[28]||(i[28]=e(`<% /* eslint "lodash-template/html-closing-bracket-spacing": "error" */ %>
+<!-- ✓ GOOD -->
+<input>
+<input foo>
+<div foo="bar">
+</div>
+<br />
+<input foo />
+<input foo="bar" />
+
+<!-- ✗ BAD -->
+`,22)),s("span",E,[i[2]||(i[2]=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<",-1)),i[3]||(i[3]=s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"input",-1)),n(l,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:a(({})=>i[0]||(i[0]=[s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[t("Expected no space before "),s("code",null,">"),t(", but found. ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/html-closing-bracket-spacing.html"},"lodash-template/html-closing-bracket-spacing"),t(")")])])],-1)])),default:a(()=>[i[1]||(i[1]=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," >")])],-1))]),_:1})]),i[29]||(i[29]=t(`
+`)),s("span",u,[i[6]||(i[6]=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<",-1)),i[7]||(i[7]=s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"input",-1)),i[8]||(i[8]=s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," foo",-1)),n(l,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:a(({})=>i[4]||(i[4]=[s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[t("Expected no space before "),s("code",null,">"),t(", but found. ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/html-closing-bracket-spacing.html"},"lodash-template/html-closing-bracket-spacing"),t(")")])])],-1)])),default:a(()=>[i[5]||(i[5]=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," >")])],-1))]),_:1})]),i[30]||(i[30]=t(`
+`)),s("span",c,[i[11]||(i[11]=e('<div foo="bar"',5)),n(l,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:a(({})=>i[9]||(i[9]=[s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[t("Expected no space before "),s("code",null,">"),t(", but found. ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/html-closing-bracket-spacing.html"},"lodash-template/html-closing-bracket-spacing"),t(")")])])],-1)])),default:a(()=>[i[10]||(i[10]=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," >")])],-1))]),_:1})]),i[31]||(i[31]=t(`
+`)),s("span",y,[i[14]||(i[14]=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"",-1)),i[15]||(i[15]=s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"div",-1)),n(l,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:a(({})=>i[12]||(i[12]=[s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[t("Expected no space before "),s("code",null,">"),t(", but found. ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/html-closing-bracket-spacing.html"},"lodash-template/html-closing-bracket-spacing"),t(")")])])],-1)])),default:a(()=>[i[13]||(i[13]=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," >")])],-1))]),_:1})]),i[32]||(i[32]=t(`
+`)),s("span",m,[i[18]||(i[18]=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<",-1)),i[19]||(i[19]=s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"br",-1)),n(l,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:a(({})=>i[16]||(i[16]=[s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[t("Expected a space before "),s("code",null,"/>"),t(", but not found. ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/html-closing-bracket-spacing.html"},"lodash-template/html-closing-bracket-spacing"),t(")")])])],-1)])),default:a(()=>[i[17]||(i[17]=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"/>")])],-1))]),_:1})]),i[33]||(i[33]=t(`
+`)),s("span",b,[i[22]||(i[22]=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<",-1)),i[23]||(i[23]=s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"input",-1)),i[24]||(i[24]=s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," foo",-1)),n(l,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:a(({})=>i[20]||(i[20]=[s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[t("Expected a space before "),s("code",null,"/>"),t(", but not found. ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/html-closing-bracket-spacing.html"},"lodash-template/html-closing-bracket-spacing"),t(")")])])],-1)])),default:a(()=>[i[21]||(i[21]=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"/>")])],-1))]),_:1})]),i[34]||(i[34]=t(`
+`)),s("span",f,[i[27]||(i[27]=e('<input foo="bar"',5)),n(l,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:a(({})=>i[25]||(i[25]=[s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[t("Expected a space before "),s("code",null,"/>"),t(", but not found. ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/html-closing-bracket-spacing.html"},"lodash-template/html-closing-bracket-spacing"),t(")")])])],-1)])),default:a(()=>[i[26]||(i[26]=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"/>")])],-1))]),_:1})])])])]),i[38]||(i[38]=e(`
`,6))])}const x=p(r,[["render",q]]);export{A as __pageData,x as default};
diff --git a/assets/rules_html-closing-bracket-spacing.md.B_hyhmtY.lean.js b/assets/rules_html-closing-bracket-spacing.md.B_hyhmtY.lean.js
new file mode 100644
index 00000000..a11dcd7f
--- /dev/null
+++ b/assets/rules_html-closing-bracket-spacing.md.B_hyhmtY.lean.js
@@ -0,0 +1,39 @@
+import{_ as p,c as h,a9 as e,j as s,G as n,w as a,a as t,B as o,o as k}from"./chunks/framework.D6W_pQcY.js";const A=JSON.parse('{"title":"lodash-template/html-closing-bracket-spacing","description":"require or disallow a space before tag\'s closing brackets. (ex. :ok: `` `` :ng: `` ``)","frontmatter":{"pageClass":"rule-details","sidebarDepth":0,"title":"lodash-template/html-closing-bracket-spacing","description":"require or disallow a space before tag\'s closing brackets. (ex. :ok: `` `` :ng: `` ``)"},"headers":[],"relativePath":"rules/html-closing-bracket-spacing.md","filePath":"rules/html-closing-bracket-spacing.md","lastUpdated":1733171881000}'),r={name:"rules/html-closing-bracket-spacing.md"},d={class:"language-html vp-adaptive-theme"},g={class:"shiki shiki-themes github-light github-dark vp-code twoslash lsp",style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-bg":"#fff","--shiki-dark-bg":"#24292e"},tabindex:"0"},E={class:"line"},u={class:"line"},c={class:"line"},y={class:"line"},m={class:"line"},b={class:"line"},f={class:"line"};function q(F,i,v,w,C,B){const l=o("v-menu");return k(),h("div",null,[i[37]||(i[37]=e(`
This rule enforces consistent spacing style before closing brackets > of tags.
html
<div class="foo"> or <div class="foo" >
+<input class="foo"/> or <input class="foo" />
`,6)),s("div",d,[i[35]||(i[35]=s("button",{title:"Copy Code",class:"copy"},null,-1)),i[36]||(i[36]=s("span",{class:"lang"},"html",-1)),s("pre",g,[s("code",null,[i[28]||(i[28]=e(`<% /* eslint "lodash-template/html-closing-bracket-spacing": "error" */ %>
+<!-- ✓ GOOD -->
+<input>
+<input foo>
+<div foo="bar">
+</div>
+<br />
+<input foo />
+<input foo="bar" />
+
+<!-- ✗ BAD -->
+`,22)),s("span",E,[i[2]||(i[2]=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<",-1)),i[3]||(i[3]=s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"input",-1)),n(l,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:a(({})=>i[0]||(i[0]=[s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[t("Expected no space before "),s("code",null,">"),t(", but found. ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/html-closing-bracket-spacing.html"},"lodash-template/html-closing-bracket-spacing"),t(")")])])],-1)])),default:a(()=>[i[1]||(i[1]=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," >")])],-1))]),_:1})]),i[29]||(i[29]=t(`
+`)),s("span",u,[i[6]||(i[6]=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<",-1)),i[7]||(i[7]=s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"input",-1)),i[8]||(i[8]=s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," foo",-1)),n(l,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:a(({})=>i[4]||(i[4]=[s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[t("Expected no space before "),s("code",null,">"),t(", but found. ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/html-closing-bracket-spacing.html"},"lodash-template/html-closing-bracket-spacing"),t(")")])])],-1)])),default:a(()=>[i[5]||(i[5]=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," >")])],-1))]),_:1})]),i[30]||(i[30]=t(`
+`)),s("span",c,[i[11]||(i[11]=e('<div foo="bar"',5)),n(l,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:a(({})=>i[9]||(i[9]=[s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[t("Expected no space before "),s("code",null,">"),t(", but found. ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/html-closing-bracket-spacing.html"},"lodash-template/html-closing-bracket-spacing"),t(")")])])],-1)])),default:a(()=>[i[10]||(i[10]=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," >")])],-1))]),_:1})]),i[31]||(i[31]=t(`
+`)),s("span",y,[i[14]||(i[14]=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"",-1)),i[15]||(i[15]=s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"div",-1)),n(l,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:a(({})=>i[12]||(i[12]=[s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[t("Expected no space before "),s("code",null,">"),t(", but found. ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/html-closing-bracket-spacing.html"},"lodash-template/html-closing-bracket-spacing"),t(")")])])],-1)])),default:a(()=>[i[13]||(i[13]=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," >")])],-1))]),_:1})]),i[32]||(i[32]=t(`
+`)),s("span",m,[i[18]||(i[18]=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<",-1)),i[19]||(i[19]=s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"br",-1)),n(l,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:a(({})=>i[16]||(i[16]=[s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[t("Expected a space before "),s("code",null,"/>"),t(", but not found. ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/html-closing-bracket-spacing.html"},"lodash-template/html-closing-bracket-spacing"),t(")")])])],-1)])),default:a(()=>[i[17]||(i[17]=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"/>")])],-1))]),_:1})]),i[33]||(i[33]=t(`
+`)),s("span",b,[i[22]||(i[22]=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<",-1)),i[23]||(i[23]=s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"input",-1)),i[24]||(i[24]=s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," foo",-1)),n(l,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:a(({})=>i[20]||(i[20]=[s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[t("Expected a space before "),s("code",null,"/>"),t(", but not found. ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/html-closing-bracket-spacing.html"},"lodash-template/html-closing-bracket-spacing"),t(")")])])],-1)])),default:a(()=>[i[21]||(i[21]=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"/>")])],-1))]),_:1})]),i[34]||(i[34]=t(`
+`)),s("span",f,[i[27]||(i[27]=e('<input foo="bar"',5)),n(l,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:a(({})=>i[25]||(i[25]=[s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[t("Expected a space before "),s("code",null,"/>"),t(", but not found. ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/html-closing-bracket-spacing.html"},"lodash-template/html-closing-bracket-spacing"),t(")")])])],-1)])),default:a(()=>[i[26]||(i[26]=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"/>")])],-1))]),_:1})])])])]),i[38]||(i[38]=e(`
`,6))])}const x=p(r,[["render",q]]);export{A as __pageData,x as default};
diff --git a/assets/rules_html-comment-content-newline.md.ej66B5u4.js b/assets/rules_html-comment-content-newline.md.ej66B5u4.js
new file mode 100644
index 00000000..216e38ed
--- /dev/null
+++ b/assets/rules_html-comment-content-newline.md.ej66B5u4.js
@@ -0,0 +1,44 @@
+import{_ as o,c as p,a9 as a,j as s,G as i,w as t,a as e,B as r,o as h}from"./chunks/framework.D6W_pQcY.js";const P=JSON.parse('{"title":"lodash-template/html-comment-content-newline","description":"require or disallow a line break before and after HTML comment contents","frontmatter":{"pageClass":"rule-details","sidebarDepth":0,"title":"lodash-template/html-comment-content-newline","description":"require or disallow a line break before and after HTML comment contents"},"headers":[],"relativePath":"rules/html-comment-content-newline.md","filePath":"rules/html-comment-content-newline.md","lastUpdated":1733171881000}'),d={name:"rules/html-comment-content-newline.md"},k={class:"language-html vp-adaptive-theme"},m={class:"shiki shiki-themes github-light github-dark vp-code twoslash lsp",style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-bg":"#fff","--shiki-dark-bg":"#24292e"},tabindex:"0"},u={class:"line"},g={class:"line"},c={class:"line"},f={class:"line"},w={class:"line"},b={class:"language-html vp-adaptive-theme"},y={class:"shiki shiki-themes github-light github-dark vp-code twoslash lsp",style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-bg":"#fff","--shiki-dark-bg":"#24292e"},tabindex:"0"},D={class:"line"},A={class:"line"},v={class:"line"},E={class:"line"};function q(x,l,C,F,B,T){const n=r("v-menu");return h(),p("div",null,[l[58]||(l[58]=a('
',4))])}const H=o(d,[["render",q]]);export{P as __pageData,H as default};
diff --git a/assets/rules_html-comment-content-newline.md.ej66B5u4.lean.js b/assets/rules_html-comment-content-newline.md.ej66B5u4.lean.js
new file mode 100644
index 00000000..216e38ed
--- /dev/null
+++ b/assets/rules_html-comment-content-newline.md.ej66B5u4.lean.js
@@ -0,0 +1,44 @@
+import{_ as o,c as p,a9 as a,j as s,G as i,w as t,a as e,B as r,o as h}from"./chunks/framework.D6W_pQcY.js";const P=JSON.parse('{"title":"lodash-template/html-comment-content-newline","description":"require or disallow a line break before and after HTML comment contents","frontmatter":{"pageClass":"rule-details","sidebarDepth":0,"title":"lodash-template/html-comment-content-newline","description":"require or disallow a line break before and after HTML comment contents"},"headers":[],"relativePath":"rules/html-comment-content-newline.md","filePath":"rules/html-comment-content-newline.md","lastUpdated":1733171881000}'),d={name:"rules/html-comment-content-newline.md"},k={class:"language-html vp-adaptive-theme"},m={class:"shiki shiki-themes github-light github-dark vp-code twoslash lsp",style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-bg":"#fff","--shiki-dark-bg":"#24292e"},tabindex:"0"},u={class:"line"},g={class:"line"},c={class:"line"},f={class:"line"},w={class:"line"},b={class:"language-html vp-adaptive-theme"},y={class:"shiki shiki-themes github-light github-dark vp-code twoslash lsp",style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-bg":"#fff","--shiki-dark-bg":"#24292e"},tabindex:"0"},D={class:"line"},A={class:"line"},v={class:"line"},E={class:"line"};function q(x,l,C,F,B,T){const n=r("v-menu");return h(),p("div",null,[l[58]||(l[58]=a('
"always" - Expect one space between comment and curly brackets.
',4)),s("div",k,[t[26]||(t[26]=s("button",{title:"Copy Code",class:"copy"},null,-1)),t[27]||(t[27]=s("span",{class:"lang"},"html",-1)),s("pre",f,[s("code",null,[t[24]||(t[24]=o(`<% /* eslint "lodash-template/html-comment-spacing": ["error", "always"] */ %>
+<!-- ✓ GOOD -->
+<!-- comment -->
+
+<!-- ✗ BAD -->
+`,10)),s("span",y,[i(a,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:l(({})=>t[14]||(t[14]=[s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[e("Expected 1 space after "),s("code",null,""),e(", but 3 spaces found. ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/html-comment-spacing.html"},"lodash-template/html-comment-spacing"),e(")")])])],-1)])),default:l(()=>[t[17]||(t[17]=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"-->")])],-1))]),_:1})]),t[25]||(t[25]=e(`
+`)),s("span",b,[i(a,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:l(({})=>t[19]||(t[19]=[s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[e("Expected 1 space after "),s("code",null,""),e(", but no spaces found. ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/html-comment-spacing.html"},"lodash-template/html-comment-spacing"),e(")")])])],-1)])),default:l(()=>[t[22]||(t[22]=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"-->")])],-1))]),_:1})])])])]),t[44]||(t[44]=s("h3",{id:"never-expect-no-spaces-between-comment-and-curly-brackets",tabindex:"-1"},[s("code",null,'"never"'),e(" - Expect no spaces between comment and curly brackets. "),s("a",{class:"header-anchor",href:"#never-expect-no-spaces-between-comment-and-curly-brackets","aria-label":'Permalink to "`"never"` - Expect no spaces between comment and curly brackets."'},"")],-1)),s("div",v,[t[40]||(t[40]=s("button",{title:"Copy Code",class:"copy"},null,-1)),t[41]||(t[41]=s("span",{class:"lang"},"html",-1)),s("pre",w,[s("code",null,[t[38]||(t[38]=o(`<% /* eslint "lodash-template/html-comment-spacing": ["error", "never"] */ %>
+<!--✓ GOOD-->
+<!--comment-->
+
+`,8)),s("span",D,[i(a,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:l(({})=>t[28]||(t[28]=[s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[e("Expected no spaces after "),s("code",null,""),e(", but 1 space found. ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/html-comment-spacing.html"},"lodash-template/html-comment-spacing"),e(")")])])],-1)])),default:l(()=>[t[31]||(t[31]=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"-->")])],-1))]),_:1})]),t[39]||(t[39]=e(`
+`)),s("span",A,[i(a,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:l(({})=>t[33]||(t[33]=[s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[e("Expected no spaces after "),s("code",null,""),e(", but 1 space found. ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/html-comment-spacing.html"},"lodash-template/html-comment-spacing"),e(")")])])],-1)])),default:l(()=>[t[36]||(t[36]=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"-->")])],-1))]),_:1})])])])]),t[45]||(t[45]=s("h2",{id:"implementation",tabindex:"-1"},[e("Implementation "),s("a",{class:"header-anchor",href:"#implementation","aria-label":'Permalink to "Implementation"'},"")],-1)),t[46]||(t[46]=s("ul",null,[s("li",null,[s("a",{href:"https://github.com/ota-meshi/eslint-plugin-lodash-template/blob/master/lib/rules/html-comment-spacing.js",target:"_blank",rel:"noreferrer"},"Rule source")]),s("li",null,[s("a",{href:"https://github.com/ota-meshi/eslint-plugin-lodash-template/blob/master/tests/lib/rules/html-comment-spacing.js",target:"_blank",rel:"noreferrer"},"Test source")])],-1))])}const P=n(m,[["render",E]]);export{T as __pageData,P as default};
diff --git a/assets/rules_html-comment-spacing.md.BmKWBP6S.lean.js b/assets/rules_html-comment-spacing.md.BmKWBP6S.lean.js
new file mode 100644
index 00000000..8ab3c61e
--- /dev/null
+++ b/assets/rules_html-comment-spacing.md.BmKWBP6S.lean.js
@@ -0,0 +1,18 @@
+import{_ as n,c as p,a9 as o,j as s,G as i,w as l,a as e,B as r,o as h}from"./chunks/framework.D6W_pQcY.js";const T=JSON.parse('{"title":"lodash-template/html-comment-spacing","description":"enforce unified spacing in HTML comment. (ex. :ok: ``, :ng: ``)","frontmatter":{"pageClass":"rule-details","sidebarDepth":0,"title":"lodash-template/html-comment-spacing","description":"enforce unified spacing in HTML comment. (ex. :ok: ``, :ng: ``)"},"headers":[],"relativePath":"rules/html-comment-spacing.md","filePath":"rules/html-comment-spacing.md","lastUpdated":1733171881000}'),m={name:"rules/html-comment-spacing.md"},d={class:"language-html vp-adaptive-theme"},u={class:"shiki shiki-themes github-light github-dark vp-code twoslash lsp",style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-bg":"#fff","--shiki-dark-bg":"#24292e"},tabindex:"0"},c={class:"line"},g={class:"line"},k={class:"language-html vp-adaptive-theme"},f={class:"shiki shiki-themes github-light github-dark vp-code twoslash lsp",style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-bg":"#fff","--shiki-dark-bg":"#24292e"},tabindex:"0"},y={class:"line"},b={class:"line"},v={class:"language-html vp-adaptive-theme"},w={class:"shiki shiki-themes github-light github-dark vp-code twoslash lsp",style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-bg":"#fff","--shiki-dark-bg":"#24292e"},tabindex:"0"},D={class:"line"},A={class:"line"};function E(q,t,x,B,C,F){const a=r("v-menu");return h(),p("div",null,[t[42]||(t[42]=o('
"always" - Expect one space between comment and curly brackets.
',4)),s("div",k,[t[26]||(t[26]=s("button",{title:"Copy Code",class:"copy"},null,-1)),t[27]||(t[27]=s("span",{class:"lang"},"html",-1)),s("pre",f,[s("code",null,[t[24]||(t[24]=o(`<% /* eslint "lodash-template/html-comment-spacing": ["error", "always"] */ %>
+<!-- ✓ GOOD -->
+<!-- comment -->
+
+<!-- ✗ BAD -->
+`,10)),s("span",y,[i(a,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:l(({})=>t[14]||(t[14]=[s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[e("Expected 1 space after "),s("code",null,""),e(", but 3 spaces found. ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/html-comment-spacing.html"},"lodash-template/html-comment-spacing"),e(")")])])],-1)])),default:l(()=>[t[17]||(t[17]=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"-->")])],-1))]),_:1})]),t[25]||(t[25]=e(`
+`)),s("span",b,[i(a,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:l(({})=>t[19]||(t[19]=[s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[e("Expected 1 space after "),s("code",null,""),e(", but no spaces found. ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/html-comment-spacing.html"},"lodash-template/html-comment-spacing"),e(")")])])],-1)])),default:l(()=>[t[22]||(t[22]=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"-->")])],-1))]),_:1})])])])]),t[44]||(t[44]=s("h3",{id:"never-expect-no-spaces-between-comment-and-curly-brackets",tabindex:"-1"},[s("code",null,'"never"'),e(" - Expect no spaces between comment and curly brackets. "),s("a",{class:"header-anchor",href:"#never-expect-no-spaces-between-comment-and-curly-brackets","aria-label":'Permalink to "`"never"` - Expect no spaces between comment and curly brackets."'},"")],-1)),s("div",v,[t[40]||(t[40]=s("button",{title:"Copy Code",class:"copy"},null,-1)),t[41]||(t[41]=s("span",{class:"lang"},"html",-1)),s("pre",w,[s("code",null,[t[38]||(t[38]=o(`<% /* eslint "lodash-template/html-comment-spacing": ["error", "never"] */ %>
+<!--✓ GOOD-->
+<!--comment-->
+
+`,8)),s("span",D,[i(a,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:l(({})=>t[28]||(t[28]=[s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[e("Expected no spaces after "),s("code",null,""),e(", but 1 space found. ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/html-comment-spacing.html"},"lodash-template/html-comment-spacing"),e(")")])])],-1)])),default:l(()=>[t[31]||(t[31]=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"-->")])],-1))]),_:1})]),t[39]||(t[39]=e(`
+`)),s("span",A,[i(a,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:l(({})=>t[33]||(t[33]=[s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[e("Expected no spaces after "),s("code",null,""),e(", but 1 space found. ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/html-comment-spacing.html"},"lodash-template/html-comment-spacing"),e(")")])])],-1)])),default:l(()=>[t[36]||(t[36]=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"-->")])],-1))]),_:1})])])])]),t[45]||(t[45]=s("h2",{id:"implementation",tabindex:"-1"},[e("Implementation "),s("a",{class:"header-anchor",href:"#implementation","aria-label":'Permalink to "Implementation"'},"")],-1)),t[46]||(t[46]=s("ul",null,[s("li",null,[s("a",{href:"https://github.com/ota-meshi/eslint-plugin-lodash-template/blob/master/lib/rules/html-comment-spacing.js",target:"_blank",rel:"noreferrer"},"Rule source")]),s("li",null,[s("a",{href:"https://github.com/ota-meshi/eslint-plugin-lodash-template/blob/master/tests/lib/rules/html-comment-spacing.js",target:"_blank",rel:"noreferrer"},"Test source")])],-1))])}const P=n(m,[["render",E]]);export{T as __pageData,P as default};
diff --git a/assets/rules_html-content-newline.md.Dty8WRyI.js b/assets/rules_html-content-newline.md.Dty8WRyI.js
new file mode 100644
index 00000000..605ec1b9
--- /dev/null
+++ b/assets/rules_html-content-newline.md.Dty8WRyI.js
@@ -0,0 +1,47 @@
+import{_ as p,c as h,a9 as e,j as i,G as a,w as n,a as t,B as o,o as r}from"./chunks/framework.D6W_pQcY.js";const B=JSON.parse('{"title":"lodash-template/html-content-newline","description":"require or disallow a line break before and after HTML contents","frontmatter":{"pageClass":"rule-details","sidebarDepth":0,"title":"lodash-template/html-content-newline","description":"require or disallow a line break before and after HTML contents"},"headers":[],"relativePath":"rules/html-content-newline.md","filePath":"rules/html-content-newline.md","lastUpdated":1733171881000}'),k={name:"rules/html-content-newline.md"},d={class:"language-html vp-adaptive-theme"},E={class:"shiki shiki-themes github-light github-dark vp-code twoslash lsp",style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-bg":"#fff","--shiki-dark-bg":"#24292e"},tabindex:"0"},g={class:"line"},u={class:"language-html vp-adaptive-theme"},y={class:"shiki shiki-themes github-light github-dark vp-code twoslash lsp",style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-bg":"#fff","--shiki-dark-bg":"#24292e"},tabindex:"0"},m={class:"line"},c={class:"line"},f={class:"line"};function b(q,s,v,w,F,C){const l=o("v-menu");return r(),h("div",null,[s[35]||(s[35]=e('
singleline ... the configuration for single-line elements. It's a single-line element if startTag, endTag and contents are single-line.
"ignore" ... Don't enforce line breaks style before and after the contents. This is the default.
"never" ... disallow line breaks before and after the contents.
"always" ... require one line break before and after the contents.
multiline ... the configuration for multiline elements. It's a multiline element if startTag, endTag or contents are multiline.
"ignore" ... Don't enforce line breaks style before and after the contents.
"never" ... disallow line breaks before and after the contents.
"always" ... require one line break before and after the contents. This is the default.
ignoreNames ... the configuration for element names to ignore line breaks style. default ["pre", "textarea"]
`,3)),i("div",u,[s[33]||(s[33]=i("button",{title:"Copy Code",class:"copy"},null,-1)),s[34]||(s[34]=i("span",{class:"lang"},"html",-1)),i("pre",y,[i("code",null,[s[28]||(s[28]=e(`<% /*eslint
+ lodash-template/html-content-newline: ["error", {
+ "singleline": "always",
+ "multiline": "never"
+ }]
+*/ %>
+
+<!-- ✓ GOOD -->
+<div class="panel">
+ content
+</div>
+
+<div
+ class="panel"
+>content</div>
+
+<!-- ✗ BAD -->
+`,34)),i("span",m,[s[16]||(s[16]=e('<div class="panel">',6)),a(l,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:n(({})=>s[12]||(s[12]=[i("span",{class:"twoslash-popup-container vp-copy-ignore"},[i("div",{class:"twoslash-popup-error vp-doc"},[i("p",null,[t('Expected 1 line break after closing bracket of the "div" element, but no line breaks found. ('),i("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/html-content-newline.html"},"lodash-template/html-content-newline"),t(")")])])],-1)])),default:n(()=>[s[13]||(s[13]=i("span",null,[i("span")],-1))]),_:1}),s[17]||(s[17]=i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"content",-1)),a(l,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:n(({})=>s[14]||(s[14]=[i("span",{class:"twoslash-popup-container vp-copy-ignore"},[i("div",{class:"twoslash-popup-error vp-doc"},[i("p",null,[t('Expected 1 line break before opening bracket of the "div" element, but no line breaks found. ('),i("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/html-content-newline.html"},"lodash-template/html-content-newline"),t(")")])])],-1)])),default:n(()=>[s[15]||(s[15]=i("span",null,[i("span")],-1))]),_:1}),s[18]||(s[18]=i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"",-1)),s[19]||(s[19]=i("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"div",-1)),s[20]||(s[20]=i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">",-1))]),s[29]||(s[29]=e(`
+
+<div
+ class="panel"
+`,7)),i("span",c,[s[23]||(s[23]=i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">",-1)),a(l,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:n(({})=>s[21]||(s[21]=[i("span",{class:"twoslash-popup-container vp-copy-ignore"},[i("div",{class:"twoslash-popup-error vp-doc"},[i("p",null,[t('Expected no line breaks after closing bracket of the "div" element, but 1 line break found. ('),i("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/html-content-newline.html"},"lodash-template/html-content-newline"),t(")")])])],-1)])),default:n(()=>[s[22]||(s[22]=i("span",null,[i("span")],-1))]),_:1})]),s[30]||(s[30]=t(`
+`)),i("span",f,[s[26]||(s[26]=i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," ",-1)),s[27]||(s[27]=i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"content",-1)),a(l,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:n(({})=>s[24]||(s[24]=[i("span",{class:"twoslash-popup-container vp-copy-ignore"},[i("div",{class:"twoslash-popup-error vp-doc"},[i("p",null,[t('Expected no line breaks before opening bracket of the "div" element, but 1 line break found. ('),i("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/html-content-newline.html"},"lodash-template/html-content-newline"),t(")")])])],-1)])),default:n(()=>[s[25]||(s[25]=i("span",null,[i("span")],-1))]),_:1})]),s[31]||(s[31]=t(`
+`)),s[32]||(s[32]=i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},""),i("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"div"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">")],-1))])])]),s[37]||(s[37]=i("h2",{id:"implementation",tabindex:"-1"},[t("Implementation "),i("a",{class:"header-anchor",href:"#implementation","aria-label":'Permalink to "Implementation"'},"")],-1)),s[38]||(s[38]=i("ul",null,[i("li",null,[i("a",{href:"https://github.com/ota-meshi/eslint-plugin-lodash-template/blob/master/lib/rules/html-content-newline.js",target:"_blank",rel:"noreferrer"},"Rule source")]),i("li",null,[i("a",{href:"https://github.com/ota-meshi/eslint-plugin-lodash-template/blob/master/tests/lib/rules/html-content-newline.js",target:"_blank",rel:"noreferrer"},"Test source")])],-1))])}const A=p(k,[["render",b]]);export{B as __pageData,A as default};
diff --git a/assets/rules_html-content-newline.md.Dty8WRyI.lean.js b/assets/rules_html-content-newline.md.Dty8WRyI.lean.js
new file mode 100644
index 00000000..605ec1b9
--- /dev/null
+++ b/assets/rules_html-content-newline.md.Dty8WRyI.lean.js
@@ -0,0 +1,47 @@
+import{_ as p,c as h,a9 as e,j as i,G as a,w as n,a as t,B as o,o as r}from"./chunks/framework.D6W_pQcY.js";const B=JSON.parse('{"title":"lodash-template/html-content-newline","description":"require or disallow a line break before and after HTML contents","frontmatter":{"pageClass":"rule-details","sidebarDepth":0,"title":"lodash-template/html-content-newline","description":"require or disallow a line break before and after HTML contents"},"headers":[],"relativePath":"rules/html-content-newline.md","filePath":"rules/html-content-newline.md","lastUpdated":1733171881000}'),k={name:"rules/html-content-newline.md"},d={class:"language-html vp-adaptive-theme"},E={class:"shiki shiki-themes github-light github-dark vp-code twoslash lsp",style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-bg":"#fff","--shiki-dark-bg":"#24292e"},tabindex:"0"},g={class:"line"},u={class:"language-html vp-adaptive-theme"},y={class:"shiki shiki-themes github-light github-dark vp-code twoslash lsp",style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-bg":"#fff","--shiki-dark-bg":"#24292e"},tabindex:"0"},m={class:"line"},c={class:"line"},f={class:"line"};function b(q,s,v,w,F,C){const l=o("v-menu");return r(),h("div",null,[s[35]||(s[35]=e('
singleline ... the configuration for single-line elements. It's a single-line element if startTag, endTag and contents are single-line.
"ignore" ... Don't enforce line breaks style before and after the contents. This is the default.
"never" ... disallow line breaks before and after the contents.
"always" ... require one line break before and after the contents.
multiline ... the configuration for multiline elements. It's a multiline element if startTag, endTag or contents are multiline.
"ignore" ... Don't enforce line breaks style before and after the contents.
"never" ... disallow line breaks before and after the contents.
"always" ... require one line break before and after the contents. This is the default.
ignoreNames ... the configuration for element names to ignore line breaks style. default ["pre", "textarea"]
`,3)),i("div",u,[s[33]||(s[33]=i("button",{title:"Copy Code",class:"copy"},null,-1)),s[34]||(s[34]=i("span",{class:"lang"},"html",-1)),i("pre",y,[i("code",null,[s[28]||(s[28]=e(`<% /*eslint
+ lodash-template/html-content-newline: ["error", {
+ "singleline": "always",
+ "multiline": "never"
+ }]
+*/ %>
+
+<!-- ✓ GOOD -->
+<div class="panel">
+ content
+</div>
+
+<div
+ class="panel"
+>content</div>
+
+<!-- ✗ BAD -->
+`,34)),i("span",m,[s[16]||(s[16]=e('<div class="panel">',6)),a(l,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:n(({})=>s[12]||(s[12]=[i("span",{class:"twoslash-popup-container vp-copy-ignore"},[i("div",{class:"twoslash-popup-error vp-doc"},[i("p",null,[t('Expected 1 line break after closing bracket of the "div" element, but no line breaks found. ('),i("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/html-content-newline.html"},"lodash-template/html-content-newline"),t(")")])])],-1)])),default:n(()=>[s[13]||(s[13]=i("span",null,[i("span")],-1))]),_:1}),s[17]||(s[17]=i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"content",-1)),a(l,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:n(({})=>s[14]||(s[14]=[i("span",{class:"twoslash-popup-container vp-copy-ignore"},[i("div",{class:"twoslash-popup-error vp-doc"},[i("p",null,[t('Expected 1 line break before opening bracket of the "div" element, but no line breaks found. ('),i("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/html-content-newline.html"},"lodash-template/html-content-newline"),t(")")])])],-1)])),default:n(()=>[s[15]||(s[15]=i("span",null,[i("span")],-1))]),_:1}),s[18]||(s[18]=i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"",-1)),s[19]||(s[19]=i("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"div",-1)),s[20]||(s[20]=i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">",-1))]),s[29]||(s[29]=e(`
+
+<div
+ class="panel"
+`,7)),i("span",c,[s[23]||(s[23]=i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">",-1)),a(l,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:n(({})=>s[21]||(s[21]=[i("span",{class:"twoslash-popup-container vp-copy-ignore"},[i("div",{class:"twoslash-popup-error vp-doc"},[i("p",null,[t('Expected no line breaks after closing bracket of the "div" element, but 1 line break found. ('),i("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/html-content-newline.html"},"lodash-template/html-content-newline"),t(")")])])],-1)])),default:n(()=>[s[22]||(s[22]=i("span",null,[i("span")],-1))]),_:1})]),s[30]||(s[30]=t(`
+`)),i("span",f,[s[26]||(s[26]=i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," ",-1)),s[27]||(s[27]=i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"content",-1)),a(l,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:n(({})=>s[24]||(s[24]=[i("span",{class:"twoslash-popup-container vp-copy-ignore"},[i("div",{class:"twoslash-popup-error vp-doc"},[i("p",null,[t('Expected no line breaks before opening bracket of the "div" element, but 1 line break found. ('),i("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/html-content-newline.html"},"lodash-template/html-content-newline"),t(")")])])],-1)])),default:n(()=>[s[25]||(s[25]=i("span",null,[i("span")],-1))]),_:1})]),s[31]||(s[31]=t(`
+`)),s[32]||(s[32]=i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},""),i("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"div"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">")],-1))])])]),s[37]||(s[37]=i("h2",{id:"implementation",tabindex:"-1"},[t("Implementation "),i("a",{class:"header-anchor",href:"#implementation","aria-label":'Permalink to "Implementation"'},"")],-1)),s[38]||(s[38]=i("ul",null,[i("li",null,[i("a",{href:"https://github.com/ota-meshi/eslint-plugin-lodash-template/blob/master/lib/rules/html-content-newline.js",target:"_blank",rel:"noreferrer"},"Rule source")]),i("li",null,[i("a",{href:"https://github.com/ota-meshi/eslint-plugin-lodash-template/blob/master/tests/lib/rules/html-content-newline.js",target:"_blank",rel:"noreferrer"},"Test source")])],-1))])}const A=p(k,[["render",b]]);export{B as __pageData,A as default};
diff --git a/assets/rules_html-indent.md.D6ND3aJr.js b/assets/rules_html-indent.md.D6ND3aJr.js
new file mode 100644
index 00000000..b2aa6885
--- /dev/null
+++ b/assets/rules_html-indent.md.D6ND3aJr.js
@@ -0,0 +1,41 @@
+import{_ as h,c as p,a9 as l,j as i,G as e,w as a,a as t,B as k,o}from"./chunks/framework.D6W_pQcY.js";const B=JSON.parse('{"title":"lodash-template/html-indent","description":"enforce consistent HTML indentation.","frontmatter":{"pageClass":"rule-details","sidebarDepth":0,"title":"lodash-template/html-indent","description":"enforce consistent HTML indentation."},"headers":[],"relativePath":"rules/html-indent.md","filePath":"rules/html-indent.md","lastUpdated":1733171881000}'),r={name:"rules/html-indent.md"},d={class:"language-html vp-adaptive-theme"},E={class:"shiki shiki-themes github-light github-dark vp-code twoslash lsp",style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-bg":"#fff","--shiki-dark-bg":"#24292e"},tabindex:"0"},g={class:"line"},u={class:"line"},c={class:"line"};function y(m,s,b,f,q,F){const n=k("v-menu");return o(),p("div",null,[s[18]||(s[18]=l('
type (number | "tab") ... The type of indentation. Default is 2. If this is a number, it's the number of spaces for one indent. If this is "tab", it uses one tab for one indent.
attribute (integer) ... The multiplier of indentation for attributes. Default is 1.
closeBracket (integer) ... The multiplier of indentation for right brackets. Default is 0.
Examples for this rule with { attribute: 1, closeBracket: 1 } option:
`,9))])}const D=h(r,[["render",y]]);export{B as __pageData,D as default};
diff --git a/assets/rules_html-indent.md.D6ND3aJr.lean.js b/assets/rules_html-indent.md.D6ND3aJr.lean.js
new file mode 100644
index 00000000..b2aa6885
--- /dev/null
+++ b/assets/rules_html-indent.md.D6ND3aJr.lean.js
@@ -0,0 +1,41 @@
+import{_ as h,c as p,a9 as l,j as i,G as e,w as a,a as t,B as k,o}from"./chunks/framework.D6W_pQcY.js";const B=JSON.parse('{"title":"lodash-template/html-indent","description":"enforce consistent HTML indentation.","frontmatter":{"pageClass":"rule-details","sidebarDepth":0,"title":"lodash-template/html-indent","description":"enforce consistent HTML indentation."},"headers":[],"relativePath":"rules/html-indent.md","filePath":"rules/html-indent.md","lastUpdated":1733171881000}'),r={name:"rules/html-indent.md"},d={class:"language-html vp-adaptive-theme"},E={class:"shiki shiki-themes github-light github-dark vp-code twoslash lsp",style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-bg":"#fff","--shiki-dark-bg":"#24292e"},tabindex:"0"},g={class:"line"},u={class:"line"},c={class:"line"};function y(m,s,b,f,q,F){const n=k("v-menu");return o(),p("div",null,[s[18]||(s[18]=l('
type (number | "tab") ... The type of indentation. Default is 2. If this is a number, it's the number of spaces for one indent. If this is "tab", it uses one tab for one indent.
attribute (integer) ... The multiplier of indentation for attributes. Default is 1.
closeBracket (integer) ... The multiplier of indentation for right brackets. Default is 0.
Examples for this rule with { attribute: 1, closeBracket: 1 } option:
`,9))])}const D=h(r,[["render",y]]);export{B as __pageData,D as default};
diff --git a/assets/rules_index.md.zA_efqXq.js b/assets/rules_index.md.zA_efqXq.js
new file mode 100644
index 00000000..5d3098e7
--- /dev/null
+++ b/assets/rules_index.md.zA_efqXq.js
@@ -0,0 +1,13 @@
+import{_ as e,c as l,a9 as a,o as i}from"./chunks/framework.D6W_pQcY.js";const g=JSON.parse('{"title":"All Rules","description":"","frontmatter":{"sidebarDepth":0},"headers":[],"relativePath":"rules/index.md","filePath":"rules/index.md","lastUpdated":1733171881000}'),s={name:"rules/index.md"};function n(d,t,o,r,h,p){return i(),l("div",null,t[0]||(t[0]=[a(`
`,22)]))}const m=e(s,[["render",n]]);export{g as __pageData,m as default};
diff --git a/assets/rules_index.md.zA_efqXq.lean.js b/assets/rules_index.md.zA_efqXq.lean.js
new file mode 100644
index 00000000..5d3098e7
--- /dev/null
+++ b/assets/rules_index.md.zA_efqXq.lean.js
@@ -0,0 +1,13 @@
+import{_ as e,c as l,a9 as a,o as i}from"./chunks/framework.D6W_pQcY.js";const g=JSON.parse('{"title":"All Rules","description":"","frontmatter":{"sidebarDepth":0},"headers":[],"relativePath":"rules/index.md","filePath":"rules/index.md","lastUpdated":1733171881000}'),s={name:"rules/index.md"};function n(d,t,o,r,h,p){return i(),l("div",null,t[0]||(t[0]=[a(`
`,22)]))}const m=e(s,[["render",n]]);export{g as __pageData,m as default};
diff --git a/assets/rules_max-attributes-per-line.md.Ztqx6w1h.js b/assets/rules_max-attributes-per-line.md.Ztqx6w1h.js
new file mode 100644
index 00000000..57849e28
--- /dev/null
+++ b/assets/rules_max-attributes-per-line.md.Ztqx6w1h.js
@@ -0,0 +1,76 @@
+import{_ as p,c as h,a9 as l,j as i,G as e,w as t,a,B as k,o as r}from"./chunks/framework.D6W_pQcY.js";const T=JSON.parse('{"title":"lodash-template/max-attributes-per-line","description":"enforce the maximum number of HTML attributes per line","frontmatter":{"pageClass":"rule-details","sidebarDepth":0,"title":"lodash-template/max-attributes-per-line","description":"enforce the maximum number of HTML attributes per line"},"headers":[],"relativePath":"rules/max-attributes-per-line.md","filePath":"rules/max-attributes-per-line.md","lastUpdated":1733171881000}'),o={name:"rules/max-attributes-per-line.md"},d={class:"language-html vp-adaptive-theme"},E={class:"shiki shiki-themes github-light github-dark vp-code twoslash lsp",style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-bg":"#fff","--shiki-dark-bg":"#24292e"},tabindex:"0"},g={class:"line"},u={class:"line"},y={class:"line"},m={class:"language-html vp-adaptive-theme"},F={class:"shiki shiki-themes github-light github-dark vp-code twoslash lsp",style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-bg":"#fff","--shiki-dark-bg":"#24292e"},tabindex:"0"},b={class:"line"},f={class:"language-html vp-adaptive-theme"},C={class:"shiki shiki-themes github-light github-dark vp-code twoslash lsp",style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-bg":"#fff","--shiki-dark-bg":"#24292e"},tabindex:"0"},B={class:"line"},q={class:"language-html vp-adaptive-theme"},v={class:"shiki shiki-themes github-light github-dark vp-code twoslash lsp",style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-bg":"#fff","--shiki-dark-bg":"#24292e"},tabindex:"0"},w={class:"line"};function x(D,s,A,c,O,L){const n=k("v-menu");return r(),h("div",null,[s[53]||(s[53]=l('
Limits the maximum number of attributes/properties per line to improve readability.
This rule aims to enforce a number of attributes per line in HTML. It checks all the elements and verifies that the number of attributes per line does not exceed the defined maximum. An attribute is considered to be in a new line when there is a line break between two attributes.
',6)),i("div",d,[s[24]||(s[24]=i("button",{title:"Copy Code",class:"copy"},null,-1)),s[25]||(s[25]=i("span",{class:"lang"},"html",-1)),i("pre",E,[i("code",null,[s[16]||(s[16]=l(`<% /* eslint "lodash-template/max-attributes-per-line": "error" */ %>
+<!-- ✓ GOOD -->
+<input foo="1">
+
+<input
+ foo="1"
+ bar="2"
+>
+
+<input
+ foo="1"
+ bar="2"
+ baz="3"
+>
+
+<!-- ✗ BAD -->
+`,32)),i("span",g,[s[2]||(s[2]=l('<input foo="1"',6)),e(n,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:t(({})=>s[0]||(s[0]=[i("span",{class:"twoslash-popup-container vp-copy-ignore"},[i("div",{class:"twoslash-popup-error vp-doc"},[i("p",null,[a('Attribute "bar" should be on a new line. ('),i("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/max-attributes-per-line.html"},"lodash-template/max-attributes-per-line"),a(")")])])],-1)])),default:t(()=>[s[1]||(s[1]=i("span",null,[i("span",null,[i("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}},"bar"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"="),i("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"2"')])],-1))]),_:1}),s[3]||(s[3]=i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">",-1))]),s[17]||(s[17]=a(`
+`)),s[18]||(s[18]=i("span",{class:"line"},null,-1)),s[19]||(s[19]=a(`
+`)),s[20]||(s[20]=i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<"),i("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"input")],-1)),s[21]||(s[21]=a(`
+`)),i("span",u,[s[6]||(s[6]=i("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," foo",-1)),s[7]||(s[7]=i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"=",-1)),s[8]||(s[8]=i("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"1"',-1)),s[9]||(s[9]=i("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," ",-1)),e(n,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:t(({})=>s[4]||(s[4]=[i("span",{class:"twoslash-popup-container vp-copy-ignore"},[i("div",{class:"twoslash-popup-error vp-doc"},[i("p",null,[a('Attribute "bar" should be on a new line. ('),i("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/max-attributes-per-line.html"},"lodash-template/max-attributes-per-line"),a(")")])])],-1)])),default:t(()=>[s[5]||(s[5]=i("span",null,[i("span",null,[i("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}},"bar"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"="),i("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"2"')])],-1))]),_:1})]),s[22]||(s[22]=l(`
+>
+
+<input
+`,7)),i("span",y,[s[12]||(s[12]=i("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," foo",-1)),s[13]||(s[13]=i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"=",-1)),s[14]||(s[14]=i("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"1"',-1)),s[15]||(s[15]=i("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," ",-1)),e(n,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:t(({})=>s[10]||(s[10]=[i("span",{class:"twoslash-popup-container vp-copy-ignore"},[i("div",{class:"twoslash-popup-error vp-doc"},[i("p",null,[a('Attribute "bar" should be on a new line. ('),i("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/max-attributes-per-line.html"},"lodash-template/max-attributes-per-line"),a(")")])])],-1)])),default:t(()=>[s[11]||(s[11]=i("span",null,[i("span",null,[i("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}},"bar"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"="),i("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"2"')])],-1))]),_:1})]),s[23]||(s[23]=l(`
+ baz="3"
+>`,4))])])]),s[54]||(s[54]=l(`
For multi-line declarations, defines if allows attributes to be put in the first line. (Default false)
`,4)),i("div",m,[s[33]||(s[33]=i("button",{title:"Copy Code",class:"copy"},null,-1)),s[34]||(s[34]=i("span",{class:"lang"},"html",-1)),i("pre",F,[i("code",null,[s[31]||(s[31]=l(`<% /* eslint
+ lodash-template/max-attributes-per-line: ["error", {
+ "multiline": {
+ "allowFirstLine": false
+ }
+ }]
+*/ %>
+
+<!-- ✓ GOOD -->
+<input
+ foo="1"
+ bar="2"
+>
+
+<!-- ✗ BAD -->
+`,30)),i("span",b,[s[28]||(s[28]=i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<",-1)),s[29]||(s[29]=i("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"input",-1)),s[30]||(s[30]=i("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," ",-1)),e(n,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:t(({})=>s[26]||(s[26]=[i("span",{class:"twoslash-popup-container vp-copy-ignore"},[i("div",{class:"twoslash-popup-error vp-doc"},[i("p",null,[a('Attribute "foo" should be on a new line. ('),i("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/max-attributes-per-line.html"},"lodash-template/max-attributes-per-line"),a(")")])])],-1)])),default:t(()=>[s[27]||(s[27]=i("span",null,[i("span",null,[i("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}},"foo"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"="),i("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"1"')])],-1))]),_:1})]),s[32]||(s[32]=l(`
+ bar="2"
+>`,4))])])]),s[55]||(s[55]=i("h3",{id:"singleline",tabindex:"-1"},[i("code",null,"singleline"),a(),i("a",{class:"header-anchor",href:"#singleline","aria-label":'Permalink to "`singleline`"'},"")],-1)),s[56]||(s[56]=i("p",null,"Number of maximum attributes per line when the opening tag is in a single line. (Default is 1)",-1)),i("div",f,[s[40]||(s[40]=i("button",{title:"Copy Code",class:"copy"},null,-1)),s[41]||(s[41]=i("span",{class:"lang"},"html",-1)),i("pre",C,[i("code",null,[s[39]||(s[39]=l(`<% /* eslint
+ lodash-template/max-attributes-per-line: ["error", {
+ "singleline": 1
+ }]
+*/ %>
+
+<!-- ✓ GOOD -->
+<input foo="1">
+
+<!-- ✗ BAD -->
+`,20)),i("span",B,[s[37]||(s[37]=l('<input foo="1"',6)),e(n,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:t(({})=>s[35]||(s[35]=[i("span",{class:"twoslash-popup-container vp-copy-ignore"},[i("div",{class:"twoslash-popup-error vp-doc"},[i("p",null,[a('Attribute "bar" should be on a new line. ('),i("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/max-attributes-per-line.html"},"lodash-template/max-attributes-per-line"),a(")")])])],-1)])),default:t(()=>[s[36]||(s[36]=i("span",null,[i("span",null,[i("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}},"bar"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"="),i("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"2"')])],-1))]),_:1}),s[38]||(s[38]=i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">",-1))])])])]),s[57]||(s[57]=i("h3",{id:"multiline",tabindex:"-1"},[i("code",null,"multiline"),a(),i("a",{class:"header-anchor",href:"#multiline","aria-label":'Permalink to "`multiline`"'},"")],-1)),s[58]||(s[58]=i("p",null,"Number of maximum attributes per line when a tag is in multiple lines. (Default is 1)",-1)),i("div",q,[s[51]||(s[51]=i("button",{title:"Copy Code",class:"copy"},null,-1)),s[52]||(s[52]=i("span",{class:"lang"},"html",-1)),i("pre",v,[i("code",null,[s[48]||(s[48]=l(`<% /* eslint
+ lodash-template/max-attributes-per-line: ["error", {
+ "multiline": 1
+ }]
+*/ %>
+
+<!-- ✓ GOOD -->
+<input
+ foo="1"
+ bar="2"
+>
+
+<!-- ✗ BAD -->
+<input
+`,28)),i("span",w,[s[44]||(s[44]=i("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," foo",-1)),s[45]||(s[45]=i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"=",-1)),s[46]||(s[46]=i("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"1"',-1)),s[47]||(s[47]=i("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," ",-1)),e(n,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:t(({})=>s[42]||(s[42]=[i("span",{class:"twoslash-popup-container vp-copy-ignore"},[i("div",{class:"twoslash-popup-error vp-doc"},[i("p",null,[a('Attribute "bar" should be on a new line. ('),i("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/max-attributes-per-line.html"},"lodash-template/max-attributes-per-line"),a(")")])])],-1)])),default:t(()=>[s[43]||(s[43]=i("span",null,[i("span",null,[i("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}},"bar"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"="),i("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"2"')])],-1))]),_:1})]),s[49]||(s[49]=a(`
+`)),s[50]||(s[50]=i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">")],-1))])])]),s[59]||(s[59]=i("h2",{id:"implementation",tabindex:"-1"},[a("Implementation "),i("a",{class:"header-anchor",href:"#implementation","aria-label":'Permalink to "Implementation"'},"")],-1)),s[60]||(s[60]=i("ul",null,[i("li",null,[i("a",{href:"https://github.com/ota-meshi/eslint-plugin-lodash-template/blob/master/lib/rules/max-attributes-per-line.js",target:"_blank",rel:"noreferrer"},"Rule source")]),i("li",null,[i("a",{href:"https://github.com/ota-meshi/eslint-plugin-lodash-template/blob/master/tests/lib/rules/max-attributes-per-line.js",target:"_blank",rel:"noreferrer"},"Test source")])],-1))])}const N=p(o,[["render",x]]);export{T as __pageData,N as default};
diff --git a/assets/rules_max-attributes-per-line.md.Ztqx6w1h.lean.js b/assets/rules_max-attributes-per-line.md.Ztqx6w1h.lean.js
new file mode 100644
index 00000000..57849e28
--- /dev/null
+++ b/assets/rules_max-attributes-per-line.md.Ztqx6w1h.lean.js
@@ -0,0 +1,76 @@
+import{_ as p,c as h,a9 as l,j as i,G as e,w as t,a,B as k,o as r}from"./chunks/framework.D6W_pQcY.js";const T=JSON.parse('{"title":"lodash-template/max-attributes-per-line","description":"enforce the maximum number of HTML attributes per line","frontmatter":{"pageClass":"rule-details","sidebarDepth":0,"title":"lodash-template/max-attributes-per-line","description":"enforce the maximum number of HTML attributes per line"},"headers":[],"relativePath":"rules/max-attributes-per-line.md","filePath":"rules/max-attributes-per-line.md","lastUpdated":1733171881000}'),o={name:"rules/max-attributes-per-line.md"},d={class:"language-html vp-adaptive-theme"},E={class:"shiki shiki-themes github-light github-dark vp-code twoslash lsp",style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-bg":"#fff","--shiki-dark-bg":"#24292e"},tabindex:"0"},g={class:"line"},u={class:"line"},y={class:"line"},m={class:"language-html vp-adaptive-theme"},F={class:"shiki shiki-themes github-light github-dark vp-code twoslash lsp",style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-bg":"#fff","--shiki-dark-bg":"#24292e"},tabindex:"0"},b={class:"line"},f={class:"language-html vp-adaptive-theme"},C={class:"shiki shiki-themes github-light github-dark vp-code twoslash lsp",style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-bg":"#fff","--shiki-dark-bg":"#24292e"},tabindex:"0"},B={class:"line"},q={class:"language-html vp-adaptive-theme"},v={class:"shiki shiki-themes github-light github-dark vp-code twoslash lsp",style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-bg":"#fff","--shiki-dark-bg":"#24292e"},tabindex:"0"},w={class:"line"};function x(D,s,A,c,O,L){const n=k("v-menu");return r(),h("div",null,[s[53]||(s[53]=l('
Limits the maximum number of attributes/properties per line to improve readability.
This rule aims to enforce a number of attributes per line in HTML. It checks all the elements and verifies that the number of attributes per line does not exceed the defined maximum. An attribute is considered to be in a new line when there is a line break between two attributes.
',6)),i("div",d,[s[24]||(s[24]=i("button",{title:"Copy Code",class:"copy"},null,-1)),s[25]||(s[25]=i("span",{class:"lang"},"html",-1)),i("pre",E,[i("code",null,[s[16]||(s[16]=l(`<% /* eslint "lodash-template/max-attributes-per-line": "error" */ %>
+<!-- ✓ GOOD -->
+<input foo="1">
+
+<input
+ foo="1"
+ bar="2"
+>
+
+<input
+ foo="1"
+ bar="2"
+ baz="3"
+>
+
+<!-- ✗ BAD -->
+`,32)),i("span",g,[s[2]||(s[2]=l('<input foo="1"',6)),e(n,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:t(({})=>s[0]||(s[0]=[i("span",{class:"twoslash-popup-container vp-copy-ignore"},[i("div",{class:"twoslash-popup-error vp-doc"},[i("p",null,[a('Attribute "bar" should be on a new line. ('),i("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/max-attributes-per-line.html"},"lodash-template/max-attributes-per-line"),a(")")])])],-1)])),default:t(()=>[s[1]||(s[1]=i("span",null,[i("span",null,[i("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}},"bar"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"="),i("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"2"')])],-1))]),_:1}),s[3]||(s[3]=i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">",-1))]),s[17]||(s[17]=a(`
+`)),s[18]||(s[18]=i("span",{class:"line"},null,-1)),s[19]||(s[19]=a(`
+`)),s[20]||(s[20]=i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<"),i("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"input")],-1)),s[21]||(s[21]=a(`
+`)),i("span",u,[s[6]||(s[6]=i("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," foo",-1)),s[7]||(s[7]=i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"=",-1)),s[8]||(s[8]=i("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"1"',-1)),s[9]||(s[9]=i("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," ",-1)),e(n,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:t(({})=>s[4]||(s[4]=[i("span",{class:"twoslash-popup-container vp-copy-ignore"},[i("div",{class:"twoslash-popup-error vp-doc"},[i("p",null,[a('Attribute "bar" should be on a new line. ('),i("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/max-attributes-per-line.html"},"lodash-template/max-attributes-per-line"),a(")")])])],-1)])),default:t(()=>[s[5]||(s[5]=i("span",null,[i("span",null,[i("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}},"bar"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"="),i("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"2"')])],-1))]),_:1})]),s[22]||(s[22]=l(`
+>
+
+<input
+`,7)),i("span",y,[s[12]||(s[12]=i("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," foo",-1)),s[13]||(s[13]=i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"=",-1)),s[14]||(s[14]=i("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"1"',-1)),s[15]||(s[15]=i("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," ",-1)),e(n,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:t(({})=>s[10]||(s[10]=[i("span",{class:"twoslash-popup-container vp-copy-ignore"},[i("div",{class:"twoslash-popup-error vp-doc"},[i("p",null,[a('Attribute "bar" should be on a new line. ('),i("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/max-attributes-per-line.html"},"lodash-template/max-attributes-per-line"),a(")")])])],-1)])),default:t(()=>[s[11]||(s[11]=i("span",null,[i("span",null,[i("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}},"bar"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"="),i("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"2"')])],-1))]),_:1})]),s[23]||(s[23]=l(`
+ baz="3"
+>`,4))])])]),s[54]||(s[54]=l(`
For multi-line declarations, defines if allows attributes to be put in the first line. (Default false)
`,4)),i("div",m,[s[33]||(s[33]=i("button",{title:"Copy Code",class:"copy"},null,-1)),s[34]||(s[34]=i("span",{class:"lang"},"html",-1)),i("pre",F,[i("code",null,[s[31]||(s[31]=l(`<% /* eslint
+ lodash-template/max-attributes-per-line: ["error", {
+ "multiline": {
+ "allowFirstLine": false
+ }
+ }]
+*/ %>
+
+<!-- ✓ GOOD -->
+<input
+ foo="1"
+ bar="2"
+>
+
+<!-- ✗ BAD -->
+`,30)),i("span",b,[s[28]||(s[28]=i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<",-1)),s[29]||(s[29]=i("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"input",-1)),s[30]||(s[30]=i("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," ",-1)),e(n,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:t(({})=>s[26]||(s[26]=[i("span",{class:"twoslash-popup-container vp-copy-ignore"},[i("div",{class:"twoslash-popup-error vp-doc"},[i("p",null,[a('Attribute "foo" should be on a new line. ('),i("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/max-attributes-per-line.html"},"lodash-template/max-attributes-per-line"),a(")")])])],-1)])),default:t(()=>[s[27]||(s[27]=i("span",null,[i("span",null,[i("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}},"foo"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"="),i("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"1"')])],-1))]),_:1})]),s[32]||(s[32]=l(`
+ bar="2"
+>`,4))])])]),s[55]||(s[55]=i("h3",{id:"singleline",tabindex:"-1"},[i("code",null,"singleline"),a(),i("a",{class:"header-anchor",href:"#singleline","aria-label":'Permalink to "`singleline`"'},"")],-1)),s[56]||(s[56]=i("p",null,"Number of maximum attributes per line when the opening tag is in a single line. (Default is 1)",-1)),i("div",f,[s[40]||(s[40]=i("button",{title:"Copy Code",class:"copy"},null,-1)),s[41]||(s[41]=i("span",{class:"lang"},"html",-1)),i("pre",C,[i("code",null,[s[39]||(s[39]=l(`<% /* eslint
+ lodash-template/max-attributes-per-line: ["error", {
+ "singleline": 1
+ }]
+*/ %>
+
+<!-- ✓ GOOD -->
+<input foo="1">
+
+<!-- ✗ BAD -->
+`,20)),i("span",B,[s[37]||(s[37]=l('<input foo="1"',6)),e(n,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:t(({})=>s[35]||(s[35]=[i("span",{class:"twoslash-popup-container vp-copy-ignore"},[i("div",{class:"twoslash-popup-error vp-doc"},[i("p",null,[a('Attribute "bar" should be on a new line. ('),i("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/max-attributes-per-line.html"},"lodash-template/max-attributes-per-line"),a(")")])])],-1)])),default:t(()=>[s[36]||(s[36]=i("span",null,[i("span",null,[i("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}},"bar"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"="),i("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"2"')])],-1))]),_:1}),s[38]||(s[38]=i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">",-1))])])])]),s[57]||(s[57]=i("h3",{id:"multiline",tabindex:"-1"},[i("code",null,"multiline"),a(),i("a",{class:"header-anchor",href:"#multiline","aria-label":'Permalink to "`multiline`"'},"")],-1)),s[58]||(s[58]=i("p",null,"Number of maximum attributes per line when a tag is in multiple lines. (Default is 1)",-1)),i("div",q,[s[51]||(s[51]=i("button",{title:"Copy Code",class:"copy"},null,-1)),s[52]||(s[52]=i("span",{class:"lang"},"html",-1)),i("pre",v,[i("code",null,[s[48]||(s[48]=l(`<% /* eslint
+ lodash-template/max-attributes-per-line: ["error", {
+ "multiline": 1
+ }]
+*/ %>
+
+<!-- ✓ GOOD -->
+<input
+ foo="1"
+ bar="2"
+>
+
+<!-- ✗ BAD -->
+<input
+`,28)),i("span",w,[s[44]||(s[44]=i("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," foo",-1)),s[45]||(s[45]=i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"=",-1)),s[46]||(s[46]=i("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"1"',-1)),s[47]||(s[47]=i("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," ",-1)),e(n,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:t(({})=>s[42]||(s[42]=[i("span",{class:"twoslash-popup-container vp-copy-ignore"},[i("div",{class:"twoslash-popup-error vp-doc"},[i("p",null,[a('Attribute "bar" should be on a new line. ('),i("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/max-attributes-per-line.html"},"lodash-template/max-attributes-per-line"),a(")")])])],-1)])),default:t(()=>[s[43]||(s[43]=i("span",null,[i("span",null,[i("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}},"bar"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"="),i("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"2"')])],-1))]),_:1})]),s[49]||(s[49]=a(`
+`)),s[50]||(s[50]=i("span",{class:"line"},[i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">")],-1))])])]),s[59]||(s[59]=i("h2",{id:"implementation",tabindex:"-1"},[a("Implementation "),i("a",{class:"header-anchor",href:"#implementation","aria-label":'Permalink to "Implementation"'},"")],-1)),s[60]||(s[60]=i("ul",null,[i("li",null,[i("a",{href:"https://github.com/ota-meshi/eslint-plugin-lodash-template/blob/master/lib/rules/max-attributes-per-line.js",target:"_blank",rel:"noreferrer"},"Rule source")]),i("li",null,[i("a",{href:"https://github.com/ota-meshi/eslint-plugin-lodash-template/blob/master/tests/lib/rules/max-attributes-per-line.js",target:"_blank",rel:"noreferrer"},"Test source")])],-1))])}const N=p(o,[["render",x]]);export{T as __pageData,N as default};
diff --git a/assets/rules_no-duplicate-attributes.md.B5t6CrQv.js b/assets/rules_no-duplicate-attributes.md.B5t6CrQv.js
new file mode 100644
index 00000000..f0a4ff6a
--- /dev/null
+++ b/assets/rules_no-duplicate-attributes.md.B5t6CrQv.js
@@ -0,0 +1,11 @@
+import{_ as n,c as p,a9 as e,j as s,G as o,w as a,a as i,B as r,o as h}from"./chunks/framework.D6W_pQcY.js";const w=JSON.parse('{"title":"lodash-template/no-duplicate-attributes","description":"disallow duplication of HTML attributes. (ex. :ng: `
`)","frontmatter":{"pageClass":"rule-details","sidebarDepth":0,"title":"lodash-template/no-duplicate-attributes","description":"disallow duplication of HTML attributes. (ex. :ng: `
When duplicate arguments exist, only the last one is valid. It's possibly mistakes.
',6)),s("div",u,[t[10]||(t[10]=s("button",{title:"Copy Code",class:"copy"},null,-1)),t[11]||(t[11]=s("span",{class:"lang"},"html",-1)),s("pre",k,[s("code",null,[t[6]||(t[6]=e(`<% /* eslint "lodash-template/no-duplicate-attributes": "error" */ %>
+<!-- ✓ GOOD -->
+<div
+ foo="abc"
+></div>
+
+<!-- ✗ BAD -->
+<div
+`,16)),s("span",g,[t[2]||(t[2]=s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," ",-1)),o(l,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:a(({})=>t[0]||(t[0]=[s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[i('Duplicate attribute "foo". ('),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/no-duplicate-attributes.html"},"lodash-template/no-duplicate-attributes"),i(")")])])],-1)])),default:a(()=>[t[1]||(t[1]=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}},"foo"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"="),s("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"abc"')])],-1))]),_:1})]),t[7]||(t[7]=i(`
+`)),s("span",m,[t[5]||(t[5]=s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," ",-1)),o(l,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:a(({})=>t[3]||(t[3]=[s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[i('Duplicate attribute "foo". ('),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/no-duplicate-attributes.html"},"lodash-template/no-duplicate-attributes"),i(")")])])],-1)])),default:a(()=>[t[4]||(t[4]=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}},"foo"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"="),s("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"def"')])],-1))]),_:1})]),t[8]||(t[8]=i(`
+`)),t[9]||(t[9]=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">"),s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"div"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">")],-1))])])]),t[13]||(t[13]=s("h2",{id:"implementation",tabindex:"-1"},[i("Implementation "),s("a",{class:"header-anchor",href:"#implementation","aria-label":'Permalink to "Implementation"'},"")],-1)),t[14]||(t[14]=s("ul",null,[s("li",null,[s("a",{href:"https://github.com/ota-meshi/eslint-plugin-lodash-template/blob/master/lib/rules/no-duplicate-attributes.js",target:"_blank",rel:"noreferrer"},"Rule source")]),s("li",null,[s("a",{href:"https://github.com/ota-meshi/eslint-plugin-lodash-template/blob/master/tests/lib/rules/no-duplicate-attributes.js",target:"_blank",rel:"noreferrer"},"Test source")])],-1))])}const D=n(d,[["render",b]]);export{w as __pageData,D as default};
diff --git a/assets/rules_no-duplicate-attributes.md.B5t6CrQv.lean.js b/assets/rules_no-duplicate-attributes.md.B5t6CrQv.lean.js
new file mode 100644
index 00000000..f0a4ff6a
--- /dev/null
+++ b/assets/rules_no-duplicate-attributes.md.B5t6CrQv.lean.js
@@ -0,0 +1,11 @@
+import{_ as n,c as p,a9 as e,j as s,G as o,w as a,a as i,B as r,o as h}from"./chunks/framework.D6W_pQcY.js";const w=JSON.parse('{"title":"lodash-template/no-duplicate-attributes","description":"disallow duplication of HTML attributes. (ex. :ng: `
`)","frontmatter":{"pageClass":"rule-details","sidebarDepth":0,"title":"lodash-template/no-duplicate-attributes","description":"disallow duplication of HTML attributes. (ex. :ng: `
⚙️ This rule is included in all of "plugin:lodash-template/best-practices", "plugin:lodash-template/recommended", "plugin:lodash-template/recommended-with-html", "plugin:lodash-template/recommended-with-script" and "plugin:lodash-template/all".
⚙️ This rule is included in all of "plugin:lodash-template/best-practices", "plugin:lodash-template/recommended", "plugin:lodash-template/recommended-with-html", "plugin:lodash-template/recommended-with-script" and "plugin:lodash-template/all".
',5)),t("div",d,[e[3]||(e[3]=t("button",{title:"Copy Code",class:"copy"},null,-1)),e[4]||(e[4]=t("span",{class:"lang"},"html",-1)),t("pre",u,[t("code",null,[e[2]||(e[2]=l(`<% /* eslint "lodash-template/no-html-comments": "error" */ %>
+<% /* ✓ GOOD */ %>
+
+`,6)),t("span",c,[m(a,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:o(({})=>e[0]||(e[0]=[t("span",{class:"twoslash-popup-container vp-copy-ignore"},[t("div",{class:"twoslash-popup-error vp-doc"},[t("p",null,[s("HTML comment are forbidden. ("),t("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/no-html-comments.html"},"lodash-template/no-html-comments"),s(")")])])],-1)])),default:o(()=>[e[1]||(e[1]=t("span",null,[t("span",null,[t("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")])],-1))]),_:1})])])])]),e[6]||(e[6]=t("h2",{id:"implementation",tabindex:"-1"},[s("Implementation "),t("a",{class:"header-anchor",href:"#implementation","aria-label":'Permalink to "Implementation"'},"")],-1)),e[7]||(e[7]=t("ul",null,[t("li",null,[t("a",{href:"https://github.com/ota-meshi/eslint-plugin-lodash-template/blob/master/lib/rules/no-html-comments.js",target:"_blank",rel:"noreferrer"},"Rule source")]),t("li",null,[t("a",{href:"https://github.com/ota-meshi/eslint-plugin-lodash-template/blob/master/tests/lib/rules/no-html-comments.js",target:"_blank",rel:"noreferrer"},"Test source")])],-1))])}const x=n(p,[["render",k]]);export{w as __pageData,x as default};
diff --git a/assets/rules_no-invalid-template-interpolation.md.7uBC17rV.js b/assets/rules_no-invalid-template-interpolation.md.7uBC17rV.js
new file mode 100644
index 00000000..8aaef36c
--- /dev/null
+++ b/assets/rules_no-invalid-template-interpolation.md.7uBC17rV.js
@@ -0,0 +1,14 @@
+import{_ as o,c as p,a9 as a,j as i,G as n,w as l,a as s,B as h,o as r}from"./chunks/framework.D6W_pQcY.js";const w=JSON.parse('{"title":"lodash-template/no-invalid-template-interpolation","description":"disallow other than expression in micro-template interpolation. (ex. :ng: `<%= if (test) { %>`)","frontmatter":{"pageClass":"rule-details","sidebarDepth":0,"title":"lodash-template/no-invalid-template-interpolation","description":"disallow other than expression in micro-template interpolation. (ex. :ng: `<%= if (test) { %>`)"},"headers":[],"relativePath":"rules/no-invalid-template-interpolation.md","filePath":"rules/no-invalid-template-interpolation.md","lastUpdated":1733171881000}'),d={name:"rules/no-invalid-template-interpolation.md"},k={class:"language-html vp-adaptive-theme"},E={class:"shiki shiki-themes github-light github-dark vp-code twoslash lsp",style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-bg":"#fff","--shiki-dark-bg":"#24292e"},tabindex:"0"},g={class:"line"},m={class:"line"};function u(y,t,c,v,f,D){const e=h("v-menu");return r(),p("div",null,[t[14]||(t[14]=a('
disallow other than expression in micro-template interpolation. (ex. 🆖 <%= if (test) { %>)
⚙️ This rule is included in all of "plugin:lodash-template/best-practices", "plugin:lodash-template/recommended", "plugin:lodash-template/recommended-with-html", "plugin:lodash-template/recommended-with-script" and "plugin:lodash-template/all".
This rule disallow other than expression in micro-template interpolation.
',5)),i("div",k,[t[12]||(t[12]=i("button",{title:"Copy Code",class:"copy"},null,-1)),t[13]||(t[13]=i("span",{class:"lang"},"html",-1)),i("pre",E,[i("code",null,[t[10]||(t[10]=a(`<% /* eslint "lodash-template/no-invalid-template-interpolation": "error" */ %>
+<!-- ✓ GOOD -->
+<% if (a) { %>
+ <div></div>
+<% } %>
+
+<div><%= text %></div>
+
+<!-- ✗ BAD -->
+`,18)),i("span",g,[n(e,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:l(({})=>t[0]||(t[0]=[i("span",{class:"twoslash-popup-container vp-copy-ignore"},[i("div",{class:"twoslash-popup-error vp-doc"},[i("p",null,[s("Expected an expression, but a not expressions. ("),i("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/no-invalid-template-interpolation.html"},"lodash-template/no-invalid-template-interpolation"),s(")")])])],-1)])),default:l(()=>[t[1]||(t[1]=i("span",null,[i("span",null,[i("span",{style:{"--shiki-light":"#B31D28","--shiki-light-font-style":"italic","--shiki-dark":"#FDAEB7","--shiki-dark-font-style":"italic"}},"<"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"%= if (a) { %>")])],-1))]),_:1})]),t[11]||(t[11]=a(`
+ <div></div>
+<% } %>
+
+`,7)),i("span",m,[t[4]||(t[4]=i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<",-1)),t[5]||(t[5]=i("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"div",-1)),t[6]||(t[6]=i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">",-1)),n(e,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:l(({})=>t[2]||(t[2]=[i("span",{class:"twoslash-popup-container vp-copy-ignore"},[i("div",{class:"twoslash-popup-error vp-doc"},[i("p",null,[s("Empty statement. ("),i("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/no-invalid-template-interpolation.html"},"lodash-template/no-invalid-template-interpolation"),s(")")])])],-1)])),default:l(()=>[t[3]||(t[3]=i("span",null,[i("span",null,[i("span",{style:{"--shiki-light":"#B31D28","--shiki-light-font-style":"italic","--shiki-dark":"#FDAEB7","--shiki-dark-font-style":"italic"}},"<"),i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"%= /**/ %>")])],-1))]),_:1}),t[7]||(t[7]=i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"",-1)),t[8]||(t[8]=i("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"div",-1)),t[9]||(t[9]=i("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">",-1))])])])]),t[15]||(t[15]=i("h2",{id:"implementation",tabindex:"-1"},[s("Implementation "),i("a",{class:"header-anchor",href:"#implementation","aria-label":'Permalink to "Implementation"'},"")],-1)),t[16]||(t[16]=i("ul",null,[i("li",null,[i("a",{href:"https://github.com/ota-meshi/eslint-plugin-lodash-template/blob/master/lib/rules/no-invalid-template-interpolation.js",target:"_blank",rel:"noreferrer"},"Rule source")]),i("li",null,[i("a",{href:"https://github.com/ota-meshi/eslint-plugin-lodash-template/blob/master/tests/lib/rules/no-invalid-template-interpolation.js",target:"_blank",rel:"noreferrer"},"Test source")])],-1))])}const q=o(d,[["render",u]]);export{w as __pageData,q as default};
diff --git a/assets/rules_no-invalid-template-interpolation.md.7uBC17rV.lean.js b/assets/rules_no-invalid-template-interpolation.md.7uBC17rV.lean.js
new file mode 100644
index 00000000..8aaef36c
--- /dev/null
+++ b/assets/rules_no-invalid-template-interpolation.md.7uBC17rV.lean.js
@@ -0,0 +1,14 @@
+import{_ as o,c as p,a9 as a,j as i,G as n,w as l,a as s,B as h,o as r}from"./chunks/framework.D6W_pQcY.js";const w=JSON.parse('{"title":"lodash-template/no-invalid-template-interpolation","description":"disallow other than expression in micro-template interpolation. (ex. :ng: `<%= if (test) { %>`)","frontmatter":{"pageClass":"rule-details","sidebarDepth":0,"title":"lodash-template/no-invalid-template-interpolation","description":"disallow other than expression in micro-template interpolation. (ex. :ng: `<%= if (test) { %>`)"},"headers":[],"relativePath":"rules/no-invalid-template-interpolation.md","filePath":"rules/no-invalid-template-interpolation.md","lastUpdated":1733171881000}'),d={name:"rules/no-invalid-template-interpolation.md"},k={class:"language-html vp-adaptive-theme"},E={class:"shiki shiki-themes github-light github-dark vp-code twoslash lsp",style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-bg":"#fff","--shiki-dark-bg":"#24292e"},tabindex:"0"},g={class:"line"},m={class:"line"};function u(y,t,c,v,f,D){const e=h("v-menu");return r(),p("div",null,[t[14]||(t[14]=a('
disallow other than expression in micro-template interpolation. (ex. 🆖 <%= if (test) { %>)
⚙️ This rule is included in all of "plugin:lodash-template/best-practices", "plugin:lodash-template/recommended", "plugin:lodash-template/recommended-with-html", "plugin:lodash-template/recommended-with-script" and "plugin:lodash-template/all".
disallow irregular whitespace outside the template tags.
⚙️ This rule is included in all of "plugin:lodash-template/recommended", "plugin:lodash-template/recommended-with-html", "plugin:lodash-template/recommended-with-script" and "plugin:lodash-template/all".
🔧 The --fix option on the command line can automatically fix some of the problems reported by this rule.
`,8))])}const v=n(d,[["render",m]]);export{F as __pageData,v as default};
diff --git a/assets/rules_no-irregular-whitespace.md.B1E1gedE.lean.js b/assets/rules_no-irregular-whitespace.md.B1E1gedE.lean.js
new file mode 100644
index 00000000..b037bfc4
--- /dev/null
+++ b/assets/rules_no-irregular-whitespace.md.B1E1gedE.lean.js
@@ -0,0 +1,14 @@
+import{_ as n,c as o,a9 as l,j as i,G as r,w as t,a as e,B as p,o as h}from"./chunks/framework.D6W_pQcY.js";const F=JSON.parse('{"title":"lodash-template/no-irregular-whitespace","description":"disallow irregular whitespace outside the template tags.","frontmatter":{"pageClass":"rule-details","sidebarDepth":0,"title":"lodash-template/no-irregular-whitespace","description":"disallow irregular whitespace outside the template tags."},"headers":[],"relativePath":"rules/no-irregular-whitespace.md","filePath":"rules/no-irregular-whitespace.md","lastUpdated":1733171881000}'),d={name:"rules/no-irregular-whitespace.md"},k={class:"language-html vp-adaptive-theme"},u={class:"shiki shiki-themes github-light github-dark vp-code twoslash lsp",style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-bg":"#fff","--shiki-dark-bg":"#24292e"},tabindex:"0"},g={class:"line"},E={class:"line"};function m(c,s,y,w,f,b){const a=p("v-menu");return h(),o("div",null,[s[22]||(s[22]=l('
disallow irregular whitespace outside the template tags.
⚙️ This rule is included in all of "plugin:lodash-template/recommended", "plugin:lodash-template/recommended-with-html", "plugin:lodash-template/recommended-with-script" and "plugin:lodash-template/all".
🔧 The --fix option on the command line can automatically fix some of the problems reported by this rule.
`,8))])}const v=n(d,[["render",m]]);export{F as __pageData,v as default};
diff --git a/assets/rules_no-multi-spaces-in-html-tag.md.CzYPXTNw.js b/assets/rules_no-multi-spaces-in-html-tag.md.CzYPXTNw.js
new file mode 100644
index 00000000..cabaccac
--- /dev/null
+++ b/assets/rules_no-multi-spaces-in-html-tag.md.CzYPXTNw.js
@@ -0,0 +1,12 @@
+import{_ as p,c as o,a9 as e,j as t,G as n,w as l,a as i,B as h,o as r}from"./chunks/framework.D6W_pQcY.js";const w=JSON.parse('{"title":"lodash-template/no-multi-spaces-in-html-tag","description":"disallow multiple spaces in HTML tags. (ex. :ng: ``)","frontmatter":{"pageClass":"rule-details","sidebarDepth":0,"title":"lodash-template/no-multi-spaces-in-html-tag","description":"disallow multiple spaces in HTML tags. (ex. :ng: ``)"},"headers":[],"relativePath":"rules/no-multi-spaces-in-html-tag.md","filePath":"rules/no-multi-spaces-in-html-tag.md","lastUpdated":1733171881000}'),d={name:"rules/no-multi-spaces-in-html-tag.md"},k={class:"language-html vp-adaptive-theme"},u={class:"shiki shiki-themes github-light github-dark vp-code twoslash lsp",style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-bg":"#fff","--shiki-dark-bg":"#24292e"},tabindex:"0"},m={class:"line"},g={class:"line"};function E(y,s,c,f,b,F){const a=h("v-menu");return r(),o("div",null,[s[17]||(s[17]=e('
disallow multiple spaces in scriptlet. (ex. 🆖 <% if···(test)···{ %>)
⚙️ This rule is included in all of "plugin:lodash-template/recommended", "plugin:lodash-template/recommended-with-html", "plugin:lodash-template/recommended-with-script" and "plugin:lodash-template/all".
🔧 The --fix option on the command line can automatically fix some of the problems reported by this rule.
',4))])}const A=p(d,[["render",y]]);export{B as __pageData,A as default};
diff --git a/assets/rules_no-multi-spaces-in-scriptlet.md.nmP8cufa.lean.js b/assets/rules_no-multi-spaces-in-scriptlet.md.nmP8cufa.lean.js
new file mode 100644
index 00000000..07684429
--- /dev/null
+++ b/assets/rules_no-multi-spaces-in-scriptlet.md.nmP8cufa.lean.js
@@ -0,0 +1,26 @@
+import{_ as p,c as o,a9 as n,j as l,G as a,w as t,a as i,B as r,o as h}from"./chunks/framework.D6W_pQcY.js";const B=JSON.parse('{"title":"lodash-template/no-multi-spaces-in-scriptlet","description":"disallow multiple spaces in scriptlet. (ex. :ng: `<% if···(test)···{ %>`)","frontmatter":{"pageClass":"rule-details","sidebarDepth":0,"title":"lodash-template/no-multi-spaces-in-scriptlet","description":"disallow multiple spaces in scriptlet. (ex. :ng: `<% if···(test)···{ %>`)"},"headers":[],"relativePath":"rules/no-multi-spaces-in-scriptlet.md","filePath":"rules/no-multi-spaces-in-scriptlet.md","lastUpdated":1733171881000}'),d={name:"rules/no-multi-spaces-in-scriptlet.md"},u={class:"language-html vp-adaptive-theme"},k={class:"shiki shiki-themes github-light github-dark vp-code twoslash lsp",style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-bg":"#fff","--shiki-dark-bg":"#24292e"},tabindex:"0"},m={class:"line"},E={class:"line"},g={class:"line"},f={class:"line"},c={class:"line"};function y(b,s,v,w,q,D){const e=r("v-menu");return h(),o("div",null,[s[38]||(s[38]=n('
disallow multiple spaces in scriptlet. (ex. 🆖 <% if···(test)···{ %>)
⚙️ This rule is included in all of "plugin:lodash-template/recommended", "plugin:lodash-template/recommended-with-html", "plugin:lodash-template/recommended-with-script" and "plugin:lodash-template/all".
🔧 The --fix option on the command line can automatically fix some of the problems reported by this rule.
',4))])}const A=p(d,[["render",y]]);export{B as __pageData,A as default};
diff --git a/assets/rules_no-script-parsing-error.md.DjCPmhpF.js b/assets/rules_no-script-parsing-error.md.DjCPmhpF.js
new file mode 100644
index 00000000..bf978c12
--- /dev/null
+++ b/assets/rules_no-script-parsing-error.md.DjCPmhpF.js
@@ -0,0 +1,12 @@
+import{_ as n,c as r,a9 as t,j as i,G as p,w as e,a,B as o,o as h}from"./chunks/framework.D6W_pQcY.js";const A=JSON.parse('{"title":"lodash-template/no-script-parsing-error","description":"disallow parsing errors in template","frontmatter":{"pageClass":"rule-details","sidebarDepth":0,"title":"lodash-template/no-script-parsing-error","description":"disallow parsing errors in template"},"headers":[],"relativePath":"rules/no-script-parsing-error.md","filePath":"rules/no-script-parsing-error.md","lastUpdated":1733171881000}'),k={name:"rules/no-script-parsing-error.md"},d={class:"language-js vp-adaptive-theme"},g={class:"shiki shiki-themes github-light github-dark vp-code twoslash lsp",style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-bg":"#fff","--shiki-dark-bg":"#24292e"},tabindex:"0"},u={class:"line"};function c(m,s,y,F,b,D){const l=o("v-menu");return h(),r("div",null,[s[9]||(s[9]=t(`
⚙️ This rule is included in all of "plugin:lodash-template/base", "plugin:lodash-template/all", "plugin:lodash-template/best-practices", "plugin:lodash-template/recommended", "plugin:lodash-template/recommended-with-html" and "plugin:lodash-template/recommended-with-script".
⚙️ This rule is included in all of "plugin:lodash-template/base", "plugin:lodash-template/all", "plugin:lodash-template/best-practices", "plugin:lodash-template/recommended", "plugin:lodash-template/recommended-with-html" and "plugin:lodash-template/recommended-with-script".
This rule reports syntax errors in JavaScript template. This rule works when verification of "JavaScript Templates" is enabled.
js
/* eslint "lodash-template/no-script-parsing-error": "error" */
+/* ✓ GOOD */
+<% if (a) { %>
+ const a = 'ABC'
+<% } else { %>
+ const a = 'DEF'
+<% } %>
`,6)),i("div",d,[s[7]||(s[7]=i("button",{title:"Copy Code",class:"copy"},null,-1)),s[8]||(s[8]=i("span",{class:"lang"},"js",-1)),i("pre",g,[i("code",null,[s[6]||(s[6]=t(`/* eslint "lodash-template/no-script-parsing-error": "error" */
+/* ✗ BAD */
+<% if (a) { %>
+ const a = 'ABC'
+<% } %>
+`,10)),i("span",u,[s[2]||(s[2]=i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"const",-1)),s[3]||(s[3]=i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," ",-1)),p(l,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:e(({})=>s[0]||(s[0]=[i("span",{class:"twoslash-popup-container vp-copy-ignore"},[i("div",{class:"twoslash-popup-error vp-doc"},[i("p",null,[a("Parsing error: Identifier 'a' has already been declared. ("),i("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/no-script-parsing-error.html"},"lodash-template/no-script-parsing-error"),a(")")])])],-1)])),default:e(()=>[s[1]||(s[1]=i("span",null,[i("span",null,[i("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"a")])],-1))]),_:1}),s[4]||(s[4]=i("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}}," =",-1)),s[5]||(s[5]=i("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}}," 'DEF'",-1))])])])]),s[10]||(s[10]=i("h2",{id:"implementation",tabindex:"-1"},[a("Implementation "),i("a",{class:"header-anchor",href:"#implementation","aria-label":'Permalink to "Implementation"'},"")],-1)),s[11]||(s[11]=i("ul",null,[i("li",null,[i("a",{href:"https://github.com/ota-meshi/eslint-plugin-lodash-template/blob/master/lib/rules/no-script-parsing-error.js",target:"_blank",rel:"noreferrer"},"Rule source")]),i("li",null,[i("a",{href:"https://github.com/ota-meshi/eslint-plugin-lodash-template/blob/master/tests/lib/rules/no-script-parsing-error.js",target:"_blank",rel:"noreferrer"},"Test source")])],-1))])}const E=n(k,[["render",c]]);export{A as __pageData,E as default};
diff --git a/assets/rules_no-semi-in-template-interpolation.md.BZeF_yRA.js b/assets/rules_no-semi-in-template-interpolation.md.BZeF_yRA.js
new file mode 100644
index 00000000..262c65d5
--- /dev/null
+++ b/assets/rules_no-semi-in-template-interpolation.md.BZeF_yRA.js
@@ -0,0 +1,6 @@
+import{_ as a,c as n,a9 as l,j as e,G as p,w as s,a as i,B as r,o as d}from"./chunks/framework.D6W_pQcY.js";const q=JSON.parse('{"title":"lodash-template/no-semi-in-template-interpolation","description":"disallow the semicolon at the end of expression in micro template interpolation.(ex. :ok: `<%= text %>` :ng: `<%= text; %>`)","frontmatter":{"pageClass":"rule-details","sidebarDepth":0,"title":"lodash-template/no-semi-in-template-interpolation","description":"disallow the semicolon at the end of expression in micro template interpolation.(ex. :ok: `<%= text %>` :ng: `<%= text; %>`)"},"headers":[],"relativePath":"rules/no-semi-in-template-interpolation.md","filePath":"rules/no-semi-in-template-interpolation.md","lastUpdated":1733171881000}'),h={name:"rules/no-semi-in-template-interpolation.md"},m={class:"language-html vp-adaptive-theme"},u={class:"shiki shiki-themes github-light github-dark vp-code twoslash lsp",style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-bg":"#fff","--shiki-dark-bg":"#24292e"},tabindex:"0"},c={class:"line"};function k(g,t,f,b,x,y){const o=r("v-menu");return d(),n("div",null,[t[8]||(t[8]=l('
disallow the semicolon at the end of expression in micro template interpolation.(ex. 🆗 <%= text %> 🆖 <%= text; %>)
⚙️ This rule is included in all of "plugin:lodash-template/best-practices", "plugin:lodash-template/recommended", "plugin:lodash-template/recommended-with-html", "plugin:lodash-template/recommended-with-script" and "plugin:lodash-template/all".
🔧 The --fix option on the command line can automatically fix some of the problems reported by this rule.
This rule disallow the semicolon at the end of expression in micro template interpolation.
',5)),e("div",m,[t[6]||(t[6]=e("button",{title:"Copy Code",class:"copy"},null,-1)),t[7]||(t[7]=e("span",{class:"lang"},"html",-1)),e("pre",u,[e("code",null,[t[5]||(t[5]=l(`<% /* eslint "lodash-template/no-semi-in-template-interpolation": "error" */ %>
+<!-- ✓ GOOD -->
+<%= text %>
+
+<!-- ✗ BAD -->
+`,10)),e("span",c,[t[2]||(t[2]=e("span",{style:{"--shiki-light":"#B31D28","--shiki-light-font-style":"italic","--shiki-dark":"#FDAEB7","--shiki-dark-font-style":"italic"}},"<",-1)),t[3]||(t[3]=e("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"%= text",-1)),p(o,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:s(({})=>t[0]||(t[0]=[e("span",{class:"twoslash-popup-container vp-copy-ignore"},[e("div",{class:"twoslash-popup-error vp-doc"},[e("p",null,[i("Unnecessary semicolon. ("),e("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/no-semi-in-template-interpolation.html"},"lodash-template/no-semi-in-template-interpolation"),i(")")])])],-1)])),default:s(()=>[t[1]||(t[1]=e("span",null,[e("span",null,[e("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},";")])],-1))]),_:1}),t[4]||(t[4]=e("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," %>",-1))])])])]),t[9]||(t[9]=e("h2",{id:"implementation",tabindex:"-1"},[i("Implementation "),e("a",{class:"header-anchor",href:"#implementation","aria-label":'Permalink to "Implementation"'},"")],-1)),t[10]||(t[10]=e("ul",null,[e("li",null,[e("a",{href:"https://github.com/ota-meshi/eslint-plugin-lodash-template/blob/master/lib/rules/no-semi-in-template-interpolation.js",target:"_blank",rel:"noreferrer"},"Rule source")]),e("li",null,[e("a",{href:"https://github.com/ota-meshi/eslint-plugin-lodash-template/blob/master/tests/lib/rules/no-semi-in-template-interpolation.js",target:"_blank",rel:"noreferrer"},"Test source")])],-1))])}const D=a(h,[["render",k]]);export{q as __pageData,D as default};
diff --git a/assets/rules_no-semi-in-template-interpolation.md.BZeF_yRA.lean.js b/assets/rules_no-semi-in-template-interpolation.md.BZeF_yRA.lean.js
new file mode 100644
index 00000000..262c65d5
--- /dev/null
+++ b/assets/rules_no-semi-in-template-interpolation.md.BZeF_yRA.lean.js
@@ -0,0 +1,6 @@
+import{_ as a,c as n,a9 as l,j as e,G as p,w as s,a as i,B as r,o as d}from"./chunks/framework.D6W_pQcY.js";const q=JSON.parse('{"title":"lodash-template/no-semi-in-template-interpolation","description":"disallow the semicolon at the end of expression in micro template interpolation.(ex. :ok: `<%= text %>` :ng: `<%= text; %>`)","frontmatter":{"pageClass":"rule-details","sidebarDepth":0,"title":"lodash-template/no-semi-in-template-interpolation","description":"disallow the semicolon at the end of expression in micro template interpolation.(ex. :ok: `<%= text %>` :ng: `<%= text; %>`)"},"headers":[],"relativePath":"rules/no-semi-in-template-interpolation.md","filePath":"rules/no-semi-in-template-interpolation.md","lastUpdated":1733171881000}'),h={name:"rules/no-semi-in-template-interpolation.md"},m={class:"language-html vp-adaptive-theme"},u={class:"shiki shiki-themes github-light github-dark vp-code twoslash lsp",style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-bg":"#fff","--shiki-dark-bg":"#24292e"},tabindex:"0"},c={class:"line"};function k(g,t,f,b,x,y){const o=r("v-menu");return d(),n("div",null,[t[8]||(t[8]=l('
disallow the semicolon at the end of expression in micro template interpolation.(ex. 🆗 <%= text %> 🆖 <%= text; %>)
⚙️ This rule is included in all of "plugin:lodash-template/best-practices", "plugin:lodash-template/recommended", "plugin:lodash-template/recommended-with-html", "plugin:lodash-template/recommended-with-script" and "plugin:lodash-template/all".
🔧 The --fix option on the command line can automatically fix some of the problems reported by this rule.
This rule disallow the semicolon at the end of expression in micro template interpolation.
',5)),e("div",m,[t[6]||(t[6]=e("button",{title:"Copy Code",class:"copy"},null,-1)),t[7]||(t[7]=e("span",{class:"lang"},"html",-1)),e("pre",u,[e("code",null,[t[5]||(t[5]=l(`<% /* eslint "lodash-template/no-semi-in-template-interpolation": "error" */ %>
+<!-- ✓ GOOD -->
+<%= text %>
+
+<!-- ✗ BAD -->
+`,10)),e("span",c,[t[2]||(t[2]=e("span",{style:{"--shiki-light":"#B31D28","--shiki-light-font-style":"italic","--shiki-dark":"#FDAEB7","--shiki-dark-font-style":"italic"}},"<",-1)),t[3]||(t[3]=e("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"%= text",-1)),p(o,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:s(({})=>t[0]||(t[0]=[e("span",{class:"twoslash-popup-container vp-copy-ignore"},[e("div",{class:"twoslash-popup-error vp-doc"},[e("p",null,[i("Unnecessary semicolon. ("),e("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/no-semi-in-template-interpolation.html"},"lodash-template/no-semi-in-template-interpolation"),i(")")])])],-1)])),default:s(()=>[t[1]||(t[1]=e("span",null,[e("span",null,[e("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},";")])],-1))]),_:1}),t[4]||(t[4]=e("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," %>",-1))])])])]),t[9]||(t[9]=e("h2",{id:"implementation",tabindex:"-1"},[i("Implementation "),e("a",{class:"header-anchor",href:"#implementation","aria-label":'Permalink to "Implementation"'},"")],-1)),t[10]||(t[10]=e("ul",null,[e("li",null,[e("a",{href:"https://github.com/ota-meshi/eslint-plugin-lodash-template/blob/master/lib/rules/no-semi-in-template-interpolation.js",target:"_blank",rel:"noreferrer"},"Rule source")]),e("li",null,[e("a",{href:"https://github.com/ota-meshi/eslint-plugin-lodash-template/blob/master/tests/lib/rules/no-semi-in-template-interpolation.js",target:"_blank",rel:"noreferrer"},"Test source")])],-1))])}const D=a(h,[["render",k]]);export{q as __pageData,D as default};
diff --git a/assets/rules_no-space-attribute-equal-sign.md.DTXp4BxP.js b/assets/rules_no-space-attribute-equal-sign.md.DTXp4BxP.js
new file mode 100644
index 00000000..a35de1f1
--- /dev/null
+++ b/assets/rules_no-space-attribute-equal-sign.md.DTXp4BxP.js
@@ -0,0 +1,6 @@
+import{_ as n,c as o,a9 as e,j as t,G as r,w as a,B as p,o as u,a as i}from"./chunks/framework.D6W_pQcY.js";const v=JSON.parse('{"title":"lodash-template/no-space-attribute-equal-sign","description":"disallow spacing around equal signs in attribute. (ex. :ok: `
` :ng: `
`)","frontmatter":{"pageClass":"rule-details","sidebarDepth":0,"title":"lodash-template/no-space-attribute-equal-sign","description":"disallow spacing around equal signs in attribute. (ex. :ok: `
',4))])}const w=n(h,[["render",m]]);export{v as __pageData,w as default};
diff --git a/assets/rules_no-space-attribute-equal-sign.md.DTXp4BxP.lean.js b/assets/rules_no-space-attribute-equal-sign.md.DTXp4BxP.lean.js
new file mode 100644
index 00000000..a35de1f1
--- /dev/null
+++ b/assets/rules_no-space-attribute-equal-sign.md.DTXp4BxP.lean.js
@@ -0,0 +1,6 @@
+import{_ as n,c as o,a9 as e,j as t,G as r,w as a,B as p,o as u,a as i}from"./chunks/framework.D6W_pQcY.js";const v=JSON.parse('{"title":"lodash-template/no-space-attribute-equal-sign","description":"disallow spacing around equal signs in attribute. (ex. :ok: `
` :ng: `
`)","frontmatter":{"pageClass":"rule-details","sidebarDepth":0,"title":"lodash-template/no-space-attribute-equal-sign","description":"disallow spacing around equal signs in attribute. (ex. :ok: `
',4))])}const w=n(h,[["render",m]]);export{v as __pageData,w as default};
diff --git a/assets/rules_no-template-tag-in-start-tag.md.C97ZG_oA.js b/assets/rules_no-template-tag-in-start-tag.md.C97ZG_oA.js
new file mode 100644
index 00000000..bf44e5be
--- /dev/null
+++ b/assets/rules_no-template-tag-in-start-tag.md.C97ZG_oA.js
@@ -0,0 +1,27 @@
+import{_ as p,c as h,a9 as n,j as i,G as e,w as a,a as t,B as o,o as r}from"./chunks/framework.D6W_pQcY.js";const C=JSON.parse('{"title":"lodash-template/no-template-tag-in-start-tag","description":"disallow template tag in start tag outside attribute values. (ex. :ng: ` >`)","frontmatter":{"pageClass":"rule-details","sidebarDepth":0,"title":"lodash-template/no-template-tag-in-start-tag","description":"disallow template tag in start tag outside attribute values. (ex. :ng: ` >`)"},"headers":[],"relativePath":"rules/no-template-tag-in-start-tag.md","filePath":"rules/no-template-tag-in-start-tag.md","lastUpdated":1733171881000}'),k={name:"rules/no-template-tag-in-start-tag.md"},d={class:"language-html vp-adaptive-theme"},g={class:"shiki shiki-themes github-light github-dark vp-code twoslash lsp",style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-bg":"#fff","--shiki-dark-bg":"#24292e"},tabindex:"0"},u={class:"line"},E={class:"line"},y={class:"line"},m={class:"line"};function f(b,s,F,v,B,D){const l=o("v-menu");return r(),h("div",null,[s[34]||(s[34]=n('
`,6))])}const q=p(k,[["render",f]]);export{C as __pageData,q as default};
diff --git a/assets/rules_no-template-tag-in-start-tag.md.C97ZG_oA.lean.js b/assets/rules_no-template-tag-in-start-tag.md.C97ZG_oA.lean.js
new file mode 100644
index 00000000..bf44e5be
--- /dev/null
+++ b/assets/rules_no-template-tag-in-start-tag.md.C97ZG_oA.lean.js
@@ -0,0 +1,27 @@
+import{_ as p,c as h,a9 as n,j as i,G as e,w as a,a as t,B as o,o as r}from"./chunks/framework.D6W_pQcY.js";const C=JSON.parse('{"title":"lodash-template/no-template-tag-in-start-tag","description":"disallow template tag in start tag outside attribute values. (ex. :ng: ` >`)","frontmatter":{"pageClass":"rule-details","sidebarDepth":0,"title":"lodash-template/no-template-tag-in-start-tag","description":"disallow template tag in start tag outside attribute values. (ex. :ng: ` >`)"},"headers":[],"relativePath":"rules/no-template-tag-in-start-tag.md","filePath":"rules/no-template-tag-in-start-tag.md","lastUpdated":1733171881000}'),k={name:"rules/no-template-tag-in-start-tag.md"},d={class:"language-html vp-adaptive-theme"},g={class:"shiki shiki-themes github-light github-dark vp-code twoslash lsp",style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-bg":"#fff","--shiki-dark-bg":"#24292e"},tabindex:"0"},u={class:"line"},E={class:"line"},y={class:"line"},m={class:"line"};function f(b,s,F,v,B,D){const l=o("v-menu");return r(),h("div",null,[s[34]||(s[34]=n('
`,6))])}const q=p(k,[["render",f]]);export{C as __pageData,q as default};
diff --git a/assets/rules_no-warning-html-comments.md.DBLM2y6K.js b/assets/rules_no-warning-html-comments.md.DBLM2y6K.js
new file mode 100644
index 00000000..2fa03b92
--- /dev/null
+++ b/assets/rules_no-warning-html-comments.md.DBLM2y6K.js
@@ -0,0 +1,2 @@
+import{_ as a,c as o,a9 as i,j as e,a as s,G as r,w as l,B as m,o as h}from"./chunks/framework.D6W_pQcY.js";const D=JSON.parse('{"title":"lodash-template/no-warning-html-comments","description":"disallow specified warning terms in HTML comments. (ex. :ng: ``)","frontmatter":{"pageClass":"rule-details","sidebarDepth":0,"title":"lodash-template/no-warning-html-comments","description":"disallow specified warning terms in HTML comments. (ex. :ng: ``)"},"headers":[],"relativePath":"rules/no-warning-html-comments.md","filePath":"rules/no-warning-html-comments.md","lastUpdated":1733171881000}'),p={name:"rules/no-warning-html-comments.md"},d={class:"language-html vp-adaptive-theme"},u={class:"shiki shiki-themes github-light github-dark vp-code twoslash lsp",style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-bg":"#fff","--shiki-dark-bg":"#24292e"},tabindex:"0"},c={class:"line"};function g(k,t,f,w,b,v){const n=m("v-menu");return h(),o("div",null,[t[6]||(t[6]=i('
This rule reports no escape micro-template interpolates.
',5)),t("div",d,[e[9]||(e[9]=t("button",{title:"Copy Code",class:"copy"},null,-1)),e[10]||(e[10]=t("span",{class:"lang"},"html",-1)),t("pre",m,[t("code",null,[e[8]||(e[8]=i(`<% /* eslint "lodash-template/prefer-escape-template-interpolations": "error" */ %>
+<!-- ✓ GOOD -->
+<div><%- text %></div>
+<div><% print(html) %></div>
+
+<!-- ✗ BAD -->
+`,12)),t("span",E,[e[2]||(e[2]=t("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<",-1)),e[3]||(e[3]=t("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"div",-1)),e[4]||(e[4]=t("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">",-1)),r(a,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:l(({})=>e[0]||(e[0]=[t("span",{class:"twoslash-popup-container vp-copy-ignore"},[t("div",{class:"twoslash-popup-error vp-doc"},[t("p",null,[s("The escape micro-template interpolation is preferable. ("),t("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/prefer-escape-template-interpolations.html"},"lodash-template/prefer-escape-template-interpolations"),s(")")])])],-1)])),default:l(()=>[e[1]||(e[1]=t("span",null,[t("span",null,[t("span",{style:{"--shiki-light":"#B31D28","--shiki-light-font-style":"italic","--shiki-dark":"#FDAEB7","--shiki-dark-font-style":"italic"}},"<"),t("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"%= text %>")])],-1))]),_:1}),e[5]||(e[5]=t("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"",-1)),e[6]||(e[6]=t("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"div",-1)),e[7]||(e[7]=t("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">",-1))])])])]),e[12]||(e[12]=t("h2",{id:"implementation",tabindex:"-1"},[s("Implementation "),t("a",{class:"header-anchor",href:"#implementation","aria-label":'Permalink to "Implementation"'},"")],-1)),e[13]||(e[13]=t("ul",null,[t("li",null,[t("a",{href:"https://github.com/ota-meshi/eslint-plugin-lodash-template/blob/master/lib/rules/prefer-escape-template-interpolations.js",target:"_blank",rel:"noreferrer"},"Rule source")]),t("li",null,[t("a",{href:"https://github.com/ota-meshi/eslint-plugin-lodash-template/blob/master/tests/lib/rules/prefer-escape-template-interpolations.js",target:"_blank",rel:"noreferrer"},"Test source")])],-1))])}const A=p(k,[["render",g]]);export{v as __pageData,A as default};
diff --git a/assets/rules_scriptlet-indent.md.BlSYPqJq.js b/assets/rules_scriptlet-indent.md.BlSYPqJq.js
new file mode 100644
index 00000000..40428d10
--- /dev/null
+++ b/assets/rules_scriptlet-indent.md.BlSYPqJq.js
@@ -0,0 +1,39 @@
+import{_ as h,c as p,a9 as l,j as i,G as n,w as a,a as t,B as k,o}from"./chunks/framework.D6W_pQcY.js";const q=JSON.parse('{"title":"lodash-template/scriptlet-indent","description":"enforce consistent indentation to scriptlet in micro-template tag.","frontmatter":{"pageClass":"rule-details","sidebarDepth":0,"title":"lodash-template/scriptlet-indent","description":"enforce consistent indentation to scriptlet in micro-template tag."},"headers":[],"relativePath":"rules/scriptlet-indent.md","filePath":"rules/scriptlet-indent.md","lastUpdated":1733171881000}'),r={name:"rules/scriptlet-indent.md"},d={class:"language-html vp-adaptive-theme"},E={class:"shiki shiki-themes github-light github-dark vp-code twoslash lsp",style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-bg":"#fff","--shiki-dark-bg":"#24292e"},tabindex:"0"},g={class:"line"},c={class:"line"},y={class:"line"};function u(f,s,m,b,D,F){const e=k("v-menu");return o(),p("div",null,[s[17]||(s[17]=l('
enforce consistent indentation to scriptlet in micro-template tag.
⚙️ This rule is included in all of "plugin:lodash-template/recommended", "plugin:lodash-template/recommended-with-html", "plugin:lodash-template/recommended-with-script" and "plugin:lodash-template/all".
🔧 The --fix option on the command line can automatically fix some of the problems reported by this rule.
type (number | "tab") ... The type of indentation. Default is 2. If this is a number, it's the number of spaces for one indent. If this is "tab", it uses one tab for one indent.
startIndent (integer) ... The multiplier of indentation for top-level statements in micro-template tag. Default is 1.
switchCase (integer) ... The multiplier of indentation for case/default clauses. Default is 0.
`,9))])}const v=h(r,[["render",u]]);export{q as __pageData,v as default};
diff --git a/assets/rules_scriptlet-indent.md.BlSYPqJq.lean.js b/assets/rules_scriptlet-indent.md.BlSYPqJq.lean.js
new file mode 100644
index 00000000..40428d10
--- /dev/null
+++ b/assets/rules_scriptlet-indent.md.BlSYPqJq.lean.js
@@ -0,0 +1,39 @@
+import{_ as h,c as p,a9 as l,j as i,G as n,w as a,a as t,B as k,o}from"./chunks/framework.D6W_pQcY.js";const q=JSON.parse('{"title":"lodash-template/scriptlet-indent","description":"enforce consistent indentation to scriptlet in micro-template tag.","frontmatter":{"pageClass":"rule-details","sidebarDepth":0,"title":"lodash-template/scriptlet-indent","description":"enforce consistent indentation to scriptlet in micro-template tag."},"headers":[],"relativePath":"rules/scriptlet-indent.md","filePath":"rules/scriptlet-indent.md","lastUpdated":1733171881000}'),r={name:"rules/scriptlet-indent.md"},d={class:"language-html vp-adaptive-theme"},E={class:"shiki shiki-themes github-light github-dark vp-code twoslash lsp",style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-bg":"#fff","--shiki-dark-bg":"#24292e"},tabindex:"0"},g={class:"line"},c={class:"line"},y={class:"line"};function u(f,s,m,b,D,F){const e=k("v-menu");return o(),p("div",null,[s[17]||(s[17]=l('
enforce consistent indentation to scriptlet in micro-template tag.
⚙️ This rule is included in all of "plugin:lodash-template/recommended", "plugin:lodash-template/recommended-with-html", "plugin:lodash-template/recommended-with-script" and "plugin:lodash-template/all".
🔧 The --fix option on the command line can automatically fix some of the problems reported by this rule.
type (number | "tab") ... The type of indentation. Default is 2. If this is a number, it's the number of spaces for one indent. If this is "tab", it uses one tab for one indent.
startIndent (integer) ... The multiplier of indentation for top-level statements in micro-template tag. Default is 1.
switchCase (integer) ... The multiplier of indentation for case/default clauses. Default is 0.
⚙️ This rule is included in all of "plugin:lodash-template/recommended", "plugin:lodash-template/recommended-with-html", "plugin:lodash-template/recommended-with-script" and "plugin:lodash-template/all".
🔧 The --fix option on the command line can automatically fix some of the problems reported by this rule.
This rule aims to enforce unified spacing in micro-template interpolate/evaluate.
',5)),s("div",d,[i[24]||(i[24]=s("button",{title:"Copy Code",class:"copy"},null,-1)),i[25]||(i[25]=s("span",{class:"lang"},"html",-1)),s("pre",g,[s("code",null,[i[22]||(i[22]=p(`<% /* eslint "lodash-template/template-tag-spacing": "error" */ %>
+<!-- ✓ GOOD -->
+<div><%= text %></div>
+
+<!-- ✗ BAD -->
+`,10)),s("span",E,[i[4]||(i[4]=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<",-1)),i[5]||(i[5]=s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"div",-1)),i[6]||(i[6]=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">",-1)),e(a,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:l(({})=>i[0]||(i[0]=[s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[t("Expected 1 space after "),s("code",null,"<%="),t(", but 3 spaces found. ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/template-tag-spacing.html"},"lodash-template/template-tag-spacing"),t(")")])])],-1)])),default:l(()=>[i[1]||(i[1]=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#B31D28","--shiki-light-font-style":"italic","--shiki-dark":"#FDAEB7","--shiki-dark-font-style":"italic"}},"<"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"%=")])],-1))]),_:1}),i[7]||(i[7]=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," text ",-1)),e(a,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:l(({})=>i[2]||(i[2]=[s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[t("Expected 1 space before "),s("code",null,"%>"),t(", but 3 spaces found. ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/template-tag-spacing.html"},"lodash-template/template-tag-spacing"),t(")")])])],-1)])),default:l(()=>[i[3]||(i[3]=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"%>")])],-1))]),_:1}),i[8]||(i[8]=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"",-1)),i[9]||(i[9]=s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"div",-1)),i[10]||(i[10]=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">",-1))]),i[23]||(i[23]=t(`
+`)),s("span",u,[i[15]||(i[15]=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<",-1)),i[16]||(i[16]=s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"div",-1)),i[17]||(i[17]=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">",-1)),e(a,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:l(({})=>i[11]||(i[11]=[s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[t("Expected 1 space after "),s("code",null,"<%="),t(", but no spaces found. ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/template-tag-spacing.html"},"lodash-template/template-tag-spacing"),t(")")])])],-1)])),default:l(()=>[i[12]||(i[12]=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#B31D28","--shiki-light-font-style":"italic","--shiki-dark":"#FDAEB7","--shiki-dark-font-style":"italic"}},"<"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"%=")])],-1))]),_:1}),i[18]||(i[18]=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"text",-1)),e(a,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:l(({})=>i[13]||(i[13]=[s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[t("Expected 1 space before "),s("code",null,"%>"),t(", but no spaces found. ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/template-tag-spacing.html"},"lodash-template/template-tag-spacing"),t(")")])])],-1)])),default:l(()=>[i[14]||(i[14]=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"%>")])],-1))]),_:1}),i[19]||(i[19]=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"",-1)),i[20]||(i[20]=s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"div",-1)),i[21]||(i[21]=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">",-1))])])])]),i[79]||(i[79]=p('
"always" - Expect one space between expression and curly brackets.
',4)),s("div",m,[i[50]||(i[50]=s("button",{title:"Copy Code",class:"copy"},null,-1)),i[51]||(i[51]=s("span",{class:"lang"},"html",-1)),s("pre",y,[s("code",null,[i[48]||(i[48]=p(`<% /* eslint "lodash-template/template-tag-spacing": ["error", "always"] */ %>
+<!-- ✓ GOOD -->
+<div><%= text %></div>
+
+<!-- ✗ BAD -->
+`,10)),s("span",f,[i[30]||(i[30]=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<",-1)),i[31]||(i[31]=s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"div",-1)),i[32]||(i[32]=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">",-1)),e(a,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:l(({})=>i[26]||(i[26]=[s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[t("Expected 1 space after "),s("code",null,"<%="),t(", but 3 spaces found. ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/template-tag-spacing.html"},"lodash-template/template-tag-spacing"),t(")")])])],-1)])),default:l(()=>[i[27]||(i[27]=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#B31D28","--shiki-light-font-style":"italic","--shiki-dark":"#FDAEB7","--shiki-dark-font-style":"italic"}},"<"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"%=")])],-1))]),_:1}),i[33]||(i[33]=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," text ",-1)),e(a,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:l(({})=>i[28]||(i[28]=[s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[t("Expected 1 space before "),s("code",null,"%>"),t(", but 3 spaces found. ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/template-tag-spacing.html"},"lodash-template/template-tag-spacing"),t(")")])])],-1)])),default:l(()=>[i[29]||(i[29]=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"%>")])],-1))]),_:1}),i[34]||(i[34]=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"",-1)),i[35]||(i[35]=s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"div",-1)),i[36]||(i[36]=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">",-1))]),i[49]||(i[49]=t(`
+`)),s("span",v,[i[41]||(i[41]=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<",-1)),i[42]||(i[42]=s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"div",-1)),i[43]||(i[43]=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">",-1)),e(a,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:l(({})=>i[37]||(i[37]=[s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[t("Expected 1 space after "),s("code",null,"<%="),t(", but no spaces found. ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/template-tag-spacing.html"},"lodash-template/template-tag-spacing"),t(")")])])],-1)])),default:l(()=>[i[38]||(i[38]=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#B31D28","--shiki-light-font-style":"italic","--shiki-dark":"#FDAEB7","--shiki-dark-font-style":"italic"}},"<"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"%=")])],-1))]),_:1}),i[44]||(i[44]=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"text",-1)),e(a,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:l(({})=>i[39]||(i[39]=[s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[t("Expected 1 space before "),s("code",null,"%>"),t(", but no spaces found. ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/template-tag-spacing.html"},"lodash-template/template-tag-spacing"),t(")")])])],-1)])),default:l(()=>[i[40]||(i[40]=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"%>")])],-1))]),_:1}),i[45]||(i[45]=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"",-1)),i[46]||(i[46]=s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"div",-1)),i[47]||(i[47]=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">",-1))])])])]),i[80]||(i[80]=s("h3",{id:"never-expect-no-spaces-between-expression-and-curly-brackets",tabindex:"-1"},[s("code",null,'"never"'),t(" - Expect no spaces between expression and curly brackets. "),s("a",{class:"header-anchor",href:"#never-expect-no-spaces-between-expression-and-curly-brackets","aria-label":'Permalink to "`"never"` - Expect no spaces between expression and curly brackets."'},"")],-1)),s("div",b,[i[76]||(i[76]=s("button",{title:"Copy Code",class:"copy"},null,-1)),i[77]||(i[77]=s("span",{class:"lang"},"html",-1)),s("pre",w,[s("code",null,[i[74]||(i[74]=p(`<%/* eslint "lodash-template/template-tag-spacing": ["error", "never"] */%>
+<!-- ✓ GOOD -->
+<div><%=text%></div>
+
+<!-- ✗ BAD -->
+`,10)),s("span",c,[i[56]||(i[56]=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<",-1)),i[57]||(i[57]=s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"div",-1)),i[58]||(i[58]=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">",-1)),e(a,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:l(({})=>i[52]||(i[52]=[s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[t("Expected no spaces after "),s("code",null,"<%="),t(", but 3 spaces found. ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/template-tag-spacing.html"},"lodash-template/template-tag-spacing"),t(")")])])],-1)])),default:l(()=>[i[53]||(i[53]=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#B31D28","--shiki-light-font-style":"italic","--shiki-dark":"#FDAEB7","--shiki-dark-font-style":"italic"}},"<"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"%=")])],-1))]),_:1}),i[59]||(i[59]=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," text ",-1)),e(a,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:l(({})=>i[54]||(i[54]=[s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[t("Expected no spaces before "),s("code",null,"%>"),t(", but 3 spaces found. ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/template-tag-spacing.html"},"lodash-template/template-tag-spacing"),t(")")])])],-1)])),default:l(()=>[i[55]||(i[55]=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"%>")])],-1))]),_:1}),i[60]||(i[60]=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"",-1)),i[61]||(i[61]=s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"div",-1)),i[62]||(i[62]=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">",-1))]),i[75]||(i[75]=t(`
+`)),s("span",D,[i[67]||(i[67]=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<",-1)),i[68]||(i[68]=s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"div",-1)),i[69]||(i[69]=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">",-1)),e(a,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:l(({})=>i[63]||(i[63]=[s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[t("Expected no spaces after "),s("code",null,"<%="),t(", but 1 space found. ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/template-tag-spacing.html"},"lodash-template/template-tag-spacing"),t(")")])])],-1)])),default:l(()=>[i[64]||(i[64]=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#B31D28","--shiki-light-font-style":"italic","--shiki-dark":"#FDAEB7","--shiki-dark-font-style":"italic"}},"<"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"%=")])],-1))]),_:1}),i[70]||(i[70]=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," text ",-1)),e(a,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:l(({})=>i[65]||(i[65]=[s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[t("Expected no spaces before "),s("code",null,"%>"),t(", but 1 space found. ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/template-tag-spacing.html"},"lodash-template/template-tag-spacing"),t(")")])])],-1)])),default:l(()=>[i[66]||(i[66]=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"%>")])],-1))]),_:1}),i[71]||(i[71]=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"",-1)),i[72]||(i[72]=s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"div",-1)),i[73]||(i[73]=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">",-1))])])])]),i[81]||(i[81]=s("h2",{id:"implementation",tabindex:"-1"},[t("Implementation "),s("a",{class:"header-anchor",href:"#implementation","aria-label":'Permalink to "Implementation"'},"")],-1)),i[82]||(i[82]=s("ul",null,[s("li",null,[s("a",{href:"https://github.com/ota-meshi/eslint-plugin-lodash-template/blob/master/lib/rules/template-tag-spacing.js",target:"_blank",rel:"noreferrer"},"Rule source")]),s("li",null,[s("a",{href:"https://github.com/ota-meshi/eslint-plugin-lodash-template/blob/master/tests/lib/rules/template-tag-spacing.js",target:"_blank",rel:"noreferrer"},"Test source")])],-1))])}const T=n(k,[["render",x]]);export{P as __pageData,T as default};
diff --git a/assets/rules_template-tag-spacing.md.Ra2vYcon.lean.js b/assets/rules_template-tag-spacing.md.Ra2vYcon.lean.js
new file mode 100644
index 00000000..8f7b5ce4
--- /dev/null
+++ b/assets/rules_template-tag-spacing.md.Ra2vYcon.lean.js
@@ -0,0 +1,19 @@
+import{_ as n,c as o,a9 as p,j as s,G as e,w as l,a as t,B as h,o as r}from"./chunks/framework.D6W_pQcY.js";const P=JSON.parse('{"title":"lodash-template/template-tag-spacing","description":"enforce unified spacing in micro-template tag. (ex. :ok: `<%= prop %>`, :ng: `<%=prop%>`)","frontmatter":{"pageClass":"rule-details","sidebarDepth":0,"title":"lodash-template/template-tag-spacing","description":"enforce unified spacing in micro-template tag. (ex. :ok: `<%= prop %>`, :ng: `<%=prop%>`)"},"headers":[],"relativePath":"rules/template-tag-spacing.md","filePath":"rules/template-tag-spacing.md","lastUpdated":1733171881000}'),k={name:"rules/template-tag-spacing.md"},d={class:"language-html vp-adaptive-theme"},g={class:"shiki shiki-themes github-light github-dark vp-code twoslash lsp",style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-bg":"#fff","--shiki-dark-bg":"#24292e"},tabindex:"0"},E={class:"line"},u={class:"line"},m={class:"language-html vp-adaptive-theme"},y={class:"shiki shiki-themes github-light github-dark vp-code twoslash lsp",style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-bg":"#fff","--shiki-dark-bg":"#24292e"},tabindex:"0"},f={class:"line"},v={class:"line"},b={class:"language-html vp-adaptive-theme"},w={class:"shiki shiki-themes github-light github-dark vp-code twoslash lsp",style:{"--shiki-light":"#24292e","--shiki-dark":"#e1e4e8","--shiki-light-bg":"#fff","--shiki-dark-bg":"#24292e"},tabindex:"0"},c={class:"line"},D={class:"line"};function x(q,i,A,B,F,C){const a=h("v-menu");return r(),o("div",null,[i[78]||(i[78]=p('
⚙️ This rule is included in all of "plugin:lodash-template/recommended", "plugin:lodash-template/recommended-with-html", "plugin:lodash-template/recommended-with-script" and "plugin:lodash-template/all".
🔧 The --fix option on the command line can automatically fix some of the problems reported by this rule.
This rule aims to enforce unified spacing in micro-template interpolate/evaluate.
',5)),s("div",d,[i[24]||(i[24]=s("button",{title:"Copy Code",class:"copy"},null,-1)),i[25]||(i[25]=s("span",{class:"lang"},"html",-1)),s("pre",g,[s("code",null,[i[22]||(i[22]=p(`<% /* eslint "lodash-template/template-tag-spacing": "error" */ %>
+<!-- ✓ GOOD -->
+<div><%= text %></div>
+
+<!-- ✗ BAD -->
+`,10)),s("span",E,[i[4]||(i[4]=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<",-1)),i[5]||(i[5]=s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"div",-1)),i[6]||(i[6]=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">",-1)),e(a,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:l(({})=>i[0]||(i[0]=[s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[t("Expected 1 space after "),s("code",null,"<%="),t(", but 3 spaces found. ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/template-tag-spacing.html"},"lodash-template/template-tag-spacing"),t(")")])])],-1)])),default:l(()=>[i[1]||(i[1]=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#B31D28","--shiki-light-font-style":"italic","--shiki-dark":"#FDAEB7","--shiki-dark-font-style":"italic"}},"<"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"%=")])],-1))]),_:1}),i[7]||(i[7]=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," text ",-1)),e(a,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:l(({})=>i[2]||(i[2]=[s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[t("Expected 1 space before "),s("code",null,"%>"),t(", but 3 spaces found. ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/template-tag-spacing.html"},"lodash-template/template-tag-spacing"),t(")")])])],-1)])),default:l(()=>[i[3]||(i[3]=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"%>")])],-1))]),_:1}),i[8]||(i[8]=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"",-1)),i[9]||(i[9]=s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"div",-1)),i[10]||(i[10]=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">",-1))]),i[23]||(i[23]=t(`
+`)),s("span",u,[i[15]||(i[15]=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<",-1)),i[16]||(i[16]=s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"div",-1)),i[17]||(i[17]=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">",-1)),e(a,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:l(({})=>i[11]||(i[11]=[s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[t("Expected 1 space after "),s("code",null,"<%="),t(", but no spaces found. ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/template-tag-spacing.html"},"lodash-template/template-tag-spacing"),t(")")])])],-1)])),default:l(()=>[i[12]||(i[12]=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#B31D28","--shiki-light-font-style":"italic","--shiki-dark":"#FDAEB7","--shiki-dark-font-style":"italic"}},"<"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"%=")])],-1))]),_:1}),i[18]||(i[18]=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"text",-1)),e(a,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:l(({})=>i[13]||(i[13]=[s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[t("Expected 1 space before "),s("code",null,"%>"),t(", but no spaces found. ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/template-tag-spacing.html"},"lodash-template/template-tag-spacing"),t(")")])])],-1)])),default:l(()=>[i[14]||(i[14]=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"%>")])],-1))]),_:1}),i[19]||(i[19]=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"",-1)),i[20]||(i[20]=s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"div",-1)),i[21]||(i[21]=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">",-1))])])])]),i[79]||(i[79]=p('
"always" - Expect one space between expression and curly brackets.
',4)),s("div",m,[i[50]||(i[50]=s("button",{title:"Copy Code",class:"copy"},null,-1)),i[51]||(i[51]=s("span",{class:"lang"},"html",-1)),s("pre",y,[s("code",null,[i[48]||(i[48]=p(`<% /* eslint "lodash-template/template-tag-spacing": ["error", "always"] */ %>
+<!-- ✓ GOOD -->
+<div><%= text %></div>
+
+<!-- ✗ BAD -->
+`,10)),s("span",f,[i[30]||(i[30]=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<",-1)),i[31]||(i[31]=s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"div",-1)),i[32]||(i[32]=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">",-1)),e(a,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:l(({})=>i[26]||(i[26]=[s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[t("Expected 1 space after "),s("code",null,"<%="),t(", but 3 spaces found. ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/template-tag-spacing.html"},"lodash-template/template-tag-spacing"),t(")")])])],-1)])),default:l(()=>[i[27]||(i[27]=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#B31D28","--shiki-light-font-style":"italic","--shiki-dark":"#FDAEB7","--shiki-dark-font-style":"italic"}},"<"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"%=")])],-1))]),_:1}),i[33]||(i[33]=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," text ",-1)),e(a,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:l(({})=>i[28]||(i[28]=[s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[t("Expected 1 space before "),s("code",null,"%>"),t(", but 3 spaces found. ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/template-tag-spacing.html"},"lodash-template/template-tag-spacing"),t(")")])])],-1)])),default:l(()=>[i[29]||(i[29]=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"%>")])],-1))]),_:1}),i[34]||(i[34]=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"",-1)),i[35]||(i[35]=s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"div",-1)),i[36]||(i[36]=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">",-1))]),i[49]||(i[49]=t(`
+`)),s("span",v,[i[41]||(i[41]=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<",-1)),i[42]||(i[42]=s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"div",-1)),i[43]||(i[43]=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">",-1)),e(a,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:l(({})=>i[37]||(i[37]=[s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[t("Expected 1 space after "),s("code",null,"<%="),t(", but no spaces found. ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/template-tag-spacing.html"},"lodash-template/template-tag-spacing"),t(")")])])],-1)])),default:l(()=>[i[38]||(i[38]=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#B31D28","--shiki-light-font-style":"italic","--shiki-dark":"#FDAEB7","--shiki-dark-font-style":"italic"}},"<"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"%=")])],-1))]),_:1}),i[44]||(i[44]=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"text",-1)),e(a,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:l(({})=>i[39]||(i[39]=[s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[t("Expected 1 space before "),s("code",null,"%>"),t(", but no spaces found. ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/template-tag-spacing.html"},"lodash-template/template-tag-spacing"),t(")")])])],-1)])),default:l(()=>[i[40]||(i[40]=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"%>")])],-1))]),_:1}),i[45]||(i[45]=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"",-1)),i[46]||(i[46]=s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"div",-1)),i[47]||(i[47]=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">",-1))])])])]),i[80]||(i[80]=s("h3",{id:"never-expect-no-spaces-between-expression-and-curly-brackets",tabindex:"-1"},[s("code",null,'"never"'),t(" - Expect no spaces between expression and curly brackets. "),s("a",{class:"header-anchor",href:"#never-expect-no-spaces-between-expression-and-curly-brackets","aria-label":'Permalink to "`"never"` - Expect no spaces between expression and curly brackets."'},"")],-1)),s("div",b,[i[76]||(i[76]=s("button",{title:"Copy Code",class:"copy"},null,-1)),i[77]||(i[77]=s("span",{class:"lang"},"html",-1)),s("pre",w,[s("code",null,[i[74]||(i[74]=p(`<%/* eslint "lodash-template/template-tag-spacing": ["error", "never"] */%>
+<!-- ✓ GOOD -->
+<div><%=text%></div>
+
+<!-- ✗ BAD -->
+`,10)),s("span",c,[i[56]||(i[56]=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<",-1)),i[57]||(i[57]=s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"div",-1)),i[58]||(i[58]=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">",-1)),e(a,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:l(({})=>i[52]||(i[52]=[s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[t("Expected no spaces after "),s("code",null,"<%="),t(", but 3 spaces found. ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/template-tag-spacing.html"},"lodash-template/template-tag-spacing"),t(")")])])],-1)])),default:l(()=>[i[53]||(i[53]=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#B31D28","--shiki-light-font-style":"italic","--shiki-dark":"#FDAEB7","--shiki-dark-font-style":"italic"}},"<"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"%=")])],-1))]),_:1}),i[59]||(i[59]=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," text ",-1)),e(a,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:l(({})=>i[54]||(i[54]=[s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[t("Expected no spaces before "),s("code",null,"%>"),t(", but 3 spaces found. ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/template-tag-spacing.html"},"lodash-template/template-tag-spacing"),t(")")])])],-1)])),default:l(()=>[i[55]||(i[55]=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"%>")])],-1))]),_:1}),i[60]||(i[60]=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"",-1)),i[61]||(i[61]=s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"div",-1)),i[62]||(i[62]=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">",-1))]),i[75]||(i[75]=t(`
+`)),s("span",D,[i[67]||(i[67]=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<",-1)),i[68]||(i[68]=s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"div",-1)),i[69]||(i[69]=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">",-1)),e(a,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:l(({})=>i[63]||(i[63]=[s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[t("Expected no spaces after "),s("code",null,"<%="),t(", but 1 space found. ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/template-tag-spacing.html"},"lodash-template/template-tag-spacing"),t(")")])])],-1)])),default:l(()=>[i[64]||(i[64]=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#B31D28","--shiki-light-font-style":"italic","--shiki-dark":"#FDAEB7","--shiki-dark-font-style":"italic"}},"<"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"%=")])],-1))]),_:1}),i[70]||(i[70]=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," text ",-1)),e(a,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:l(({})=>i[65]||(i[65]=[s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[t("Expected no spaces before "),s("code",null,"%>"),t(", but 1 space found. ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/template-tag-spacing.html"},"lodash-template/template-tag-spacing"),t(")")])])],-1)])),default:l(()=>[i[66]||(i[66]=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"%>")])],-1))]),_:1}),i[71]||(i[71]=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"",-1)),i[72]||(i[72]=s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"div",-1)),i[73]||(i[73]=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">",-1))])])])]),i[81]||(i[81]=s("h2",{id:"implementation",tabindex:"-1"},[t("Implementation "),s("a",{class:"header-anchor",href:"#implementation","aria-label":'Permalink to "Implementation"'},"")],-1)),i[82]||(i[82]=s("ul",null,[s("li",null,[s("a",{href:"https://github.com/ota-meshi/eslint-plugin-lodash-template/blob/master/lib/rules/template-tag-spacing.js",target:"_blank",rel:"noreferrer"},"Rule source")]),s("li",null,[s("a",{href:"https://github.com/ota-meshi/eslint-plugin-lodash-template/blob/master/tests/lib/rules/template-tag-spacing.js",target:"_blank",rel:"noreferrer"},"Test source")])],-1))])}const T=n(k,[["render",x]]);export{P as __pageData,T as default};
diff --git a/assets/services_ast-for-html.md.DCBHSak1.js b/assets/services_ast-for-html.md.DCBHSak1.js
new file mode 100644
index 00000000..14472bdb
--- /dev/null
+++ b/assets/services_ast-for-html.md.DCBHSak1.js
@@ -0,0 +1,68 @@
+import{_ as i,c as a,a9 as t,o as n}from"./chunks/framework.D6W_pQcY.js";const E=JSON.parse('{"title":"AST for HTML","description":"","frontmatter":{"sidebarDepth":1},"headers":[],"relativePath":"services/ast-for-html.md","filePath":"services/ast-for-html.md","lastUpdated":1733171881000}'),h={name:"services/ast-for-html.md"};function l(e,s,k,p,r,d){return n(),a("div",null,s[0]||(s[0]=[t(`
The range property is an array which has 2 integers. The 1st integer is the offset of the start location of the node. The 2nd integer is the offset of the end location of the node.
extend interface HTMLNode {
+ range: [ number ]
+}
The range property is an array which has 2 integers. The 1st integer is the offset of the start location of the node. The 2nd integer is the offset of the end location of the node.
`,38)]))}const y=i(h,[["render",l]]);export{E as __pageData,y as default};
diff --git a/assets/services_ast-for-html.md.DCBHSak1.lean.js b/assets/services_ast-for-html.md.DCBHSak1.lean.js
new file mode 100644
index 00000000..14472bdb
--- /dev/null
+++ b/assets/services_ast-for-html.md.DCBHSak1.lean.js
@@ -0,0 +1,68 @@
+import{_ as i,c as a,a9 as t,o as n}from"./chunks/framework.D6W_pQcY.js";const E=JSON.parse('{"title":"AST for HTML","description":"","frontmatter":{"sidebarDepth":1},"headers":[],"relativePath":"services/ast-for-html.md","filePath":"services/ast-for-html.md","lastUpdated":1733171881000}'),h={name:"services/ast-for-html.md"};function l(e,s,k,p,r,d){return n(),a("div",null,s[0]||(s[0]=[t(`
The range property is an array which has 2 integers. The 1st integer is the offset of the start location of the node. The 2nd integer is the offset of the end location of the node.
extend interface HTMLNode {
+ range: [ number ]
+}
The range property is an array which has 2 integers. The 1st integer is the offset of the start location of the node. The 2nd integer is the offset of the end location of the node.
`,38)]))}const y=i(h,[["render",l]]);export{E as __pageData,y as default};
diff --git a/assets/services_ast-for-template-tag.md.DUGFd6lv.js b/assets/services_ast-for-template-tag.md.DUGFd6lv.js
new file mode 100644
index 00000000..8e7ccaf8
--- /dev/null
+++ b/assets/services_ast-for-template-tag.md.DUGFd6lv.js
@@ -0,0 +1,44 @@
+import{_ as i,c as a,a9 as e,o as t}from"./chunks/framework.D6W_pQcY.js";const E=JSON.parse('{"title":"AST for <%= templateTag %>","description":"","frontmatter":{"sidebarDepth":1},"headers":[],"relativePath":"services/ast-for-template-tag.md","filePath":"services/ast-for-template-tag.md","lastUpdated":1733171881000}'),n={name:"services/ast-for-template-tag.md"};function l(h,s,p,k,r,d){return t(),a("div",null,s[0]||(s[0]=[e(`
The range property is an array which has 2 integers. The 1st integer is the offset of the start location of the node. The 2nd integer is the offset of the end location of the node.
The range property is an array which has 2 integers. The 1st integer is the offset of the start location of the node. The 2nd integer is the offset of the end location of the node.
The delimiter string is stored in the chars property.
`,26)]))}const g=i(n,[["render",l]]);export{E as __pageData,g as default};
diff --git a/assets/services_ast-for-template-tag.md.DUGFd6lv.lean.js b/assets/services_ast-for-template-tag.md.DUGFd6lv.lean.js
new file mode 100644
index 00000000..8e7ccaf8
--- /dev/null
+++ b/assets/services_ast-for-template-tag.md.DUGFd6lv.lean.js
@@ -0,0 +1,44 @@
+import{_ as i,c as a,a9 as e,o as t}from"./chunks/framework.D6W_pQcY.js";const E=JSON.parse('{"title":"AST for <%= templateTag %>","description":"","frontmatter":{"sidebarDepth":1},"headers":[],"relativePath":"services/ast-for-template-tag.md","filePath":"services/ast-for-template-tag.md","lastUpdated":1733171881000}'),n={name:"services/ast-for-template-tag.md"};function l(h,s,p,k,r,d){return t(),a("div",null,s[0]||(s[0]=[e(`
The range property is an array which has 2 integers. The 1st integer is the offset of the start location of the node. The 2nd integer is the offset of the end location of the node.
The range property is an array which has 2 integers. The 1st integer is the offset of the start location of the node. The 2nd integer is the offset of the end location of the node.
The delimiter string is stored in the chars property.
`,26)]))}const g=i(n,[["render",l]]);export{E as __pageData,g as default};
diff --git a/assets/services_index.md.Cq1QsQcw.js b/assets/services_index.md.Cq1QsQcw.js
new file mode 100644
index 00000000..13079138
--- /dev/null
+++ b/assets/services_index.md.Cq1QsQcw.js
@@ -0,0 +1 @@
+import{_ as t,c as a,a9 as r,o as i}from"./chunks/framework.D6W_pQcY.js";const d=JSON.parse('{"title":"Contributing","description":"","frontmatter":{},"headers":[],"relativePath":"services/index.md","filePath":"services/index.md","lastUpdated":1733171881000}'),s={name:"services/index.md"};function o(l,e,c,m,n,h){return i(),a("div",null,e[0]||(e[0]=[r('
This plugin's parser provides MicroTemplateService from parserServices. MicroTemplateServic can be get with sourceCode.parserServices.getMicroTemplateService().
',7)]))}const u=t(s,[["render",o]]);export{d as __pageData,u as default};
diff --git a/assets/services_index.md.Cq1QsQcw.lean.js b/assets/services_index.md.Cq1QsQcw.lean.js
new file mode 100644
index 00000000..13079138
--- /dev/null
+++ b/assets/services_index.md.Cq1QsQcw.lean.js
@@ -0,0 +1 @@
+import{_ as t,c as a,a9 as r,o as i}from"./chunks/framework.D6W_pQcY.js";const d=JSON.parse('{"title":"Contributing","description":"","frontmatter":{},"headers":[],"relativePath":"services/index.md","filePath":"services/index.md","lastUpdated":1733171881000}'),s={name:"services/index.md"};function o(l,e,c,m,n,h){return i(),a("div",null,e[0]||(e[0]=[r('
This plugin's parser provides MicroTemplateService from parserServices. MicroTemplateServic can be get with sourceCode.parserServices.getMicroTemplateService().
*.configs['flat/base'] - Settings and rules to enable correct ESLint parsing
*.configs['flat/base-with-ejs'] - Settings and rules to enable correct ESLint parsing for EJS
*.configs['flat/best-practices'] - Above, plus rules to improve dev experience
*.configs['flat/recommended'] - Above, plus rules to improve code readability
*.configs['flat/recommended-with-html'] - Above, plus rules to improve code readability with HTML template
*.configs['flat/recommended-with-script'] - *.configs['flat/recommended'] config, plus to enable ESLint parsing of JavaScript templates (This is an experimental feature)
*.configs['flat/all'] - All rules of this plugin are included
plugin:lodash-template/base - Settings and rules to enable correct ESLint parsing
plugin:lodash-template/best-practices - Above, plus rules to improve dev experience
plugin:lodash-template/recommended - Above, plus rules to improve code readability
plugin:lodash-template/recommended-with-html - Above, plus rules to improve code readability with HTML template
plugin:lodash-template/recommended-with-script - plugin:lodash-template/recommended config, plus to enable ESLint parsing of JavaScript templates (This is an experimental feature)
plugin:lodash-template/all - All rules of this plugin are included
(This is an experimental feature. Also check for known limitations.)
For example if you have a file like below.
js
/* eslint no-multi-spaces: error */
+<% /* eslint lodash-template/no-multi-spaces-in-scriptlet: error */ %>
+
+// if this plugin is not used, a parsing error will occur.
+const obj
= <%= JSON.stringify(options
) %>
+// ^^^^ ^^^^^
+// | |
+// | If you don't use `"plugin:lodash-template/recommended-with-script"`,
+// | only the space after `options` is reported.
+// |
+// + When using `"plugin:lodash-template/recommended-with-script"`, the space after `obj` is also reported.
Interpolation in the script template will try to replace it with an identifier and parse it. If you generate a complex script in interpolation, you may get a parsing error.
If you use branching in your template, the plugin will generate multiple script ASTs needed to cover all branches. (Then merge the results of validating these ASTs.) This can confuse some rules and cause false positives.
However, this is necessary to avoid script parsing errors.
e.g.
Template:
js
const a = 'foo'
+<% if (x) { %>
+ const b = 1;
+<% } else { %>
+ const b = 2;
+<% } %>
Generated Script 1:
js
+const a = 'foo'
+
+ const b = 1;
Generated Script 2:
js
+const a = 'foo'
+
+
+
+ const b = 2;
If we use the following script, it is a parsing error.
js
+const a = 'foo'
+
+ const b = 1;
+
+ const b = 2; // <- Identifier 'b' has already been declared
The plugin also tries to generate scripts using branches that are as consistent as possible.
e.g.
Template:
js
<% if (x.foo) { %>
+ const a = 'x.foo is true'
+<% } %>
+// ...
+<% if (x.foo) { %>
+ console.log(a)
+<% } else { %>
+ // process for x.foo is false
+<% } %>
Generated Script 1:
js
+ const a = 'x.foo is true'
+
+// ...
+
+ console.log(a)
Generated Script 2:
js
+
+
+// ...
+
+
+
+ // process for x.foo is false
However, branching conditions are compared using text, so even logically the same can be confusing.
e.g.
Template:
js
<% if (x['foo']) { %>
+ const a = 'x.foo is true'
+<% } %>
+// ...
+<% if (x.foo) { %>
+ console.log(a)
+<% } else { %>
+ // process for x.foo is false
+<% } %>
Generated Script 1:
js
+ const a = 'x.foo is true'
+
+// ...
+
+ console.log(a)
Generated Script 2:
js
+ const a = 'x.foo is true'
+
+// ...
+
+
+
+ // process for x.foo is false
This template gets an error 'a' is assigned a value but never used. from the no-unused-vars rule.
People have own preference about the location of closing brackets. This rule enforces a line break (or no line break) before tag's closing brackets.
html
<div
+ id="foo"
+ class="bar"> <!-- On the same line with the last attribute. -->
+</div>
+<div
+ id="foo"
+ class="bar"
+> <!-- On the next line. -->
+</div>
singleline ... the configuration for single-line elements. It's a single-line element if the element does not have attributes or the last attribute is on the same line as the opening bracket.
"never" ... disallow line breaks before the closing bracket. This is the default.
"always" ... require one line break before the closing bracket.
multiline ... the configuration for multiline elements. It's a multiline element if the last attribute is not on the same line of the opening bracket.
"never" ... disallow line breaks before the closing bracket. This is the default.
"always" ... require one line break before the closing bracket.
type (number | "tab") ... The type of indentation. Default is 2. If this is a number, it's the number of spaces for one indent. If this is "tab", it uses one tab for one indent.
attribute (integer) ... The multiplier of indentation for attributes. Default is 1.
closeBracket (integer) ... The multiplier of indentation for right brackets. Default is 0.
Examples for this rule with { attribute: 1, closeBracket: 1 } option:
Limits the maximum number of attributes/properties per line to improve readability.
This rule aims to enforce a number of attributes per line in HTML. It checks all the elements and verifies that the number of attributes per line does not exceed the defined maximum. An attribute is considered to be in a new line when there is a line break between two attributes.
⚙️ This rule is included in all of "plugin:lodash-template/best-practices", "plugin:lodash-template/recommended", "plugin:lodash-template/recommended-with-html", "plugin:lodash-template/recommended-with-script" and "plugin:lodash-template/all".
disallow other than expression in micro-template interpolation. (ex. 🆖 <%= if (test) { %>)
⚙️ This rule is included in all of "plugin:lodash-template/best-practices", "plugin:lodash-template/recommended", "plugin:lodash-template/recommended-with-html", "plugin:lodash-template/recommended-with-script" and "plugin:lodash-template/all".
disallow irregular whitespace outside the template tags.
⚙️ This rule is included in all of "plugin:lodash-template/recommended", "plugin:lodash-template/recommended-with-html", "plugin:lodash-template/recommended-with-script" and "plugin:lodash-template/all".
🔧 The --fix option on the command line can automatically fix some of the problems reported by this rule.
disallow multiple spaces in scriptlet. (ex. 🆖 <% if···(test)···{ %>)
⚙️ This rule is included in all of "plugin:lodash-template/recommended", "plugin:lodash-template/recommended-with-html", "plugin:lodash-template/recommended-with-script" and "plugin:lodash-template/all".
🔧 The --fix option on the command line can automatically fix some of the problems reported by this rule.
⚙️ This rule is included in all of "plugin:lodash-template/base", "plugin:lodash-template/all", "plugin:lodash-template/best-practices", "plugin:lodash-template/recommended", "plugin:lodash-template/recommended-with-html" and "plugin:lodash-template/recommended-with-script".
disallow the semicolon at the end of expression in micro template interpolation.(ex. 🆗 <%= text %> 🆖 <%= text; %>)
⚙️ This rule is included in all of "plugin:lodash-template/best-practices", "plugin:lodash-template/recommended", "plugin:lodash-template/recommended-with-html", "plugin:lodash-template/recommended-with-script" and "plugin:lodash-template/all".
🔧 The --fix option on the command line can automatically fix some of the problems reported by this rule.
enforce consistent indentation to scriptlet in micro-template tag.
⚙️ This rule is included in all of "plugin:lodash-template/recommended", "plugin:lodash-template/recommended-with-html", "plugin:lodash-template/recommended-with-script" and "plugin:lodash-template/all".
🔧 The --fix option on the command line can automatically fix some of the problems reported by this rule.
type (number | "tab") ... The type of indentation. Default is 2. If this is a number, it's the number of spaces for one indent. If this is "tab", it uses one tab for one indent.
startIndent (integer) ... The multiplier of indentation for top-level statements in micro-template tag. Default is 1.
switchCase (integer) ... The multiplier of indentation for case/default clauses. Default is 0.
⚙️ This rule is included in all of "plugin:lodash-template/recommended", "plugin:lodash-template/recommended-with-html", "plugin:lodash-template/recommended-with-script" and "plugin:lodash-template/all".
🔧 The --fix option on the command line can automatically fix some of the problems reported by this rule.
The range property is an array which has 2 integers. The 1st integer is the offset of the start location of the node. The 2nd integer is the offset of the end location of the node.
extend interface HTMLNode {
+ range: [ number ]
+}
The range property is an array which has 2 integers. The 1st integer is the offset of the start location of the node. The 2nd integer is the offset of the end location of the node.
The range property is an array which has 2 integers. The 1st integer is the offset of the start location of the node. The 2nd integer is the offset of the end location of the node.
The range property is an array which has 2 integers. The 1st integer is the offset of the start location of the node. The 2nd integer is the offset of the end location of the node.
This plugin's parser provides MicroTemplateService from parserServices. MicroTemplateServic can be get with sourceCode.parserServices.getMicroTemplateService().
lodash-template/html-comment-content-newline
"plugin:lodash-template/recommended-with-html"
and"plugin:lodash-template/all"
.--fix
option on the command line can automatically fix some of the problems reported by this rule.Rule Details
This rule enforces a line break (or no line break) before and after HTML comment contents.
Options
singleline
... the configuration for single-line comments."ignore"
... Don't enforce line breaks style before and after the comments."never"
... disallow line breaks before and after the comments. This is the default."always"
... require one line break before and after the comments.multiline
... the configuration for multiline comments."ignore"
... Don't enforce line breaks style before and after the comments."never"
... disallow line breaks before and after the comments."always"
... require one line break before and after the comments. This is the default.Further Reading
Implementation