eslint-config-cityssm 32.2.0 → 32.2.2

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 CHANGED
@@ -280,6 +280,7 @@ export const configWebApp = defineConfig(config, {
280
280
  },
281
281
  extends: ['html/recommended'],
282
282
  rules: {
283
+ 'html/attrs-newline': ['warn', { ifAttrsMoreThan: 3 }],
283
284
  'html/indent': ['warn', 2],
284
285
  'html/require-closing-tags': [
285
286
  'error',
@@ -301,12 +302,16 @@ export const configWebApp = defineConfig(config, {
301
302
  'type',
302
303
  'href',
303
304
  'value',
305
+ 'min',
306
+ 'max',
307
+ 'step',
304
308
  'title',
305
309
  'alt',
306
310
  'role',
307
311
  { pattern: 'aria-.*' },
308
312
  'tabindex',
309
- 'style'
313
+ 'style',
314
+ { pattern: 'on.*' }
310
315
  ]
311
316
  }
312
317
  ]
package/eslint.config.ts CHANGED
@@ -332,6 +332,7 @@ export const configWebApp: ConfigObject[] = defineConfig(
332
332
 
333
333
  extends: ['html/recommended'],
334
334
  rules: {
335
+ 'html/attrs-newline': ['warn', { ifAttrsMoreThan: 3 }],
335
336
  'html/indent': ['warn', 2],
336
337
  'html/require-closing-tags': [
337
338
  'error',
@@ -353,12 +354,16 @@ export const configWebApp: ConfigObject[] = defineConfig(
353
354
  'type',
354
355
  'href',
355
356
  'value',
357
+ 'min',
358
+ 'max',
359
+ 'step',
356
360
  'title',
357
361
  'alt',
358
362
  'role',
359
363
  { pattern: 'aria-.*' },
360
364
  'tabindex',
361
- 'style'
365
+ 'style',
366
+ { pattern: 'on.*' }
362
367
  ]
363
368
  }
364
369
  ]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-config-cityssm",
3
- "version": "32.2.0",
3
+ "version": "32.2.2",
4
4
  "description": "ESLint rules used in the City of Sault Ste. Marie's TypeScript projects.",
5
5
  "keywords": [
6
6
  "eslint",