Skip to content

feat: create lint no_default_attributes#205

Merged
noahbald merged 1 commit intomainfrom
feat/lint-no-default-attributes
Dec 3, 2025
Merged

feat: create lint no_default_attributes#205
noahbald merged 1 commit intomainfrom
feat/lint-no-default-attributes

Conversation

@noahbald
Copy link
Owner

@noahbald noahbald commented Dec 2, 2025

Description

Creates a new lint that detects when an attribute's value matches its default

Motivation and Context

Helps users discover where they can omit redundant attributes

How Has This Been Tested?

  • Unit tests
  • w3c

Types of changes

Fixes

  • Fixes being unable to omit lints in oxvg config

Features

  • Adds new lint
  • Adds recommended preset

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

@noahbald noahbald self-assigned this Dec 2, 2025
@noahbald noahbald force-pushed the feat/lint-no-default-attributes branch from cd52398 to 4db59af Compare December 2, 2025 21:28
@noahbald noahbald merged commit b938bb2 into main Dec 3, 2025
27 of 29 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant