Skip to content

Commit

Permalink
Added allow multi-tags in single line to HTML rules
Browse files Browse the repository at this point in the history
  • Loading branch information
adamlui committed Jan 28, 2025
1 parent 71c2770 commit e997fad
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@ export default [
...html.configs['flat/recommended'].rules,
'@html-eslint/require-title': 'off', // allow missing title tags
'@html-eslint/quotes': 'off', // allow unquoted attrs for compactness
'@html-eslint/attrs-newline': 'off' // allow attrs on one line
'@html-eslint/attrs-newline': 'off', // allow multi-attrs in single line
'@html-eslint/element-newline': ['error', { 'skip': ['html'] }] // allow multi-tags in single line
}
},
{ files: ['**/*.json'], language: 'json/json', ...json.configs.recommended },
Expand Down

0 comments on commit e997fad

Please sign in to comment.