Add property to know. (no-unknown-property)
See original GitHub issueIs it possible to make property known?
I’m using class-to-classname
package that allows use class
instead of className
in jsx.
How to say eslint that class
is allowed?
Issue Analytics
- State:
- Created 6 years ago
- Reactions:1
- Comments:6 (4 by maintainers)
Top Results From Across the Web
eslint-plugin-react/no-unknown-property.md at master
Disallow usage of unknown DOM property ( react/no-unknown-property ) ... This rule is enabled in the ☑️ recommended config. This rule is automatically ......
Read more >unknown property key found react/no-unknown-propert
This is an ESLint error, you can disable this specific check. Checkout my eslint config, I disabled this rule. //.eslintrc.js module.exports ...
Read more >react/no-unknown-property - Magestore Dev Docs - GitLab
Prevent usage of unknown DOM property (react/no-unknown-property) In JSX all DOM properties and attributes should be camelCased to be consistent with standard ...
Read more >css/no-unknown-property | eslint-plugin-css
Rule Details. This rule reports an unknown CSS property. This rule was inspired by Stylelint's property-no-unknown rule (opens new window).
Read more >property-no-unknown
property -no-unknown ... Disallow unknown properties. ... This rule considers properties defined in the CSS Specifications and browser specific properties to be ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
This isn’t eslint-plugin-mithril or eslint-plugin-hyperapp tho; it’s eslint-plugin-react.
I’m also -1.
Besides, you can already use this plugin to auto fix from
class
toclassName
anyway. I use ESLint plugin with auto fix on save and even if I would copy paste JSX (or even HTML) with the propertyclass
in it it, then will be auto fixed to className without any manual intervention.Just my 2 cents on this topic 😄