Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Fix] no-unknown-property: properly recognise unknown HTML/DOM attributes #3377

Merged
merged 4 commits into from Sep 1, 2022

Commits on Aug 31, 2022

  1. [Refactor] no-unknown-property: improve jsdoc; extract logic to sep…

    …arate functions
    
     - checking case ignored attributes to a function of its own
    
    Also move variable inside function definition to make JSDoc comment match correct block
    Also update the link to Web components spec
    sjarva authored and ljharb committed Aug 31, 2022
    Copy the full SHA
    d6d84cc View commit details
    Browse the repository at this point in the history
  2. [Fix] no-unknown-property: properly recognize valid data- and aria-…

    … attributes
    sjarva authored and ljharb committed Aug 31, 2022
    Copy the full SHA
    84a9771 View commit details
    Browse the repository at this point in the history
  3. [Refactor] no-unknown-property: update DOM properties to include al…

    …so one word properties
    
    Also regroup the properties to global, element specific and React or Safari/Apple specific
    sjarva authored and ljharb committed Aug 31, 2022
    Copy the full SHA
    d2dd7f0 View commit details
    Browse the repository at this point in the history
  4. [Fix] no-unknown-property: properly recognize unknown HTML/DOM attr…

    …ibutes
    
    Refactored going through different scenarios and error cases to be more clear.
    Also add some new unit tests, and move one should-have-been invalid test case from valid to invalid.
    sjarva authored and ljharb committed Aug 31, 2022
    Copy the full SHA
    f54b391 View commit details
    Browse the repository at this point in the history