jsx-eslint / eslint-plugin-react

React-specific linting rules for ESLint
MIT License
9k stars 2.77k forks source link

`no-invalid-html-attribute`: redo implementation #3180

Open ljharb opened 2 years ago

ljharb commented 2 years ago

The implementation needs to be rewritten from scratch to handle possible pairs or singles, and to trim all leading and trailing whitespace, and to collapse all whitespace segments into a single space.

ljharb commented 2 years ago

I'm now wondering if no-invalid-html-attribute and no-unknown-property are basically duplicates of each other.