From 20f6ab01e0890277c4d69e181a46fc5fc3e2c9f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johan=20R=C3=B8ed?= Date: Thu, 7 May 2026 20:35:51 +0200 Subject: [PATCH] recommended: disable noisy stylistic rules; demote prefer-native-element MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Goal: ":recommended" should give "pure value" — content-model bugs, a11y issues, missing required attributes — not pedantic style preferences. Trim the html-validate-recommended noise that fires on legitimate Ember/Glimmer patterns: - `no-inline-style: off` — bans `style=` attribute. Breaks legitimate runtime style-binding (`
`). Use a separate stylelint pipeline for inline-style policy if needed. - `void-style: off` — html-validate defaults to omit, Ember/Glimmer convention is selfclosing, mixing is harmless. Previously the `:gts-recommended` preset overrode to `selfclosing`, which fought projects using the omit form. Now disabled entirely; teams enforce via `ember-template-lint` if they want that policy. - `prefer-native-element: warn` — kept on but demoted from error. Real a11y signal (`
` should usually be `