*.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),d={class:"language-js vp-adaptive-theme"},g=s("button",{title:"Copy Code",class:"copy"},null,-1),c=s("span",{class:"lang"},"js",-1),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"},E=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"/* eslint no-multi-spaces: error */")],-1),y=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"<%"),s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}}," /* eslint lodash-template/no-multi-spaces-in-scriptlet: error */"),s("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}}," %>")],-1),f=s("span",{class:"line"},null,-1),m=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"// if this plugin is not used, a parsing error will occur.")],-1),b={class:"line"},F=s("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"const",-1),v=s("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," obj",-1),D=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}}," ")])],-1),A=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,"Multiple spaces found before '='. (no-multi-spaces)")])],-1),q=t('= <%= JSON.stringify(options',6),C=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," ")])],-1),_=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[i("Multiple spaces found before "),s("code",null,")"),i(". ("),s("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"),i(")")])])],-1),x=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},") ",-1),w=s("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"%>",-1),B=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"// ^^^^ ^^^^^ ")],-1),S=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"// | |")],-1),j=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},'// | If you don\'t use `"plugin:lodash-template/recommended-with-script"`,')],-1),T=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"// | only the space after `options` is reported.")],-1),P=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"// |")],-1),I=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},'// + When using `"plugin:lodash-template/recommended-with-script"`, the space after `obj` is also reported.')],-1),L=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),l=[n];function o(h,p,r,d,c,k){return e(),a("div",null,l)}const m=s(t,[["render",o]]);export{g as __pageData,m as default};
diff --git a/assets/migration_0.13to0.14.md.BYhuNpkM.lean.js b/assets/migration_0.13to0.14.md.BYhuNpkM.lean.js
new file mode 100644
index 00000000..b23e113e
--- /dev/null
+++ b/assets/migration_0.13to0.14.md.BYhuNpkM.lean.js
@@ -0,0 +1 @@
+import{_ as s,c as a,o as e,a9 as i}from"./chunks/framework.CPdKJSF1.js";const g=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":1721431800000}'),t={name:"migration/0.13to0.14.md"},n=i("",37),l=[n];function o(h,p,r,d,c,k){return e(),a("div",null,l)}const m=s(t,[["render",o]]);export{g as __pageData,m as default};
diff --git a/assets/rules_attribute-name-casing.md.B_fPGJoI.js b/assets/rules_attribute-name-casing.md.B_fPGJoI.js
new file mode 100644
index 00000000..e7e41a1f
--- /dev/null
+++ b/assets/rules_attribute-name-casing.md.B_fPGJoI.js
@@ -0,0 +1,16 @@
+import{_ as n,c as o,j as s,a as i,I as l,w as t,a9 as a,D as h,o as r}from"./chunks/framework.CPdKJSF1.js";const W=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);function H(L,G,j,z,$,U){const e=h("v-menu");return r(),o("div",null,[d,s("div",k,[c,u,s("pre",g,[s("code",null,[m,i(`
+`),E,i(`
+`),b,i(`
+`),_,i(`
+`),y,i(`
+`),s("span",f,[v,q,C,l(e,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:t(({})=>[A]),default:t(()=>[F]),_:1}),B,w,D]),i(`
+`),s("span",x,[T,O,S,l(e,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:t(({})=>[R]),default:t(()=>[P]),_:1}),N,V,I])])])]),M])}const K=n(p,[["render",H]]);export{W as __pageData,K as default};
diff --git a/assets/rules_attribute-name-casing.md.B_fPGJoI.lean.js b/assets/rules_attribute-name-casing.md.B_fPGJoI.lean.js
new file mode 100644
index 00000000..500552d0
--- /dev/null
+++ b/assets/rules_attribute-name-casing.md.B_fPGJoI.lean.js
@@ -0,0 +1,7 @@
+import{_ as n,c as o,j as s,a as i,I as l,w as t,a9 as a,D as h,o as r}from"./chunks/framework.CPdKJSF1.js";const W=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: `
` :ng: `
` `
`)"},"headers":[],"relativePath":"rules/attribute-name-casing.md","filePath":"rules/attribute-name-casing.md","lastUpdated":1721431800000}'),p={name:"rules/attribute-name-casing.md"},d=a("",5),k={class:"language-html vp-adaptive-theme"},c=s("button",{title:"Copy Code",class:"copy"},null,-1),u=s("span",{class:"lang"},"html",-1),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"},m=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}},"<"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},'% /* eslint "lodash-template/attribute-name-casing": "error" */ %>')],-1),E=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),b=a("",1),_=s("span",{class:"line"},null,-1),y=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),f={class:"line"},v=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<",-1),q=s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"div",-1),C=s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," ",-1),F=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}},"fooBar")])],-1),A=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[i("Attribute "),s("code",null,"fooBar"),i(" must be 'kebab-case'. ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/attribute-name-casing.html"},"lodash-template/attribute-name-casing"),i(")")])])],-1),B=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"=",-1),w=s("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"abc"',-1),D=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">",-1),x={class:"line"},T=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<",-1),O=s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"div",-1),S=s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," ",-1),P=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}},"FOO-BAR")])],-1),R=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[i("Attribute "),s("code",null,"FOO-BAR"),i(" must be 'kebab-case'. ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/attribute-name-casing.html"},"lodash-template/attribute-name-casing"),i(")")])])],-1),N=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"=",-1),V=s("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"abc"',-1),I=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">",-1),M=a("",10);function H(L,G,j,z,$,U){const e=h("v-menu");return r(),o("div",null,[d,s("div",k,[c,u,s("pre",g,[s("code",null,[m,i(`
+`),E,i(`
+`),b,i(`
+`),_,i(`
+`),y,i(`
+`),s("span",f,[v,q,C,l(e,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:t(({})=>[A]),default:t(()=>[F]),_:1}),B,w,D]),i(`
+`),s("span",x,[T,O,S,l(e,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:t(({})=>[R]),default:t(()=>[P]),_:1}),N,V,I])])])]),M])}const K=n(p,[["render",H]]);export{W as __pageData,K as default};
diff --git a/assets/rules_attribute-value-quote.md.D5rEfMyZ.js b/assets/rules_attribute-value-quote.md.D5rEfMyZ.js
new file mode 100644
index 00000000..f8f7cf4d
--- /dev/null
+++ b/assets/rules_attribute-value-quote.md.D5rEfMyZ.js
@@ -0,0 +1,19 @@
+import{_ as o,c as h,j as s,a as t,I as l,w as i,a9 as e,D as n,o as r}from"./chunks/framework.CPdKJSF1.js";const Rs=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),M={class:"language-html vp-adaptive-theme"},O=s("button",{title:"Copy Code",class:"copy"},null,-1),H=s("span",{class:"lang"},"html",-1),L={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=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}},"<"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},'% /* eslint "lodash-template/attribute-value-quote": ["error", "single"] */ %>')],-1),j=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),Q=e('<img src='./logo.png'>',1),$=s("span",{class:"line"},null,-1),J=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),U={class:"line"},W=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<",-1),z=s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"img",-1),K=s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," src",-1),X=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"=",-1),Y=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"./logo.png"')])],-1),Z=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[t("Expected to be enclosed by single quotes. ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/attribute-value-quote.html"},"lodash-template/attribute-value-quote"),t(")")])])],-1),ss=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">",-1),ts={class:"line"},is=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<",-1),es=s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"img",-1),as=s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," src",-1),ls=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"=",-1),os=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},"./logo.png")])],-1),hs=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[t("Expected to be enclosed by single quotes. ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/attribute-value-quote.html"},"lodash-template/attribute-value-quote"),t(")")])])],-1),ns=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">",-1),rs=s("h3",{id:"examples-for-this-rule-with-either-option",tabindex:"-1"},[t("Examples for this rule with "),s("code",null,'"either"'),t(" option: "),s("a",{class:"header-anchor",href:"#examples-for-this-rule-with-either-option","aria-label":'Permalink to "Examples for this rule with `"either"` option:"'},"")],-1),ps={class:"language-html vp-adaptive-theme"},ds=s("button",{title:"Copy Code",class:"copy"},null,-1),ks=s("span",{class:"lang"},"html",-1),cs={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"},us=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}},"<"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},'% /* eslint "lodash-template/attribute-value-quote": ["error", "either"] */ %>')],-1),_s=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),gs=e('<img src="./logo.png">',1),Es=e('<img src='./logo.png'>',1),ys=s("span",{class:"line"},null,-1),bs=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),ms={class:"line"},qs=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<",-1),fs=s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"img",-1),vs=s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," src",-1),Fs=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"=",-1),Ts=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},"./logo.png")])],-1),As=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[t("Expected to be enclosed by quotes. ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/attribute-value-quote.html"},"lodash-template/attribute-value-quote"),t(")")])])],-1),Cs=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">",-1),Ds=e('
',4);function ws(Bs,xs,Ss,Ps,Vs,Is){const a=n("v-menu");return r(),h("div",null,[d,s("div",k,[c,u,s("pre",_,[s("code",null,[g,t(`
+`),E,t(`
+`),y,t(`
+`),b,t(`
+`),m,t(`
+`),s("span",q,[f,v,F,T,l(a,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:i(({})=>[C]),default:i(()=>[A]),_:1}),D]),t(`
+`),s("span",w,[B,x,S,P,l(a,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:i(({})=>[I]),default:i(()=>[V]),_:1}),N])])])]),R,s("div",M,[O,H,s("pre",L,[s("code",null,[G,t(`
+`),j,t(`
+`),Q,t(`
+`),$,t(`
+`),J,t(`
+`),s("span",U,[W,z,K,X,l(a,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:i(({})=>[Z]),default:i(()=>[Y]),_:1}),ss]),t(`
+`),s("span",ts,[is,es,as,ls,l(a,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:i(({})=>[hs]),default:i(()=>[os]),_:1}),ns])])])]),rs,s("div",ps,[ds,ks,s("pre",cs,[s("code",null,[us,t(`
+`),_s,t(`
+`),gs,t(`
+`),Es,t(`
+`),ys,t(`
+`),bs,t(`
+`),s("span",ms,[qs,fs,vs,Fs,l(a,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:i(({})=>[As]),default:i(()=>[Ts]),_:1}),Cs])])])]),Ds])}const Ms=o(p,[["render",ws]]);export{Rs as __pageData,Ms as default};
diff --git a/assets/rules_attribute-value-quote.md.D5rEfMyZ.lean.js b/assets/rules_attribute-value-quote.md.D5rEfMyZ.lean.js
new file mode 100644
index 00000000..f67ac5bb
--- /dev/null
+++ b/assets/rules_attribute-value-quote.md.D5rEfMyZ.lean.js
@@ -0,0 +1,19 @@
+import{_ as o,c as h,j as s,a as t,I as l,w as i,a9 as e,D as n,o as r}from"./chunks/framework.CPdKJSF1.js";const Rs=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: `
` :ng: `
` `
`)"},"headers":[],"relativePath":"rules/attribute-value-quote.md","filePath":"rules/attribute-value-quote.md","lastUpdated":1721431800000}'),p={name:"rules/attribute-value-quote.md"},d=e("",5),k={class:"language-html vp-adaptive-theme"},c=s("button",{title:"Copy Code",class:"copy"},null,-1),u=s("span",{class:"lang"},"html",-1),_={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=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}},"<"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},'% /* eslint "lodash-template/attribute-value-quote": "error" */ %>')],-1),E=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),y=e("",1),b=s("span",{class:"line"},null,-1),m=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),q={class:"line"},f=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<",-1),v=s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"img",-1),F=s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," src",-1),T=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"=",-1),A=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},"'./logo.png'")])],-1),C=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[t("Expected to be enclosed by double quotes. ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/attribute-value-quote.html"},"lodash-template/attribute-value-quote"),t(")")])])],-1),D=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">",-1),w={class:"line"},B=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<",-1),x=s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"img",-1),S=s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," src",-1),P=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"=",-1),V=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},"./logo.png")])],-1),I=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[t("Expected to be enclosed by double quotes. ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/attribute-value-quote.html"},"lodash-template/attribute-value-quote"),t(")")])])],-1),N=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">",-1),R=e("",4),M={class:"language-html vp-adaptive-theme"},O=s("button",{title:"Copy Code",class:"copy"},null,-1),H=s("span",{class:"lang"},"html",-1),L={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=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}},"<"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},'% /* eslint "lodash-template/attribute-value-quote": ["error", "single"] */ %>')],-1),j=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),Q=e("",1),$=s("span",{class:"line"},null,-1),J=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),U={class:"line"},W=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<",-1),z=s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"img",-1),K=s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," src",-1),X=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"=",-1),Y=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"./logo.png"')])],-1),Z=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[t("Expected to be enclosed by single quotes. ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/attribute-value-quote.html"},"lodash-template/attribute-value-quote"),t(")")])])],-1),ss=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">",-1),ts={class:"line"},is=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<",-1),es=s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"img",-1),as=s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," src",-1),ls=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"=",-1),os=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},"./logo.png")])],-1),hs=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[t("Expected to be enclosed by single quotes. ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/attribute-value-quote.html"},"lodash-template/attribute-value-quote"),t(")")])])],-1),ns=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">",-1),rs=s("h3",{id:"examples-for-this-rule-with-either-option",tabindex:"-1"},[t("Examples for this rule with "),s("code",null,'"either"'),t(" option: "),s("a",{class:"header-anchor",href:"#examples-for-this-rule-with-either-option","aria-label":'Permalink to "Examples for this rule with `"either"` option:"'},"")],-1),ps={class:"language-html vp-adaptive-theme"},ds=s("button",{title:"Copy Code",class:"copy"},null,-1),ks=s("span",{class:"lang"},"html",-1),cs={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"},us=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}},"<"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},'% /* eslint "lodash-template/attribute-value-quote": ["error", "either"] */ %>')],-1),_s=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),gs=e("",1),Es=e("",1),ys=s("span",{class:"line"},null,-1),bs=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),ms={class:"line"},qs=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<",-1),fs=s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"img",-1),vs=s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," src",-1),Fs=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"=",-1),Ts=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},"./logo.png")])],-1),As=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[t("Expected to be enclosed by quotes. ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/attribute-value-quote.html"},"lodash-template/attribute-value-quote"),t(")")])])],-1),Cs=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">",-1),Ds=e("",4);function ws(Bs,xs,Ss,Ps,Vs,Is){const a=n("v-menu");return r(),h("div",null,[d,s("div",k,[c,u,s("pre",_,[s("code",null,[g,t(`
+`),E,t(`
+`),y,t(`
+`),b,t(`
+`),m,t(`
+`),s("span",q,[f,v,F,T,l(a,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:i(({})=>[C]),default:i(()=>[A]),_:1}),D]),t(`
+`),s("span",w,[B,x,S,P,l(a,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:i(({})=>[I]),default:i(()=>[V]),_:1}),N])])])]),R,s("div",M,[O,H,s("pre",L,[s("code",null,[G,t(`
+`),j,t(`
+`),Q,t(`
+`),$,t(`
+`),J,t(`
+`),s("span",U,[W,z,K,X,l(a,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:i(({})=>[Z]),default:i(()=>[Y]),_:1}),ss]),t(`
+`),s("span",ts,[is,es,as,ls,l(a,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:i(({})=>[hs]),default:i(()=>[os]),_:1}),ns])])])]),rs,s("div",ps,[ds,ks,s("pre",cs,[s("code",null,[us,t(`
+`),_s,t(`
+`),gs,t(`
+`),Es,t(`
+`),ys,t(`
+`),bs,t(`
+`),s("span",ms,[qs,fs,vs,Fs,l(a,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:i(({})=>[As]),default:i(()=>[Ts]),_:1}),Cs])])])]),Ds])}const Ms=o(p,[["render",ws]]);export{Rs as __pageData,Ms as default};
diff --git a/assets/rules_element-name-casing.md.D8VKeOhs.js b/assets/rules_element-name-casing.md.D8VKeOhs.js
new file mode 100644
index 00000000..cc9cd916
--- /dev/null
+++ b/assets/rules_element-name-casing.md.D8VKeOhs.js
@@ -0,0 +1,8 @@
+import{_ as n,c as o,j as e,a as s,I as l,w as t,a9 as i,D as h,o as r}from"./chunks/framework.CPdKJSF1.js";const U=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: `` `
"),s(" 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"),s(")")])])],-1),T=e("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">",-1),w={class:"line"},A=e("span",null,[e("span",null,[e("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<"),e("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}},"xxxElement")])],-1),q=e("span",{class:"twoslash-popup-container vp-copy-ignore"},[e("div",{class:"twoslash-popup-error vp-doc"},[e("p",null,[s("Element name "),e("code",null,""),s(" 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"),s(")")])])],-1),V=e("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">",-1),C=i('
',4);function I(P,N,S,B,R,F){const a=h("v-menu");return r(),o("div",null,[p,e("div",d,[m,u,e("pre",_,[e("code",null,[g,s(`
+`),k,s(`
+`),E,s(`
+`),b,s(`
+`),f,s(`
+`),x,s(`
+`),e("span",y,[l(a,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:t(({})=>[v]),default:t(()=>[D]),_:1}),T]),s(`
+`),e("span",w,[l(a,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:t(({})=>[q]),default:t(()=>[A]),_:1}),V])])])]),C])}const $=n(c,[["render",I]]);export{U as __pageData,$ as default};
diff --git a/assets/rules_element-name-casing.md.D8VKeOhs.lean.js b/assets/rules_element-name-casing.md.D8VKeOhs.lean.js
new file mode 100644
index 00000000..01dac130
--- /dev/null
+++ b/assets/rules_element-name-casing.md.D8VKeOhs.lean.js
@@ -0,0 +1,8 @@
+import{_ as n,c as o,j as e,a as s,I as l,w as t,a9 as i,D as h,o as r}from"./chunks/framework.CPdKJSF1.js";const U=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: `` `
"),s(" 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"),s(")")])])],-1),T=e("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">",-1),w={class:"line"},A=e("span",null,[e("span",null,[e("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<"),e("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}},"xxxElement")])],-1),q=e("span",{class:"twoslash-popup-container vp-copy-ignore"},[e("div",{class:"twoslash-popup-error vp-doc"},[e("p",null,[s("Element name "),e("code",null,""),s(" 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"),s(")")])])],-1),V=e("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">",-1),C=i("",4);function I(P,N,S,B,R,F){const a=h("v-menu");return r(),o("div",null,[p,e("div",d,[m,u,e("pre",_,[e("code",null,[g,s(`
+`),k,s(`
+`),E,s(`
+`),b,s(`
+`),f,s(`
+`),x,s(`
+`),e("span",y,[l(a,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:t(({})=>[v]),default:t(()=>[D]),_:1}),T]),s(`
+`),e("span",w,[l(a,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:t(({})=>[q]),default:t(()=>[A]),_:1}),V])])])]),C])}const $=n(c,[["render",I]]);export{U as __pageData,$ as default};
diff --git a/assets/rules_html-closing-bracket-newline.md.g6WeyT1S.js b/assets/rules_html-closing-bracket-newline.md.g6WeyT1S.js
new file mode 100644
index 00000000..671efdf0
--- /dev/null
+++ b/assets/rules_html-closing-bracket-newline.md.g6WeyT1S.js
@@ -0,0 +1,48 @@
+import{_ as n,c as h,j as s,a as i,I as e,w as t,a9 as a,D as o,o as k}from"./chunks/framework.CPdKJSF1.js";const Rs=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":1721431800000}`),p={name:"rules/html-closing-bracket-newline.md"},r=a(`
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),d={class:"language-html vp-adaptive-theme"},c=s("button",{title:"Copy Code",class:"copy"},null,-1),E=s("span",{class:"lang"},"html",-1),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"},_=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}},"<"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},'% /* eslint "lodash-template/html-closing-bracket-newline": "error" */ %>')],-1),u=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),y=a('<div id="foo" class="bar"></div>',1),b=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<"),s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"div")],-1),m=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," id"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"="),s("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"foo"')],-1),F=a(' class="bar"></div>',1),f=s("span",{class:"line"},null,-1),C=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),v={class:"line"},w=a('<div id="foo" class="bar"',8),q=s("span",null,[s("span")],-1),A=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[i("Expected no line breaks before closing bracket, but 1 line break found. ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/html-closing-bracket-newline.html"},"lodash-template/html-closing-bracket-newline"),i(")")])])],-1),B=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),D=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<"),s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"div")],-1),T=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," id"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"="),s("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"foo"')],-1),x={class:"line"},S=s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," class",-1),P=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"=",-1),I=s("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"bar"',-1),V=s("span",null,[s("span")],-1),N=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[i("Expected no line breaks before closing bracket, but 1 line break found. ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/html-closing-bracket-newline.html"},"lodash-template/html-closing-bracket-newline"),i(")")])])],-1),R=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),O=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<"),s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"div")],-1),j=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," id"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"="),s("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"foo"')],-1),$={class:"line"},G=s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," class",-1),J=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"=",-1),U=s("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"bar"',-1),z=s("span",null,[s("span")],-1),H=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[i("Expected no line breaks before closing bracket, but 1 line break found. ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/html-closing-bracket-newline.html"},"lodash-template/html-closing-bracket-newline"),i(")")])])],-1),K=a('></div>',1),L=a(`
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.
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),d={class:"language-html vp-adaptive-theme"},c=s("button",{title:"Copy Code",class:"copy"},null,-1),E=s("span",{class:"lang"},"html",-1),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=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}},"<"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},'% /* eslint "lodash-template/html-closing-bracket-spacing": "error" */ %>')],-1),_=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),y=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<"),s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"input"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">")],-1),m=a('<input foo>',1),b=a('<div foo="bar">',1),f=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),q=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<"),s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"br"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," />")],-1),F=a('<input foo />',1),v=a('<input foo="bar" />',1),C=s("span",{class:"line"},null,-1),w=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),T={class:"line"},A=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<",-1),D=s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"input",-1),B=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," >")])],-1),S=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[i("Expected no space before "),s("code",null,">"),i(", 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"),i(")")])])],-1),x={class:"line"},P=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<",-1),V=s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"input",-1),I=s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," foo",-1),N=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," >")])],-1),R=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[i("Expected no space before "),s("code",null,">"),i(", 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"),i(")")])])],-1),O={class:"line"},j=a('<div foo="bar"',5),$=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," >")])],-1),G=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[i("Expected no space before "),s("code",null,">"),i(", 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"),i(")")])])],-1),J={class:"line"},U=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"",-1),z=s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"div",-1),H=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," >")])],-1),K=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[i("Expected no space before "),s("code",null,">"),i(", 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"),i(")")])])],-1),L={class:"line"},M=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<",-1),Q=s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"br",-1),W=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"/>")])],-1),X=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[i("Expected a space before "),s("code",null,"/>"),i(", 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"),i(")")])])],-1),Y={class:"line"},Z=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<",-1),ss=s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"input",-1),is=s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," foo",-1),ts=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"/>")])],-1),as=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[i("Expected a space before "),s("code",null,"/>"),i(", 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"),i(")")])])],-1),ls={class:"line"},es=a('<input foo="bar"',5),ns=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"/>")])],-1),hs=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[i("Expected a space before "),s("code",null,"/>"),i(", 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"),i(")")])])],-1),os=a(`
`,6);function ps(ks,rs,ds,cs,Es,gs){const l=o("v-menu");return p(),h("div",null,[r,s("div",d,[c,E,s("pre",g,[s("code",null,[u,i(`
+`),_,i(`
+`),y,i(`
+`),m,i(`
+`),b,i(`
+`),f,i(`
+`),q,i(`
+`),F,i(`
+`),v,i(`
+`),C,i(`
+`),w,i(`
+`),s("span",T,[A,D,e(l,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:t(({})=>[S]),default:t(()=>[B]),_:1})]),i(`
+`),s("span",x,[P,V,I,e(l,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:t(({})=>[R]),default:t(()=>[N]),_:1})]),i(`
+`),s("span",O,[j,e(l,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:t(({})=>[G]),default:t(()=>[$]),_:1})]),i(`
+`),s("span",J,[U,z,e(l,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:t(({})=>[K]),default:t(()=>[H]),_:1})]),i(`
+`),s("span",L,[M,Q,e(l,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:t(({})=>[X]),default:t(()=>[W]),_:1})]),i(`
+`),s("span",Y,[Z,ss,is,e(l,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:t(({})=>[as]),default:t(()=>[ts]),_:1})]),i(`
+`),s("span",ls,[es,e(l,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:t(({})=>[hs]),default:t(()=>[ns]),_:1})])])])]),os])}const ys=n(k,[["render",ps]]);export{_s as __pageData,ys as default};
diff --git a/assets/rules_html-closing-bracket-spacing.md.C8ylLT0B.lean.js b/assets/rules_html-closing-bracket-spacing.md.C8ylLT0B.lean.js
new file mode 100644
index 00000000..5cfd993d
--- /dev/null
+++ b/assets/rules_html-closing-bracket-spacing.md.C8ylLT0B.lean.js
@@ -0,0 +1,18 @@
+import{_ as n,c as h,j as s,a as i,I as e,w as t,a9 as a,D as o,o as p}from"./chunks/framework.CPdKJSF1.js";const _s=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":1721431800000}'),k={name:"rules/html-closing-bracket-spacing.md"},r=a("",6),d={class:"language-html vp-adaptive-theme"},c=s("button",{title:"Copy Code",class:"copy"},null,-1),E=s("span",{class:"lang"},"html",-1),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=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}},"<"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},'% /* eslint "lodash-template/html-closing-bracket-spacing": "error" */ %>')],-1),_=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),y=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<"),s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"input"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">")],-1),m=a("",1),b=a("",1),f=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),q=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<"),s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"br"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," />")],-1),F=a("",1),v=a("",1),C=s("span",{class:"line"},null,-1),w=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),T={class:"line"},A=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<",-1),D=s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"input",-1),B=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," >")])],-1),S=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[i("Expected no space before "),s("code",null,">"),i(", 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"),i(")")])])],-1),x={class:"line"},P=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<",-1),V=s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"input",-1),I=s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," foo",-1),N=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," >")])],-1),R=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[i("Expected no space before "),s("code",null,">"),i(", 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"),i(")")])])],-1),O={class:"line"},j=a("",5),$=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," >")])],-1),G=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[i("Expected no space before "),s("code",null,">"),i(", 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"),i(")")])])],-1),J={class:"line"},U=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"",-1),z=s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"div",-1),H=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," >")])],-1),K=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[i("Expected no space before "),s("code",null,">"),i(", 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"),i(")")])])],-1),L={class:"line"},M=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<",-1),Q=s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"br",-1),W=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"/>")])],-1),X=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[i("Expected a space before "),s("code",null,"/>"),i(", 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"),i(")")])])],-1),Y={class:"line"},Z=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<",-1),ss=s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"input",-1),is=s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," foo",-1),ts=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"/>")])],-1),as=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[i("Expected a space before "),s("code",null,"/>"),i(", 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"),i(")")])])],-1),ls={class:"line"},es=a("",5),ns=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"/>")])],-1),hs=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[i("Expected a space before "),s("code",null,"/>"),i(", 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"),i(")")])])],-1),os=a("",6);function ps(ks,rs,ds,cs,Es,gs){const l=o("v-menu");return p(),h("div",null,[r,s("div",d,[c,E,s("pre",g,[s("code",null,[u,i(`
+`),_,i(`
+`),y,i(`
+`),m,i(`
+`),b,i(`
+`),f,i(`
+`),q,i(`
+`),F,i(`
+`),v,i(`
+`),C,i(`
+`),w,i(`
+`),s("span",T,[A,D,e(l,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:t(({})=>[S]),default:t(()=>[B]),_:1})]),i(`
+`),s("span",x,[P,V,I,e(l,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:t(({})=>[R]),default:t(()=>[N]),_:1})]),i(`
+`),s("span",O,[j,e(l,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:t(({})=>[G]),default:t(()=>[$]),_:1})]),i(`
+`),s("span",J,[U,z,e(l,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:t(({})=>[K]),default:t(()=>[H]),_:1})]),i(`
+`),s("span",L,[M,Q,e(l,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:t(({})=>[X]),default:t(()=>[W]),_:1})]),i(`
+`),s("span",Y,[Z,ss,is,e(l,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:t(({})=>[as]),default:t(()=>[ts]),_:1})]),i(`
+`),s("span",ls,[es,e(l,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:t(({})=>[hs]),default:t(()=>[ns]),_:1})])])])]),os])}const ys=n(k,[["render",ps]]);export{_s as __pageData,ys as default};
diff --git a/assets/rules_html-comment-content-newline.md.CpKumZBn.js b/assets/rules_html-comment-content-newline.md.CpKumZBn.js
new file mode 100644
index 00000000..e36019a1
--- /dev/null
+++ b/assets/rules_html-comment-content-newline.md.CpKumZBn.js
@@ -0,0 +1,44 @@
+import{_ as o,c as a,j as s,a as e,I as l,w as t,a9 as n,D as h,o as p}from"./chunks/framework.CPdKJSF1.js";const ee=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":1721431800000}'),r={name:"rules/html-comment-content-newline.md"},c=n('
This rule enforces a line break (or no line break) before and after HTML comment contents.
',5),d={class:"language-html vp-adaptive-theme"},k=s("button",{title:"Copy Code",class:"copy"},null,-1),m=s("span",{class:"lang"},"html",-1),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"},_=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}},"<"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},'% /* eslint "lodash-template/html-comment-content-newline": "error" */ %>')],-1),g=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),f=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),w=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),A=s("span",{class:"line"},null,-1),v=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),E={class:"line"},q=s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},""),e(", but 1 line break found. ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/html-comment-content-newline.html"},"lodash-template/html-comment-content-newline"),e(")")])])],-1),V=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"-->")],-1),I=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},""),e(", but no line breaks found. ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/html-comment-content-newline.html"},"lodash-template/html-comment-content-newline"),e(")")])])],-1),M=s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"-->",-1),j={class:"line"},$=s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},""),e(", but no line breaks found. ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/html-comment-content-newline.html"},"lodash-template/html-comment-content-newline"),e(")")])])],-1),X=s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"-->",-1),Y=n(`
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.
`,3),Z={class:"language-html vp-adaptive-theme"},ss=s("button",{title:"Copy Code",class:"copy"},null,-1),es=s("span",{class:"lang"},"html",-1),ts={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"},is=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}},"<"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"% /* eslint")],-1),ls=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},' lodash-template/html-comment-content-newline: ["error", {')],-1),ns=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},' "singleline": "always",')],-1),os=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},' "multiline": "never"')],-1),as=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," }]")],-1),hs=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"*/ %>")],-1),ps=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),ds=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),us=s("span",{class:"line"},null,-1),_s=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),fs=s("span",{class:"line"},null,-1),ws={class:"line"},bs=s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},""),e(", but no line breaks found. ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/html-comment-content-newline.html"},"lodash-template/html-comment-content-newline"),e(")")])])],-1),qs=s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"-->",-1),Ts={class:"line"},xs=s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},""),e(", but no line breaks found. ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/html-comment-content-newline.html"},"lodash-template/html-comment-content-newline"),e(")")])])],-1),Vs=s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"-->",-1),Is=s("span",{class:"line"},null,-1),Ns={class:"line"},Rs=s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},""),e(", but 1 line break found. ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/html-comment-content-newline.html"},"lodash-template/html-comment-content-newline"),e(")")])])],-1),Js=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"-->")],-1),Us=n('
This rule enforces a line break (or no line break) before and after HTML contents.
',5),d={class:"language-html vp-adaptive-theme"},c=s("button",{title:"Copy Code",class:"copy"},null,-1),E=s("span",{class:"lang"},"html",-1),_={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=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}},"<"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},'% /* eslint "lodash-template/html-content-newline": "error" */ %>')],-1),u=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),y=n('<div class="panel">content</div>',1),m=s("span",{class:"line"},null,-1),f=n('<div class="panel">',1),b=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," content")],-1),v=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),w=s("span",{class:"line"},null,-1),F=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<"),s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"div")],-1),q=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," class"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"="),s("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"panel"')],-1),C=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">")],-1),T=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," content")],-1),A=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),D=s("span",{class:"line"},null,-1),B=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),x=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<"),s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"div")],-1),S=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," class"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"="),s("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"panel"')],-1),P={class:"line"},I=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">",-1),V=s("span",null,[s("span")],-1),N=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[i('Expected 1 line break after closing bracket of the "div" element, but no line breaks found. ('),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/html-content-newline.html"},"lodash-template/html-content-newline"),i(")")])])],-1),R=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"content",-1),O=s("span",null,[s("span")],-1),j=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[i('Expected 1 line break before opening bracket of the "div" element, but no line breaks found. ('),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/html-content-newline.html"},"lodash-template/html-content-newline"),i(")")])])],-1),H=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"",-1),L=s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"div",-1),M=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">",-1),$=n(`
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),G={class:"language-html vp-adaptive-theme"},J=s("button",{title:"Copy Code",class:"copy"},null,-1),U=s("span",{class:"lang"},"html",-1),z={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"},K=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}},"<"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"% /*eslint")],-1),Q=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},' lodash-template/html-content-newline: ["error", {')],-1),W=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},' "singleline": "always",')],-1),X=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},' "multiline": "never"')],-1),Y=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," }]")],-1),Z=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"*/ %>")],-1),ss=s("span",{class:"line"},null,-1),is=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),es=n('<div class="panel">',1),ts=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," content")],-1),ls=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),ns=s("span",{class:"line"},null,-1),as=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<"),s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"div")],-1),hs=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," class"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"="),s("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"panel"')],-1),os=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">content"),s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"div"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">")],-1),ps=s("span",{class:"line"},null,-1),rs=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),ks={class:"line"},ds=n('<div class="panel">',6),cs=s("span",null,[s("span")],-1),Es=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[i('Expected 1 line break after closing bracket of the "div" element, but no line breaks found. ('),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/html-content-newline.html"},"lodash-template/html-content-newline"),i(")")])])],-1),_s=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"content",-1),gs=s("span",null,[s("span")],-1),us=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[i('Expected 1 line break before opening bracket of the "div" element, but no line breaks found. ('),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/html-content-newline.html"},"lodash-template/html-content-newline"),i(")")])])],-1),ys=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"",-1),ms=s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"div",-1),fs=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">",-1),bs=s("span",{class:"line"},null,-1),vs=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<"),s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"div")],-1),ws=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," class"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"="),s("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"panel"')],-1),Fs={class:"line"},qs=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">",-1),Cs=s("span",null,[s("span")],-1),Ts=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[i('Expected no line breaks after closing bracket of the "div" element, but 1 line break found. ('),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/html-content-newline.html"},"lodash-template/html-content-newline"),i(")")])])],-1),As={class:"line"},Ds=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," ",-1),Bs=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"content",-1),xs=s("span",null,[s("span")],-1),Ss=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[i('Expected no line breaks before opening bracket of the "div" element, but 1 line break found. ('),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/html-content-newline.html"},"lodash-template/html-content-newline"),i(")")])])],-1),Ps=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),Is=s("h2",{id:"implementation",tabindex:"-1"},[i("Implementation "),s("a",{class:"header-anchor",href:"#implementation","aria-label":'Permalink to "Implementation"'},"")],-1),Vs=s("ul",null,[s("li",null,[s("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")]),s("li",null,[s("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);function Ns(Rs,Os,js,Hs,Ls,Ms){const t=o("v-menu");return p(),h("div",null,[k,s("div",d,[c,E,s("pre",_,[s("code",null,[g,i(`
+`),u,i(`
+`),y,i(`
+`),m,i(`
+`),f,i(`
+`),b,i(`
+`),v,i(`
+`),w,i(`
+`),F,i(`
+`),q,i(`
+`),C,i(`
+`),T,i(`
+`),A,i(`
+`),D,i(`
+`),B,i(`
+`),x,i(`
+`),S,i(`
+`),s("span",P,[I,l(t,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:e(({})=>[N]),default:e(()=>[V]),_:1}),R,l(t,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:e(({})=>[j]),default:e(()=>[O]),_:1}),H,L,M])])])]),$,s("div",G,[J,U,s("pre",z,[s("code",null,[K,i(`
+`),Q,i(`
+`),W,i(`
+`),X,i(`
+`),Y,i(`
+`),Z,i(`
+`),ss,i(`
+`),is,i(`
+`),es,i(`
+`),ts,i(`
+`),ls,i(`
+`),ns,i(`
+`),as,i(`
+`),hs,i(`
+`),os,i(`
+`),ps,i(`
+`),rs,i(`
+`),s("span",ks,[ds,l(t,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:e(({})=>[Es]),default:e(()=>[cs]),_:1}),_s,l(t,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:e(({})=>[us]),default:e(()=>[gs]),_:1}),ys,ms,fs]),i(`
+`),bs,i(`
+`),vs,i(`
+`),ws,i(`
+`),s("span",Fs,[qs,l(t,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:e(({})=>[Ts]),default:e(()=>[Cs]),_:1})]),i(`
+`),s("span",As,[Ds,Bs,l(t,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:e(({})=>[Ss]),default:e(()=>[xs]),_:1})]),i(`
+`),Ps])])]),Is,Vs])}const Js=a(r,[["render",Ns]]);export{Gs as __pageData,Js as default};
diff --git a/assets/rules_html-content-newline.md.B9D8l6D4.lean.js b/assets/rules_html-content-newline.md.B9D8l6D4.lean.js
new file mode 100644
index 00000000..d1ac364b
--- /dev/null
+++ b/assets/rules_html-content-newline.md.B9D8l6D4.lean.js
@@ -0,0 +1,41 @@
+import{_ as a,c as h,j as s,a as i,I as l,w as e,a9 as n,D as o,o as p}from"./chunks/framework.CPdKJSF1.js";const Gs=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":1721431800000}'),r={name:"rules/html-content-newline.md"},k=n("",5),d={class:"language-html vp-adaptive-theme"},c=s("button",{title:"Copy Code",class:"copy"},null,-1),E=s("span",{class:"lang"},"html",-1),_={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=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}},"<"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},'% /* eslint "lodash-template/html-content-newline": "error" */ %>')],-1),u=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),y=n("",1),m=s("span",{class:"line"},null,-1),f=n("",1),b=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," content")],-1),v=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),w=s("span",{class:"line"},null,-1),F=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<"),s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"div")],-1),q=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," class"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"="),s("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"panel"')],-1),C=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">")],-1),T=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," content")],-1),A=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),D=s("span",{class:"line"},null,-1),B=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),x=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<"),s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"div")],-1),S=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," class"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"="),s("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"panel"')],-1),P={class:"line"},I=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">",-1),V=s("span",null,[s("span")],-1),N=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[i('Expected 1 line break after closing bracket of the "div" element, but no line breaks found. ('),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/html-content-newline.html"},"lodash-template/html-content-newline"),i(")")])])],-1),R=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"content",-1),O=s("span",null,[s("span")],-1),j=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[i('Expected 1 line break before opening bracket of the "div" element, but no line breaks found. ('),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/html-content-newline.html"},"lodash-template/html-content-newline"),i(")")])])],-1),H=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"",-1),L=s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"div",-1),M=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">",-1),$=n("",3),G={class:"language-html vp-adaptive-theme"},J=s("button",{title:"Copy Code",class:"copy"},null,-1),U=s("span",{class:"lang"},"html",-1),z={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"},K=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}},"<"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"% /*eslint")],-1),Q=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},' lodash-template/html-content-newline: ["error", {')],-1),W=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},' "singleline": "always",')],-1),X=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},' "multiline": "never"')],-1),Y=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," }]")],-1),Z=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"*/ %>")],-1),ss=s("span",{class:"line"},null,-1),is=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),es=n("",1),ts=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," content")],-1),ls=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),ns=s("span",{class:"line"},null,-1),as=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<"),s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"div")],-1),hs=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," class"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"="),s("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"panel"')],-1),os=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">content"),s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"div"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">")],-1),ps=s("span",{class:"line"},null,-1),rs=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),ks={class:"line"},ds=n("",6),cs=s("span",null,[s("span")],-1),Es=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[i('Expected 1 line break after closing bracket of the "div" element, but no line breaks found. ('),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/html-content-newline.html"},"lodash-template/html-content-newline"),i(")")])])],-1),_s=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"content",-1),gs=s("span",null,[s("span")],-1),us=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[i('Expected 1 line break before opening bracket of the "div" element, but no line breaks found. ('),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/html-content-newline.html"},"lodash-template/html-content-newline"),i(")")])])],-1),ys=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"",-1),ms=s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"div",-1),fs=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">",-1),bs=s("span",{class:"line"},null,-1),vs=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<"),s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"div")],-1),ws=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," class"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"="),s("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"panel"')],-1),Fs={class:"line"},qs=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">",-1),Cs=s("span",null,[s("span")],-1),Ts=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[i('Expected no line breaks after closing bracket of the "div" element, but 1 line break found. ('),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/html-content-newline.html"},"lodash-template/html-content-newline"),i(")")])])],-1),As={class:"line"},Ds=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," ",-1),Bs=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"content",-1),xs=s("span",null,[s("span")],-1),Ss=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[i('Expected no line breaks before opening bracket of the "div" element, but 1 line break found. ('),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/html-content-newline.html"},"lodash-template/html-content-newline"),i(")")])])],-1),Ps=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),Is=s("h2",{id:"implementation",tabindex:"-1"},[i("Implementation "),s("a",{class:"header-anchor",href:"#implementation","aria-label":'Permalink to "Implementation"'},"")],-1),Vs=s("ul",null,[s("li",null,[s("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")]),s("li",null,[s("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);function Ns(Rs,Os,js,Hs,Ls,Ms){const t=o("v-menu");return p(),h("div",null,[k,s("div",d,[c,E,s("pre",_,[s("code",null,[g,i(`
+`),u,i(`
+`),y,i(`
+`),m,i(`
+`),f,i(`
+`),b,i(`
+`),v,i(`
+`),w,i(`
+`),F,i(`
+`),q,i(`
+`),C,i(`
+`),T,i(`
+`),A,i(`
+`),D,i(`
+`),B,i(`
+`),x,i(`
+`),S,i(`
+`),s("span",P,[I,l(t,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:e(({})=>[N]),default:e(()=>[V]),_:1}),R,l(t,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:e(({})=>[j]),default:e(()=>[O]),_:1}),H,L,M])])])]),$,s("div",G,[J,U,s("pre",z,[s("code",null,[K,i(`
+`),Q,i(`
+`),W,i(`
+`),X,i(`
+`),Y,i(`
+`),Z,i(`
+`),ss,i(`
+`),is,i(`
+`),es,i(`
+`),ts,i(`
+`),ls,i(`
+`),ns,i(`
+`),as,i(`
+`),hs,i(`
+`),os,i(`
+`),ps,i(`
+`),rs,i(`
+`),s("span",ks,[ds,l(t,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:e(({})=>[Es]),default:e(()=>[cs]),_:1}),_s,l(t,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:e(({})=>[us]),default:e(()=>[gs]),_:1}),ys,ms,fs]),i(`
+`),bs,i(`
+`),vs,i(`
+`),ws,i(`
+`),s("span",Fs,[qs,l(t,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:e(({})=>[Ts]),default:e(()=>[Cs]),_:1})]),i(`
+`),s("span",As,[Ds,Bs,l(t,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:e(({})=>[Ss]),default:e(()=>[xs]),_:1})]),i(`
+`),Ps])])]),Is,Vs])}const Js=a(r,[["render",Ns]]);export{Gs as __pageData,Js as default};
diff --git a/assets/rules_html-indent.md.BKma_2yi.js b/assets/rules_html-indent.md.BKma_2yi.js
new file mode 100644
index 00000000..7ff2b418
--- /dev/null
+++ b/assets/rules_html-indent.md.BKma_2yi.js
@@ -0,0 +1,41 @@
+import{_ as n,c as h,j as s,a as i,I as l,w as t,a9 as a,D as p,o}from"./chunks/framework.CPdKJSF1.js";const W=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":1721431800000}'),k={name:"rules/html-indent.md"},d=a('
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:
`,22),n=[s];function d(o,r,h,p,c,g){return l(),e("div",null,n)}const y=t(i,[["render",d]]);export{f as __pageData,y as default};
diff --git a/assets/rules_index.md.CaVhX-YM.lean.js b/assets/rules_index.md.CaVhX-YM.lean.js
new file mode 100644
index 00000000..a8737288
--- /dev/null
+++ b/assets/rules_index.md.CaVhX-YM.lean.js
@@ -0,0 +1 @@
+import{_ as t,c as e,o as l,a9 as a}from"./chunks/framework.CPdKJSF1.js";const f=JSON.parse('{"title":"All Rules","description":"","frontmatter":{"sidebarDepth":0},"headers":[],"relativePath":"rules/index.md","filePath":"rules/index.md","lastUpdated":1721431800000}'),i={name:"rules/index.md"},s=a("",22),n=[s];function d(o,r,h,p,c,g){return l(),e("div",null,n)}const y=t(i,[["render",d]]);export{f as __pageData,y as default};
diff --git a/assets/rules_max-attributes-per-line.md.Hrxx8STn.js b/assets/rules_max-attributes-per-line.md.Hrxx8STn.js
new file mode 100644
index 00000000..8462527f
--- /dev/null
+++ b/assets/rules_max-attributes-per-line.md.Hrxx8STn.js
@@ -0,0 +1,76 @@
+import{_ as n,c as h,j as s,a as i,I as e,w as t,a9 as l,D as o,o as p}from"./chunks/framework.CPdKJSF1.js";const Oi=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":1721431800000}'),k={name:"rules/max-attributes-per-line.md"},r=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),d={class:"language-html vp-adaptive-theme"},c=s("button",{title:"Copy Code",class:"copy"},null,-1),E=s("span",{class:"lang"},"html",-1),_={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=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}},"<"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},'% /* eslint "lodash-template/max-attributes-per-line": "error" */ %>')],-1),u=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),y=l('<input foo="1">',1),m=s("span",{class:"line"},null,-1),F=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<"),s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"input")],-1),b=s("span",{class:"line"},[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"}},'"1"')],-1),f=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," bar"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"="),s("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"2"')],-1),C=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">")],-1),B=s("span",{class:"line"},null,-1),v=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<"),s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"input")],-1),w=s("span",{class:"line"},[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"}},'"1"')],-1),A=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," bar"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"="),s("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"2"')],-1),x=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," baz"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"="),s("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"3"')],-1),D=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">")],-1),T=s("span",{class:"line"},null,-1),q=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),P={class:"line"},S=l('<input foo="1"',6),I=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}},"bar"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"="),s("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"2"')])],-1),V=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[i('Attribute "bar" should be on a new line. ('),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/max-attributes-per-line.html"},"lodash-template/max-attributes-per-line"),i(")")])])],-1),N=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">",-1),O=s("span",{class:"line"},null,-1),L=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<"),s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"input")],-1),R={class:"line"},j=s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," foo",-1),G=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"=",-1),H=s("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"1"',-1),M=s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," ",-1),$=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}},"bar"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"="),s("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"2"')])],-1),z=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[i('Attribute "bar" should be on a new line. ('),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/max-attributes-per-line.html"},"lodash-template/max-attributes-per-line"),i(")")])])],-1),J=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">")],-1),U=s("span",{class:"line"},null,-1),K=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<"),s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"input")],-1),Q={class:"line"},W=s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," foo",-1),X=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"=",-1),Y=s("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"1"',-1),Z=s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," ",-1),ss=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}},"bar"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"="),s("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"2"')])],-1),is=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[i('Attribute "bar" should be on a new line. ('),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/max-attributes-per-line.html"},"lodash-template/max-attributes-per-line"),i(")")])])],-1),ts=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," baz"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"="),s("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"3"')],-1),as=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">")],-1),es=l(`
For multi-line declarations, defines if allows attributes to be put in the first line. (Default false)
`,4),ls={class:"language-html vp-adaptive-theme"},ns=s("button",{title:"Copy Code",class:"copy"},null,-1),hs=s("span",{class:"lang"},"html",-1),os={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"},ps=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}},"<"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"% /* eslint")],-1),ks=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},' lodash-template/max-attributes-per-line: ["error", {')],-1),rs=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},' "multiline": {')],-1),ds=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},' "allowFirstLine": false')],-1),cs=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," }")],-1),Es=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," }]")],-1),_s=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"*/ %>")],-1),gs=s("span",{class:"line"},null,-1),us=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),ys=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<"),s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"input")],-1),ms=s("span",{class:"line"},[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"}},'"1"')],-1),Fs=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," bar"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"="),s("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"2"')],-1),bs=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">")],-1),fs=s("span",{class:"line"},null,-1),Cs=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),Bs={class:"line"},vs=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<",-1),ws=s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"input",-1),As=s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," ",-1),xs=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"}},'"1"')])],-1),Ds=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[i('Attribute "foo" should be on a new line. ('),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/max-attributes-per-line.html"},"lodash-template/max-attributes-per-line"),i(")")])])],-1),Ts=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," bar"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"="),s("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"2"')],-1),qs=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">")],-1),Ps=s("h3",{id:"singleline",tabindex:"-1"},[s("code",null,"singleline"),i(),s("a",{class:"header-anchor",href:"#singleline","aria-label":'Permalink to "`singleline`"'},"")],-1),Ss=s("p",null,"Number of maximum attributes per line when the opening tag is in a single line. (Default is 1)",-1),Is={class:"language-html vp-adaptive-theme"},Vs=s("button",{title:"Copy Code",class:"copy"},null,-1),Ns=s("span",{class:"lang"},"html",-1),Os={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"},Ls=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}},"<"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"% /* eslint")],-1),Rs=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},' lodash-template/max-attributes-per-line: ["error", {')],-1),js=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},' "singleline": 1')],-1),Gs=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," }]")],-1),Hs=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"*/ %>")],-1),Ms=s("span",{class:"line"},null,-1),$s=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),zs=l('<input foo="1">',1),Js=s("span",{class:"line"},null,-1),Us=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),Ks={class:"line"},Qs=l('<input foo="1"',6),Ws=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}},"bar"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"="),s("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"2"')])],-1),Xs=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[i('Attribute "bar" should be on a new line. ('),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/max-attributes-per-line.html"},"lodash-template/max-attributes-per-line"),i(")")])])],-1),Ys=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">",-1),Zs=s("h3",{id:"multiline",tabindex:"-1"},[s("code",null,"multiline"),i(),s("a",{class:"header-anchor",href:"#multiline","aria-label":'Permalink to "`multiline`"'},"")],-1),si=s("p",null,"Number of maximum attributes per line when a tag is in multiple lines. (Default is 1)",-1),ii={class:"language-html vp-adaptive-theme"},ti=s("button",{title:"Copy Code",class:"copy"},null,-1),ai=s("span",{class:"lang"},"html",-1),ei={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"},li=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}},"<"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"% /* eslint")],-1),ni=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},' lodash-template/max-attributes-per-line: ["error", {')],-1),hi=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},' "multiline": 1')],-1),oi=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," }]")],-1),pi=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"*/ %>")],-1),ki=s("span",{class:"line"},null,-1),ri=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),di=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<"),s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"input")],-1),ci=s("span",{class:"line"},[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"}},'"1"')],-1),Ei=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," bar"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"="),s("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"2"')],-1),_i=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">")],-1),gi=s("span",{class:"line"},null,-1),ui=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),yi=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<"),s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"input")],-1),mi={class:"line"},Fi=s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," foo",-1),bi=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"=",-1),fi=s("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"1"',-1),Ci=s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," ",-1),Bi=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}},"bar"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"="),s("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"2"')])],-1),vi=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[i('Attribute "bar" should be on a new line. ('),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/max-attributes-per-line.html"},"lodash-template/max-attributes-per-line"),i(")")])])],-1),wi=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">")],-1),Ai=s("h2",{id:"implementation",tabindex:"-1"},[i("Implementation "),s("a",{class:"header-anchor",href:"#implementation","aria-label":'Permalink to "Implementation"'},"")],-1),xi=s("ul",null,[s("li",null,[s("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")]),s("li",null,[s("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);function Di(Ti,qi,Pi,Si,Ii,Vi){const a=o("v-menu");return p(),h("div",null,[r,s("div",d,[c,E,s("pre",_,[s("code",null,[g,i(`
+`),u,i(`
+`),y,i(`
+`),m,i(`
+`),F,i(`
+`),b,i(`
+`),f,i(`
+`),C,i(`
+`),B,i(`
+`),v,i(`
+`),w,i(`
+`),A,i(`
+`),x,i(`
+`),D,i(`
+`),T,i(`
+`),q,i(`
+`),s("span",P,[S,e(a,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:t(({})=>[V]),default:t(()=>[I]),_:1}),N]),i(`
+`),O,i(`
+`),L,i(`
+`),s("span",R,[j,G,H,M,e(a,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:t(({})=>[z]),default:t(()=>[$]),_:1})]),i(`
+`),J,i(`
+`),U,i(`
+`),K,i(`
+`),s("span",Q,[W,X,Y,Z,e(a,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:t(({})=>[is]),default:t(()=>[ss]),_:1})]),i(`
+`),ts,i(`
+`),as])])]),es,s("div",ls,[ns,hs,s("pre",os,[s("code",null,[ps,i(`
+`),ks,i(`
+`),rs,i(`
+`),ds,i(`
+`),cs,i(`
+`),Es,i(`
+`),_s,i(`
+`),gs,i(`
+`),us,i(`
+`),ys,i(`
+`),ms,i(`
+`),Fs,i(`
+`),bs,i(`
+`),fs,i(`
+`),Cs,i(`
+`),s("span",Bs,[vs,ws,As,e(a,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:t(({})=>[Ds]),default:t(()=>[xs]),_:1})]),i(`
+`),Ts,i(`
+`),qs])])]),Ps,Ss,s("div",Is,[Vs,Ns,s("pre",Os,[s("code",null,[Ls,i(`
+`),Rs,i(`
+`),js,i(`
+`),Gs,i(`
+`),Hs,i(`
+`),Ms,i(`
+`),$s,i(`
+`),zs,i(`
+`),Js,i(`
+`),Us,i(`
+`),s("span",Ks,[Qs,e(a,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:t(({})=>[Xs]),default:t(()=>[Ws]),_:1}),Ys])])])]),Zs,si,s("div",ii,[ti,ai,s("pre",ei,[s("code",null,[li,i(`
+`),ni,i(`
+`),hi,i(`
+`),oi,i(`
+`),pi,i(`
+`),ki,i(`
+`),ri,i(`
+`),di,i(`
+`),ci,i(`
+`),Ei,i(`
+`),_i,i(`
+`),gi,i(`
+`),ui,i(`
+`),yi,i(`
+`),s("span",mi,[Fi,bi,fi,Ci,e(a,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:t(({})=>[vi]),default:t(()=>[Bi]),_:1})]),i(`
+`),wi])])]),Ai,xi])}const Li=n(k,[["render",Di]]);export{Oi as __pageData,Li as default};
diff --git a/assets/rules_max-attributes-per-line.md.Hrxx8STn.lean.js b/assets/rules_max-attributes-per-line.md.Hrxx8STn.lean.js
new file mode 100644
index 00000000..58adbe82
--- /dev/null
+++ b/assets/rules_max-attributes-per-line.md.Hrxx8STn.lean.js
@@ -0,0 +1,68 @@
+import{_ as n,c as h,j as s,a as i,I as e,w as t,a9 as l,D as o,o as p}from"./chunks/framework.CPdKJSF1.js";const Oi=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":1721431800000}'),k={name:"rules/max-attributes-per-line.md"},r=l("",6),d={class:"language-html vp-adaptive-theme"},c=s("button",{title:"Copy Code",class:"copy"},null,-1),E=s("span",{class:"lang"},"html",-1),_={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=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}},"<"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},'% /* eslint "lodash-template/max-attributes-per-line": "error" */ %>')],-1),u=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),y=l("",1),m=s("span",{class:"line"},null,-1),F=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<"),s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"input")],-1),b=s("span",{class:"line"},[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"}},'"1"')],-1),f=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," bar"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"="),s("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"2"')],-1),C=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">")],-1),B=s("span",{class:"line"},null,-1),v=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<"),s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"input")],-1),w=s("span",{class:"line"},[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"}},'"1"')],-1),A=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," bar"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"="),s("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"2"')],-1),x=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," baz"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"="),s("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"3"')],-1),D=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">")],-1),T=s("span",{class:"line"},null,-1),q=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),P={class:"line"},S=l("",6),I=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}},"bar"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"="),s("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"2"')])],-1),V=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[i('Attribute "bar" should be on a new line. ('),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/max-attributes-per-line.html"},"lodash-template/max-attributes-per-line"),i(")")])])],-1),N=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">",-1),O=s("span",{class:"line"},null,-1),L=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<"),s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"input")],-1),R={class:"line"},j=s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," foo",-1),G=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"=",-1),H=s("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"1"',-1),M=s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," ",-1),$=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}},"bar"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"="),s("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"2"')])],-1),z=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[i('Attribute "bar" should be on a new line. ('),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/max-attributes-per-line.html"},"lodash-template/max-attributes-per-line"),i(")")])])],-1),J=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">")],-1),U=s("span",{class:"line"},null,-1),K=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<"),s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"input")],-1),Q={class:"line"},W=s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," foo",-1),X=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"=",-1),Y=s("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"1"',-1),Z=s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," ",-1),ss=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}},"bar"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"="),s("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"2"')])],-1),is=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[i('Attribute "bar" should be on a new line. ('),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/max-attributes-per-line.html"},"lodash-template/max-attributes-per-line"),i(")")])])],-1),ts=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," baz"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"="),s("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"3"')],-1),as=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">")],-1),es=l("",4),ls={class:"language-html vp-adaptive-theme"},ns=s("button",{title:"Copy Code",class:"copy"},null,-1),hs=s("span",{class:"lang"},"html",-1),os={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"},ps=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}},"<"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"% /* eslint")],-1),ks=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},' lodash-template/max-attributes-per-line: ["error", {')],-1),rs=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},' "multiline": {')],-1),ds=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},' "allowFirstLine": false')],-1),cs=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," }")],-1),Es=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," }]")],-1),_s=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"*/ %>")],-1),gs=s("span",{class:"line"},null,-1),us=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),ys=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<"),s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"input")],-1),ms=s("span",{class:"line"},[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"}},'"1"')],-1),Fs=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," bar"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"="),s("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"2"')],-1),bs=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">")],-1),fs=s("span",{class:"line"},null,-1),Cs=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),Bs={class:"line"},vs=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<",-1),ws=s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"input",-1),As=s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," ",-1),xs=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"}},'"1"')])],-1),Ds=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[i('Attribute "foo" should be on a new line. ('),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/max-attributes-per-line.html"},"lodash-template/max-attributes-per-line"),i(")")])])],-1),Ts=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," bar"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"="),s("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"2"')],-1),qs=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">")],-1),Ps=s("h3",{id:"singleline",tabindex:"-1"},[s("code",null,"singleline"),i(),s("a",{class:"header-anchor",href:"#singleline","aria-label":'Permalink to "`singleline`"'},"")],-1),Ss=s("p",null,"Number of maximum attributes per line when the opening tag is in a single line. (Default is 1)",-1),Is={class:"language-html vp-adaptive-theme"},Vs=s("button",{title:"Copy Code",class:"copy"},null,-1),Ns=s("span",{class:"lang"},"html",-1),Os={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"},Ls=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}},"<"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"% /* eslint")],-1),Rs=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},' lodash-template/max-attributes-per-line: ["error", {')],-1),js=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},' "singleline": 1')],-1),Gs=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," }]")],-1),Hs=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"*/ %>")],-1),Ms=s("span",{class:"line"},null,-1),$s=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),zs=l("",1),Js=s("span",{class:"line"},null,-1),Us=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),Ks={class:"line"},Qs=l("",6),Ws=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}},"bar"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"="),s("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"2"')])],-1),Xs=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[i('Attribute "bar" should be on a new line. ('),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/max-attributes-per-line.html"},"lodash-template/max-attributes-per-line"),i(")")])])],-1),Ys=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">",-1),Zs=s("h3",{id:"multiline",tabindex:"-1"},[s("code",null,"multiline"),i(),s("a",{class:"header-anchor",href:"#multiline","aria-label":'Permalink to "`multiline`"'},"")],-1),si=s("p",null,"Number of maximum attributes per line when a tag is in multiple lines. (Default is 1)",-1),ii={class:"language-html vp-adaptive-theme"},ti=s("button",{title:"Copy Code",class:"copy"},null,-1),ai=s("span",{class:"lang"},"html",-1),ei={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"},li=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}},"<"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"% /* eslint")],-1),ni=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},' lodash-template/max-attributes-per-line: ["error", {')],-1),hi=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},' "multiline": 1')],-1),oi=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," }]")],-1),pi=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"*/ %>")],-1),ki=s("span",{class:"line"},null,-1),ri=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),di=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<"),s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"input")],-1),ci=s("span",{class:"line"},[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"}},'"1"')],-1),Ei=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," bar"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"="),s("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"2"')],-1),_i=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">")],-1),gi=s("span",{class:"line"},null,-1),ui=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),yi=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<"),s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"input")],-1),mi={class:"line"},Fi=s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," foo",-1),bi=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"=",-1),fi=s("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"1"',-1),Ci=s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," ",-1),Bi=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}},"bar"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"="),s("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"2"')])],-1),vi=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[i('Attribute "bar" should be on a new line. ('),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/max-attributes-per-line.html"},"lodash-template/max-attributes-per-line"),i(")")])])],-1),wi=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">")],-1),Ai=s("h2",{id:"implementation",tabindex:"-1"},[i("Implementation "),s("a",{class:"header-anchor",href:"#implementation","aria-label":'Permalink to "Implementation"'},"")],-1),xi=s("ul",null,[s("li",null,[s("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")]),s("li",null,[s("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);function Di(Ti,qi,Pi,Si,Ii,Vi){const a=o("v-menu");return p(),h("div",null,[r,s("div",d,[c,E,s("pre",_,[s("code",null,[g,i(`
+`),u,i(`
+`),y,i(`
+`),m,i(`
+`),F,i(`
+`),b,i(`
+`),f,i(`
+`),C,i(`
+`),B,i(`
+`),v,i(`
+`),w,i(`
+`),A,i(`
+`),x,i(`
+`),D,i(`
+`),T,i(`
+`),q,i(`
+`),s("span",P,[S,e(a,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:t(({})=>[V]),default:t(()=>[I]),_:1}),N]),i(`
+`),O,i(`
+`),L,i(`
+`),s("span",R,[j,G,H,M,e(a,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:t(({})=>[z]),default:t(()=>[$]),_:1})]),i(`
+`),J,i(`
+`),U,i(`
+`),K,i(`
+`),s("span",Q,[W,X,Y,Z,e(a,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:t(({})=>[is]),default:t(()=>[ss]),_:1})]),i(`
+`),ts,i(`
+`),as])])]),es,s("div",ls,[ns,hs,s("pre",os,[s("code",null,[ps,i(`
+`),ks,i(`
+`),rs,i(`
+`),ds,i(`
+`),cs,i(`
+`),Es,i(`
+`),_s,i(`
+`),gs,i(`
+`),us,i(`
+`),ys,i(`
+`),ms,i(`
+`),Fs,i(`
+`),bs,i(`
+`),fs,i(`
+`),Cs,i(`
+`),s("span",Bs,[vs,ws,As,e(a,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:t(({})=>[Ds]),default:t(()=>[xs]),_:1})]),i(`
+`),Ts,i(`
+`),qs])])]),Ps,Ss,s("div",Is,[Vs,Ns,s("pre",Os,[s("code",null,[Ls,i(`
+`),Rs,i(`
+`),js,i(`
+`),Gs,i(`
+`),Hs,i(`
+`),Ms,i(`
+`),$s,i(`
+`),zs,i(`
+`),Js,i(`
+`),Us,i(`
+`),s("span",Ks,[Qs,e(a,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:t(({})=>[Xs]),default:t(()=>[Ws]),_:1}),Ys])])])]),Zs,si,s("div",ii,[ti,ai,s("pre",ei,[s("code",null,[li,i(`
+`),ni,i(`
+`),hi,i(`
+`),oi,i(`
+`),pi,i(`
+`),ki,i(`
+`),ri,i(`
+`),di,i(`
+`),ci,i(`
+`),Ei,i(`
+`),_i,i(`
+`),gi,i(`
+`),ui,i(`
+`),yi,i(`
+`),s("span",mi,[Fi,bi,fi,Ci,e(a,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:t(({})=>[vi]),default:t(()=>[Bi]),_:1})]),i(`
+`),wi])])]),Ai,xi])}const Li=n(k,[["render",Di]]);export{Oi as __pageData,Li as default};
diff --git a/assets/rules_no-duplicate-attributes.md.Blj53J_C.js b/assets/rules_no-duplicate-attributes.md.Blj53J_C.js
new file mode 100644
index 00000000..2abb710e
--- /dev/null
+++ b/assets/rules_no-duplicate-attributes.md.Blj53J_C.js
@@ -0,0 +1,11 @@
+import{_ as l,c as o,j as t,a as s,I as a,w as i,a9 as n,D as h,o as p}from"./chunks/framework.CPdKJSF1.js";const O=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),c={class:"language-html vp-adaptive-theme"},u=t("button",{title:"Copy Code",class:"copy"},null,-1),k=t("span",{class:"lang"},"html",-1),_={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=t("span",{class:"line"},[t("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}},"<"),t("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},'% /* eslint "lodash-template/no-duplicate-attributes": "error" */ %>')],-1),m=t("span",{class:"line"},[t("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),b=t("span",{class:"line"},[t("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<"),t("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"div")],-1),E=t("span",{class:"line"},[t("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," foo"),t("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"="),t("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"abc"')],-1),f=t("span",{class:"line"},[t("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">"),t("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"div"),t("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">")],-1),y=t("span",{class:"line"},null,-1),v=t("span",{class:"line"},[t("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),D=t("span",{class:"line"},[t("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<"),t("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"div")],-1),F={class:"line"},w=t("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," ",-1),C=t("span",null,[t("span",null,[t("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}},"foo"),t("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"="),t("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"abc"')])],-1),A=t("span",{class:"twoslash-popup-container vp-copy-ignore"},[t("div",{class:"twoslash-popup-error vp-doc"},[t("p",null,[s('Duplicate attribute "foo". ('),t("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/no-duplicate-attributes.html"},"lodash-template/no-duplicate-attributes"),s(")")])])],-1),B={class:"line"},x=t("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," ",-1),T=t("span",null,[t("span",null,[t("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}},"foo"),t("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"="),t("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"def"')])],-1),q=t("span",{class:"twoslash-popup-container vp-copy-ignore"},[t("div",{class:"twoslash-popup-error vp-doc"},[t("p",null,[s('Duplicate attribute "foo". ('),t("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/no-duplicate-attributes.html"},"lodash-template/no-duplicate-attributes"),s(")")])])],-1),P=t("span",{class:"line"},[t("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">"),t("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"div"),t("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">")],-1),I=t("h2",{id:"implementation",tabindex:"-1"},[s("Implementation "),t("a",{class:"header-anchor",href:"#implementation","aria-label":'Permalink to "Implementation"'},"")],-1),N=t("ul",null,[t("li",null,[t("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")]),t("li",null,[t("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);function V(S,R,$,j,H,L){const e=h("v-menu");return p(),o("div",null,[d,t("div",c,[u,k,t("pre",_,[t("code",null,[g,s(`
+`),m,s(`
+`),b,s(`
+`),E,s(`
+`),f,s(`
+`),y,s(`
+`),v,s(`
+`),D,s(`
+`),t("span",F,[w,a(e,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:i(({})=>[A]),default:i(()=>[C]),_:1})]),s(`
+`),t("span",B,[x,a(e,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:i(({})=>[q]),default:i(()=>[T]),_:1})]),s(`
+`),P])])]),I,N])}const G=l(r,[["render",V]]);export{O as __pageData,G as default};
diff --git a/assets/rules_no-duplicate-attributes.md.Blj53J_C.lean.js b/assets/rules_no-duplicate-attributes.md.Blj53J_C.lean.js
new file mode 100644
index 00000000..42793cf3
--- /dev/null
+++ b/assets/rules_no-duplicate-attributes.md.Blj53J_C.lean.js
@@ -0,0 +1,11 @@
+import{_ as l,c as o,j as t,a as s,I as a,w as i,a9 as n,D as h,o as p}from"./chunks/framework.CPdKJSF1.js";const O=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: `
`)"},"headers":[],"relativePath":"rules/no-duplicate-attributes.md","filePath":"rules/no-duplicate-attributes.md","lastUpdated":1721431800000}'),r={name:"rules/no-duplicate-attributes.md"},d=n("",6),c={class:"language-html vp-adaptive-theme"},u=t("button",{title:"Copy Code",class:"copy"},null,-1),k=t("span",{class:"lang"},"html",-1),_={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=t("span",{class:"line"},[t("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}},"<"),t("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},'% /* eslint "lodash-template/no-duplicate-attributes": "error" */ %>')],-1),m=t("span",{class:"line"},[t("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),b=t("span",{class:"line"},[t("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<"),t("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"div")],-1),E=t("span",{class:"line"},[t("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," foo"),t("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"="),t("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"abc"')],-1),f=t("span",{class:"line"},[t("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">"),t("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"div"),t("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">")],-1),y=t("span",{class:"line"},null,-1),v=t("span",{class:"line"},[t("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),D=t("span",{class:"line"},[t("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<"),t("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"div")],-1),F={class:"line"},w=t("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," ",-1),C=t("span",null,[t("span",null,[t("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}},"foo"),t("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"="),t("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"abc"')])],-1),A=t("span",{class:"twoslash-popup-container vp-copy-ignore"},[t("div",{class:"twoslash-popup-error vp-doc"},[t("p",null,[s('Duplicate attribute "foo". ('),t("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/no-duplicate-attributes.html"},"lodash-template/no-duplicate-attributes"),s(")")])])],-1),B={class:"line"},x=t("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," ",-1),T=t("span",null,[t("span",null,[t("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}},"foo"),t("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"="),t("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"def"')])],-1),q=t("span",{class:"twoslash-popup-container vp-copy-ignore"},[t("div",{class:"twoslash-popup-error vp-doc"},[t("p",null,[s('Duplicate attribute "foo". ('),t("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/no-duplicate-attributes.html"},"lodash-template/no-duplicate-attributes"),s(")")])])],-1),P=t("span",{class:"line"},[t("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">"),t("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"div"),t("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">")],-1),I=t("h2",{id:"implementation",tabindex:"-1"},[s("Implementation "),t("a",{class:"header-anchor",href:"#implementation","aria-label":'Permalink to "Implementation"'},"")],-1),N=t("ul",null,[t("li",null,[t("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")]),t("li",null,[t("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);function V(S,R,$,j,H,L){const e=h("v-menu");return p(),o("div",null,[d,t("div",c,[u,k,t("pre",_,[t("code",null,[g,s(`
+`),m,s(`
+`),b,s(`
+`),E,s(`
+`),f,s(`
+`),y,s(`
+`),v,s(`
+`),D,s(`
+`),t("span",F,[w,a(e,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:i(({})=>[A]),default:i(()=>[C]),_:1})]),s(`
+`),t("span",B,[x,a(e,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:i(({})=>[q]),default:i(()=>[T]),_:1})]),s(`
+`),P])])]),I,N])}const G=l(r,[["render",V]]);export{O as __pageData,G as default};
diff --git a/assets/rules_no-empty-template-tag.md.DTsTbqfX.js b/assets/rules_no-empty-template-tag.md.DTsTbqfX.js
new file mode 100644
index 00000000..05d20baf
--- /dev/null
+++ b/assets/rules_no-empty-template-tag.md.DTsTbqfX.js
@@ -0,0 +1,8 @@
+import{_ as o,c as h,j as t,a as s,I as l,w as e,a9 as i,D as n,o as p}from"./chunks/framework.CPdKJSF1.js";const L=JSON.parse('{"title":"lodash-template/no-empty-template-tag","description":"disallow empty micro-template tag. (ex. :ng: `<% %>`)","frontmatter":{"pageClass":"rule-details","sidebarDepth":0,"title":"lodash-template/no-empty-template-tag","description":"disallow empty micro-template tag. (ex. :ng: `<% %>`)"},"headers":[],"relativePath":"rules/no-empty-template-tag.md","filePath":"rules/no-empty-template-tag.md","lastUpdated":1721431800000}'),d={name:"rules/no-empty-template-tag.md"},r=i('
⚙️ 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),d={class:"language-html vp-adaptive-theme"},p=e("button",{title:"Copy Code",class:"copy"},null,-1),u=e("span",{class:"lang"},"html",-1),_={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"},k=e("span",{class:"line"},[e("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}},"<"),e("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},'% /* eslint "lodash-template/no-html-comments": "error" */ %>')],-1),g=e("span",{class:"line"},[e("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}},"<"),e("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"% /* ✓ GOOD */ %>")],-1),b=e("span",{class:"line"},null,-1),f={class:"line"},v=e("span",null,[e("span",null,[e("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")])],-1),T=e("span",{class:"twoslash-popup-container vp-copy-ignore"},[e("div",{class:"twoslash-popup-error vp-doc"},[e("p",null,[t("HTML comment are forbidden. ("),e("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/no-html-comments.html"},"lodash-template/no-html-comments"),t(")")])])],-1),y=e("h2",{id:"implementation",tabindex:"-1"},[t("Implementation "),e("a",{class:"header-anchor",href:"#implementation","aria-label":'Permalink to "Implementation"'},"")],-1),D=e("ul",null,[e("li",null,[e("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")]),e("li",null,[e("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);function w(x,E,q,A,B,C){const l=h("v-menu");return m(),a("div",null,[c,e("div",d,[p,u,e("pre",_,[e("code",null,[k,t(`
+`),g,t(`
+`),b,t(`
+`),e("span",f,[i(l,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:s(({})=>[T]),default:s(()=>[v]),_:1})])])])]),y,D])}const N=o(r,[["render",w]]);export{H as __pageData,N as default};
diff --git a/assets/rules_no-html-comments.md.DY6KRGhR.lean.js b/assets/rules_no-html-comments.md.DY6KRGhR.lean.js
new file mode 100644
index 00000000..00356924
--- /dev/null
+++ b/assets/rules_no-html-comments.md.DY6KRGhR.lean.js
@@ -0,0 +1,4 @@
+import{_ as o,c as a,j as e,a as t,I as i,w as s,a9 as n,D as h,o as m}from"./chunks/framework.CPdKJSF1.js";const H=JSON.parse('{"title":"lodash-template/no-html-comments","description":"disallow HTML comments. (ex. :ng: ``)","frontmatter":{"pageClass":"rule-details","sidebarDepth":0,"title":"lodash-template/no-html-comments","description":"disallow HTML comments. (ex. :ng: ``)"},"headers":[],"relativePath":"rules/no-html-comments.md","filePath":"rules/no-html-comments.md","lastUpdated":1721431800000}'),r={name:"rules/no-html-comments.md"},c=n("",5),d={class:"language-html vp-adaptive-theme"},p=e("button",{title:"Copy Code",class:"copy"},null,-1),u=e("span",{class:"lang"},"html",-1),_={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"},k=e("span",{class:"line"},[e("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}},"<"),e("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},'% /* eslint "lodash-template/no-html-comments": "error" */ %>')],-1),g=e("span",{class:"line"},[e("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}},"<"),e("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"% /* ✓ GOOD */ %>")],-1),b=e("span",{class:"line"},null,-1),f={class:"line"},v=e("span",null,[e("span",null,[e("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")])],-1),T=e("span",{class:"twoslash-popup-container vp-copy-ignore"},[e("div",{class:"twoslash-popup-error vp-doc"},[e("p",null,[t("HTML comment are forbidden. ("),e("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/no-html-comments.html"},"lodash-template/no-html-comments"),t(")")])])],-1),y=e("h2",{id:"implementation",tabindex:"-1"},[t("Implementation "),e("a",{class:"header-anchor",href:"#implementation","aria-label":'Permalink to "Implementation"'},"")],-1),D=e("ul",null,[e("li",null,[e("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")]),e("li",null,[e("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);function w(x,E,q,A,B,C){const l=h("v-menu");return m(),a("div",null,[c,e("div",d,[p,u,e("pre",_,[e("code",null,[k,t(`
+`),g,t(`
+`),b,t(`
+`),e("span",f,[i(l,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:s(({})=>[T]),default:s(()=>[v]),_:1})])])])]),y,D])}const N=o(r,[["render",w]]);export{H as __pageData,N as default};
diff --git a/assets/rules_no-invalid-template-interpolation.md.CRAfJE2m.js b/assets/rules_no-invalid-template-interpolation.md.CRAfJE2m.js
new file mode 100644
index 00000000..4404fe4f
--- /dev/null
+++ b/assets/rules_no-invalid-template-interpolation.md.CRAfJE2m.js
@@ -0,0 +1,14 @@
+import{_ as n,c as o,j as i,a as t,I as a,w as s,a9 as e,D as h,o as p}from"./chunks/framework.CPdKJSF1.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":1721431800000}'),r={name:"rules/no-invalid-template-interpolation.md"},d=e('
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".
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),k={class:"language-js vp-adaptive-theme"},c=s("button",{title:"Copy Code",class:"copy"},null,-1),g=s("span",{class:"lang"},"js",-1),_={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=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},'/* eslint "lodash-template/no-script-parsing-error": "error" */')],-1),m=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"/* ✗ BAD */")],-1),y=a('<% if (a) { %>',1),F=a(' const a = 'ABC'',1),A=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"<%"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," } "),s("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"%>")],-1),D={class:"line"},b=s("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"const",-1),E=s("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," ",-1),f=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"a")])],-1),C=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[i("Parsing error: Identifier 'a' has already been declared. ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/no-script-parsing-error.html"},"lodash-template/no-script-parsing-error"),i(")")])])],-1),q=s("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}}," =",-1),v=s("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}}," 'DEF'",-1),T=s("h2",{id:"implementation",tabindex:"-1"},[i("Implementation "),s("a",{class:"header-anchor",href:"#implementation","aria-label":'Permalink to "Implementation"'},"")],-1),w=s("ul",null,[s("li",null,[s("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")]),s("li",null,[s("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);function B(S,P,x,I,V,j){const e=o("v-menu");return h(),n("div",null,[d,s("div",k,[c,g,s("pre",_,[s("code",null,[u,i(`
+`),m,i(`
+`),y,i(`
+`),F,i(`
+`),A,i(`
+`),s("span",D,[b,E,r(e,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:t(({})=>[C]),default:t(()=>[f]),_:1}),q,v])])])]),T,w])}const $=l(p,[["render",B]]);export{R as __pageData,$ as default};
diff --git a/assets/rules_no-script-parsing-error.md.DvgrHDnY.lean.js b/assets/rules_no-script-parsing-error.md.DvgrHDnY.lean.js
new file mode 100644
index 00000000..3e1d8b13
--- /dev/null
+++ b/assets/rules_no-script-parsing-error.md.DvgrHDnY.lean.js
@@ -0,0 +1,6 @@
+import{_ as l,c as n,j as s,a as i,I as r,w as t,a9 as a,D as o,o as h}from"./chunks/framework.CPdKJSF1.js";const R=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":1721431800000}'),p={name:"rules/no-script-parsing-error.md"},d=a("",6),k={class:"language-js vp-adaptive-theme"},c=s("button",{title:"Copy Code",class:"copy"},null,-1),g=s("span",{class:"lang"},"js",-1),_={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=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},'/* eslint "lodash-template/no-script-parsing-error": "error" */')],-1),m=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"/* ✗ BAD */")],-1),y=a("",1),F=a("",1),A=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"<%"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," } "),s("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"%>")],-1),D={class:"line"},b=s("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}},"const",-1),E=s("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}}," ",-1),f=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#005CC5","--shiki-dark":"#79B8FF"}},"a")])],-1),C=s("span",{class:"twoslash-popup-container vp-copy-ignore"},[s("div",{class:"twoslash-popup-error vp-doc"},[s("p",null,[i("Parsing error: Identifier 'a' has already been declared. ("),s("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/no-script-parsing-error.html"},"lodash-template/no-script-parsing-error"),i(")")])])],-1),q=s("span",{style:{"--shiki-light":"#D73A49","--shiki-dark":"#F97583"}}," =",-1),v=s("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}}," 'DEF'",-1),T=s("h2",{id:"implementation",tabindex:"-1"},[i("Implementation "),s("a",{class:"header-anchor",href:"#implementation","aria-label":'Permalink to "Implementation"'},"")],-1),w=s("ul",null,[s("li",null,[s("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")]),s("li",null,[s("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);function B(S,P,x,I,V,j){const e=o("v-menu");return h(),n("div",null,[d,s("div",k,[c,g,s("pre",_,[s("code",null,[u,i(`
+`),m,i(`
+`),y,i(`
+`),F,i(`
+`),A,i(`
+`),s("span",D,[b,E,r(e,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:t(({})=>[C]),default:t(()=>[f]),_:1}),q,v])])])]),T,w])}const $=l(p,[["render",B]]);export{R as __pageData,$ as default};
diff --git a/assets/rules_no-semi-in-template-interpolation.md.DDilnGuS.js b/assets/rules_no-semi-in-template-interpolation.md.DDilnGuS.js
new file mode 100644
index 00000000..d8cd011b
--- /dev/null
+++ b/assets/rules_no-semi-in-template-interpolation.md.DDilnGuS.js
@@ -0,0 +1,6 @@
+import{_ as l,c as o,j as e,a as t,I as a,w as i,a9 as n,D as r,o as h}from"./chunks/framework.CPdKJSF1.js";const $=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":1721431800000}'),p={name:"rules/no-semi-in-template-interpolation.md"},d=n('
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),c={class:"language-html vp-adaptive-theme"},m=e("button",{title:"Copy Code",class:"copy"},null,-1),u=e("span",{class:"lang"},"html",-1),_={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"},k=e("span",{class:"line"},[e("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}},"<"),e("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},'% /* eslint "lodash-template/no-semi-in-template-interpolation": "error" */ %>')],-1),g=e("span",{class:"line"},[e("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),f=e("span",{class:"line"},[e("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}},"<"),e("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"%= text %>")],-1),b=e("span",{class:"line"},null,-1),x=e("span",{class:"line"},[e("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),E={class:"line"},y=e("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}},"<",-1),D=e("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"%= text",-1),q=e("span",null,[e("span",null,[e("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},";")])],-1),v=e("span",{class:"twoslash-popup-container vp-copy-ignore"},[e("div",{class:"twoslash-popup-error vp-doc"},[e("p",null,[t("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"),t(")")])])],-1),w=e("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," %>",-1),T=e("h2",{id:"implementation",tabindex:"-1"},[t("Implementation "),e("a",{class:"header-anchor",href:"#implementation","aria-label":'Permalink to "Implementation"'},"")],-1),A=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);function B(C,I,P,N,S,V){const s=r("v-menu");return h(),o("div",null,[d,e("div",c,[m,u,e("pre",_,[e("code",null,[k,t(`
+`),g,t(`
+`),f,t(`
+`),b,t(`
+`),x,t(`
+`),e("span",E,[y,D,a(s,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:i(({})=>[v]),default:i(()=>[q]),_:1}),w])])])]),T,A])}const j=l(p,[["render",B]]);export{$ as __pageData,j as default};
diff --git a/assets/rules_no-semi-in-template-interpolation.md.DDilnGuS.lean.js b/assets/rules_no-semi-in-template-interpolation.md.DDilnGuS.lean.js
new file mode 100644
index 00000000..4ee8fc59
--- /dev/null
+++ b/assets/rules_no-semi-in-template-interpolation.md.DDilnGuS.lean.js
@@ -0,0 +1,6 @@
+import{_ as l,c as o,j as e,a as t,I as a,w as i,a9 as n,D as r,o as h}from"./chunks/framework.CPdKJSF1.js";const $=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":1721431800000}'),p={name:"rules/no-semi-in-template-interpolation.md"},d=n("",5),c={class:"language-html vp-adaptive-theme"},m=e("button",{title:"Copy Code",class:"copy"},null,-1),u=e("span",{class:"lang"},"html",-1),_={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"},k=e("span",{class:"line"},[e("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}},"<"),e("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},'% /* eslint "lodash-template/no-semi-in-template-interpolation": "error" */ %>')],-1),g=e("span",{class:"line"},[e("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),f=e("span",{class:"line"},[e("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}},"<"),e("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"%= text %>")],-1),b=e("span",{class:"line"},null,-1),x=e("span",{class:"line"},[e("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),E={class:"line"},y=e("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}},"<",-1),D=e("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"%= text",-1),q=e("span",null,[e("span",null,[e("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},";")])],-1),v=e("span",{class:"twoslash-popup-container vp-copy-ignore"},[e("div",{class:"twoslash-popup-error vp-doc"},[e("p",null,[t("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"),t(")")])])],-1),w=e("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," %>",-1),T=e("h2",{id:"implementation",tabindex:"-1"},[t("Implementation "),e("a",{class:"header-anchor",href:"#implementation","aria-label":'Permalink to "Implementation"'},"")],-1),A=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);function B(C,I,P,N,S,V){const s=r("v-menu");return h(),o("div",null,[d,e("div",c,[m,u,e("pre",_,[e("code",null,[k,t(`
+`),g,t(`
+`),f,t(`
+`),b,t(`
+`),x,t(`
+`),e("span",E,[y,D,a(s,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:i(({})=>[v]),default:i(()=>[q]),_:1}),w])])])]),T,A])}const j=l(p,[["render",B]]);export{$ as __pageData,j as default};
diff --git a/assets/rules_no-space-attribute-equal-sign.md.D_89UbKJ.js b/assets/rules_no-space-attribute-equal-sign.md.D_89UbKJ.js
new file mode 100644
index 00000000..c8fbfb80
--- /dev/null
+++ b/assets/rules_no-space-attribute-equal-sign.md.D_89UbKJ.js
@@ -0,0 +1,6 @@
+import{_ as l,c as n,j as e,a as s,I as o,w as a,a9 as t,D as r,o as h}from"./chunks/framework.CPdKJSF1.js";const O=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);function P(B,V,I,N,R,$){const i=r("v-menu");return h(),n("div",null,[p,e("div",c,[u,_,e("pre",g,[e("code",null,[k,s(`
+`),m,s(`
+`),b,s(`
+`),E,s(`
+`),q,s(`
+`),e("span",f,[y,T,v,w,o(i,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:a(({})=>[D]),default:a(()=>[A]),_:1}),x,S,C])])])]),F])}const G=l(d,[["render",P]]);export{O as __pageData,G as default};
diff --git a/assets/rules_no-space-attribute-equal-sign.md.D_89UbKJ.lean.js b/assets/rules_no-space-attribute-equal-sign.md.D_89UbKJ.lean.js
new file mode 100644
index 00000000..3aafbc0c
--- /dev/null
+++ b/assets/rules_no-space-attribute-equal-sign.md.D_89UbKJ.lean.js
@@ -0,0 +1,6 @@
+import{_ as l,c as n,j as e,a as s,I as o,w as a,a9 as t,D as r,o as h}from"./chunks/framework.CPdKJSF1.js";const O=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: `
` :ng: `
`)"},"headers":[],"relativePath":"rules/no-space-attribute-equal-sign.md","filePath":"rules/no-space-attribute-equal-sign.md","lastUpdated":1721431800000}'),d={name:"rules/no-space-attribute-equal-sign.md"},p=t("",6),c={class:"language-html vp-adaptive-theme"},u=e("button",{title:"Copy Code",class:"copy"},null,-1),_=e("span",{class:"lang"},"html",-1),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"},k=e("span",{class:"line"},[e("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}},"<"),e("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},'% /* eslint "lodash-template/no-space-attribute-equal-sign": "error" */ %>')],-1),m=e("span",{class:"line"},[e("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),b=t("",1),E=e("span",{class:"line"},null,-1),q=e("span",{class:"line"},[e("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),f={class:"line"},y=e("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<",-1),T=e("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"input",-1),v=e("span",{style:{"--shiki-light":"#6F42C1","--shiki-dark":"#B392F0"}}," class",-1),w=e("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," ",-1),A=e("span",null,[e("span",null,[e("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"=")])],-1),D=e("span",{class:"twoslash-popup-container vp-copy-ignore"},[e("div",{class:"twoslash-popup-error vp-doc"},[e("p",null,[s("Equal signs in must not be spaced. ("),e("a",{href:"https://ota-meshi.github.io/eslint-plugin-lodash-template/rules/no-space-attribute-equal-sign.html"},"lodash-template/no-space-attribute-equal-sign"),s(")")])])],-1),x=e("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," ",-1),S=e("span",{style:{"--shiki-light":"#032F62","--shiki-dark":"#9ECBFF"}},'"item"',-1),C=e("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">",-1),F=t("",4);function P(B,V,I,N,R,$){const i=r("v-menu");return h(),n("div",null,[p,e("div",c,[u,_,e("pre",g,[e("code",null,[k,s(`
+`),m,s(`
+`),b,s(`
+`),E,s(`
+`),q,s(`
+`),e("span",f,[y,T,v,w,o(i,{class:"twoslash-error twoslash-error-hover","popper-class":"shiki twoslash-floating vp-copy-ignore vp-code",theme:"twoslash"},{popper:a(({})=>[D]),default:a(()=>[A]),_:1}),x,S,C])])])]),F])}const G=l(d,[["render",P]]);export{O as __pageData,G as default};
diff --git a/assets/rules_no-template-tag-in-start-tag.md.Hz8q5SYw.js b/assets/rules_no-template-tag-in-start-tag.md.Hz8q5SYw.js
new file mode 100644
index 00000000..e5052bbc
--- /dev/null
+++ b/assets/rules_no-template-tag-in-start-tag.md.Hz8q5SYw.js
@@ -0,0 +1,27 @@
+import{_ as n,c as h,j as s,a as t,I as l,w as i,a9 as e,D as o,o as p}from"./chunks/framework.CPdKJSF1.js";const es=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":1721431800000}'),r={name:"rules/no-template-tag-in-start-tag.md"},k=e('
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),d={class:"language-html vp-adaptive-theme"},k=s("button",{title:"Copy Code",class:"copy"},null,-1),g=s("span",{class:"lang"},"html",-1),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"},_=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}},"<"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},'% /* eslint "lodash-template/template-tag-spacing": "error" */ %>')],-1),u=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),m=l('<div><%= text %></div>',1),y=s("span",{class:"line"},null,-1),f=s("span",{class:"line"},[s("span",{style:{"--shiki-light":"#6A737D","--shiki-dark":"#6A737D"}},"")],-1),v={class:"line"},b=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<",-1),w=s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"div",-1),D=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">",-1),A=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}},"<"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"%=")])],-1),x=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),B=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}}," text ",-1),T=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"%>")])],-1),q=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),C=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"",-1),F=s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"div",-1),P=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">",-1),S={class:"line"},V=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"<",-1),I=s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"div",-1),N=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">",-1),O=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#B31D28","--shiki-dark":"#FDAEB7","--shiki-light-font-style":"italic","--shiki-dark-font-style":"italic"}},"<"),s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"%=")])],-1),R=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),j=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"text",-1),$=s("span",null,[s("span",null,[s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"%>")])],-1),G=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),J=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},"",-1),U=s("span",{style:{"--shiki-light":"#22863A","--shiki-dark":"#85E89D"}},"div",-1),z=s("span",{style:{"--shiki-light":"#24292E","--shiki-dark":"#E1E4E8"}},">",-1),H=l('
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),l=[h];function e(k,p,r,d,g,E){return a(),i("div",null,l)}const o=s(n,[["render",e]]);export{F as __pageData,o as default};
diff --git a/assets/services_ast-for-html.md.voWLWX5n.lean.js b/assets/services_ast-for-html.md.voWLWX5n.lean.js
new file mode 100644
index 00000000..8f22b26e
--- /dev/null
+++ b/assets/services_ast-for-html.md.voWLWX5n.lean.js
@@ -0,0 +1 @@
+import{_ as s,c as i,o as a,a9 as t}from"./chunks/framework.CPdKJSF1.js";const F=JSON.parse('{"title":"AST for HTML","description":"","frontmatter":{"sidebarDepth":1},"headers":[],"relativePath":"services/ast-for-html.md","filePath":"services/ast-for-html.md","lastUpdated":1721431800000}'),n={name:"services/ast-for-html.md"},h=t("",38),l=[h];function e(k,p,r,d,g,E){return a(),i("div",null,l)}const o=s(n,[["render",e]]);export{F as __pageData,o as default};
diff --git a/assets/services_ast-for-template-tag.md.XKuVL62r.js b/assets/services_ast-for-template-tag.md.XKuVL62r.js
new file mode 100644
index 00000000..75ab5e63
--- /dev/null
+++ b/assets/services_ast-for-template-tag.md.XKuVL62r.js
@@ -0,0 +1,44 @@
+import{_ as s,c as i,o as a,a9 as e}from"./chunks/framework.CPdKJSF1.js";const c=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":1721431800000}'),t={name:"services/ast-for-template-tag.md"},n=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),l=[n];function h(p,k,r,d,o,E){return a(),i("div",null,l)}const y=s(t,[["render",h]]);export{c as __pageData,y as default};
diff --git a/assets/services_ast-for-template-tag.md.XKuVL62r.lean.js b/assets/services_ast-for-template-tag.md.XKuVL62r.lean.js
new file mode 100644
index 00000000..bd1d405a
--- /dev/null
+++ b/assets/services_ast-for-template-tag.md.XKuVL62r.lean.js
@@ -0,0 +1 @@
+import{_ as s,c as i,o as a,a9 as e}from"./chunks/framework.CPdKJSF1.js";const c=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":1721431800000}'),t={name:"services/ast-for-template-tag.md"},n=e("",26),l=[n];function h(p,k,r,d,o,E){return a(),i("div",null,l)}const y=s(t,[["render",h]]);export{c as __pageData,y as default};
diff --git a/assets/services_index.md.Ddw5PF02.js b/assets/services_index.md.Ddw5PF02.js
new file mode 100644
index 00000000..9bc3f54d
--- /dev/null
+++ b/assets/services_index.md.Ddw5PF02.js
@@ -0,0 +1 @@
+import{_ as e,c as t,o as a,a9 as r}from"./chunks/framework.CPdKJSF1.js";const _=JSON.parse('{"title":"Contributing","description":"","frontmatter":{},"headers":[],"relativePath":"services/index.md","filePath":"services/index.md","lastUpdated":1721431800000}'),i={name:"services/index.md"},s=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