mirror of
https://github.com/home-assistant/frontend.git
synced 2026-07-03 12:35:40 +01:00
7b58162f81
Remove the unmaintained eslint-config-airbnb-base dependency (last updated Nov 2021, no flat config support) along with its FlatCompat shim infrastructure. Replace with js.configs.recommended as the base config and explicitly cherry-pick ~40 high-value safety and style rules from airbnb-base that aren't already covered by other configs. Remove 27 rule disables that only existed to suppress airbnb opinions, and 5 dead TypeScript rule disables for rules no longer in the config. Fix 4 real bugs caught by the newly added no-constant-binary-expression rule where template literals were always truthy, making fallback values unreachable. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>