Closed SukkaW closed 11 months ago
Will be added to the pending list.
Will be added to the pending list.
@Rel1cx Let's just track them right here then. I will start porting those rules when I get time.
Will be added to the pending list.
@Rel1cx Let's just track them right here then. I will start port those rules when I get time.
jsx/enforce-jsx-key
has been implemented by the three rules
jsx/no-missing-key
jsx/no-duplicate-key
jsx/no-array-index-key
Except "before-spread", the implementation of these three rules can detect more problems than the original rules.
If necessary, we can also add a jsx/ensure-key-before-spread
Some differences between eslint-plugin-react
and @eslint-react
regarding jsx-key rules
And no-object-type-as-default-prop
already implemented and covered by no-unstable-default-props
naming-convention/filename-extension
already implemented by naming-convention/filename-extension
Since many rules has been changed, we track the migration status in #85.
no-children-in-vold-dom-elements
: #12jsx/no-unknown-property
: https://github.com/jsx-eslint/eslint-plugin-react/blob/master/docs/rules/no-unknown-property.mdjsx/enforce-component-name-pascal-case
: https://github.com/jsx-eslint/eslint-plugin-react/blob/master/docs/rules/jsx-pascal-case.mdnaming-convention/filename-extension
: https://github.com/jsx-eslint/eslint-plugin-react/blob/master/docs/rules/jsx-filename-extension.mdrequire-render-return
: https://github.com/jsx-eslint/eslint-plugin-react/blob/master/docs/rules/require-render-return.mdensure-class-component-method-order
: https://github.com/jsx-eslint/eslint-plugin-react/blob/master/docs/rules/sort-comp.mdensure-style-prop-object
: https://github.com/jsx-eslint/eslint-plugin-react/blob/master/docs/rules/style-prop-object.mdno-access-state-in-setstate
: https://github.com/jsx-eslint/eslint-plugin-react/blob/master/docs/rules/no-access-state-in-setstate.mdjsx/prefer-fragment-syntax
: https://github.com/jsx-eslint/eslint-plugin-react/blob/master/docs/rules/jsx-fragments.mdjsx/enforce-jsx-key
: https://github.com/jsx-eslint/eslint-plugin-react/blob/master/docs/rules/jsx-key.mdno-string-refs
jsx/no-useless-fragment
: #64no-unused-class-component-methods
: https://github.com/jsx-eslint/eslint-plugin-react/blob/master/docs/rules/no-unused-class-component-methods.mdno-missing-iframe-sandbox-attribute
: https://github.com/jsx-eslint/eslint-plugin-react/blob/master/docs/rules/iframe-missing-sandbox.mdno-object-type-as-default-prop
: https://github.com/jsx-eslint/eslint-plugin-react/blob/master/docs/rules/no-object-type-as-default-prop.mdrequire-button-has-type-attribute
: https://github.com/jsx-eslint/eslint-plugin-react/blob/master/docs/rules/button-has-type.mdno-namespace
: #13rules
exportsjsx/no-script-url
: Custom Component and prop support