eslint-config-cityssm 32.2.3 → 32.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/eslint.config.js +9 -0
- package/eslint.config.ts +9 -0
- package/package.json +1 -1
package/eslint.config.js
CHANGED
|
@@ -282,6 +282,15 @@ export const configWebApp = defineConfig(config, {
|
|
|
282
282
|
rules: {
|
|
283
283
|
'html/attrs-newline': ['warn', { ifAttrsMoreThan: 3 }],
|
|
284
284
|
'html/indent': ['warn', 2],
|
|
285
|
+
'html/no-extra-spacing-attrs': [
|
|
286
|
+
'error',
|
|
287
|
+
{
|
|
288
|
+
disallowInAssignment: true,
|
|
289
|
+
disallowMissing: true,
|
|
290
|
+
disallowTabs: true,
|
|
291
|
+
enforceBeforeSelfClose: true
|
|
292
|
+
}
|
|
293
|
+
],
|
|
285
294
|
'html/require-closing-tags': [
|
|
286
295
|
'error',
|
|
287
296
|
{
|
package/eslint.config.ts
CHANGED
|
@@ -334,6 +334,15 @@ export const configWebApp: ConfigObject[] = defineConfig(
|
|
|
334
334
|
rules: {
|
|
335
335
|
'html/attrs-newline': ['warn', { ifAttrsMoreThan: 3 }],
|
|
336
336
|
'html/indent': ['warn', 2],
|
|
337
|
+
'html/no-extra-spacing-attrs': [
|
|
338
|
+
'error',
|
|
339
|
+
{
|
|
340
|
+
disallowInAssignment: true,
|
|
341
|
+
disallowMissing: true,
|
|
342
|
+
disallowTabs: true,
|
|
343
|
+
enforceBeforeSelfClose: true
|
|
344
|
+
}
|
|
345
|
+
],
|
|
337
346
|
'html/require-closing-tags': [
|
|
338
347
|
'error',
|
|
339
348
|
{
|