-
Notifications
You must be signed in to change notification settings - Fork 76
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
[ESLint] Remove ban-props-on-host
, enforce-ref-last-prop
, require-event-emitter-type
rules
#10398
Comments
We can deprecate and remove this in 3.x since https://github.com/Esri/calcite-design-system/pull/9086/files disabled the rule for components. |
enforce-ref-last-prop
@geospatialem @DitwanP How do you suggest we proceed with this issue? We're deprecating now, but removing in 3.x. |
enforce-ref-last-prop
enforce-ref-last-prop
, require-event-emitter-type
enforce-ref-last-prop
, require-event-emitter-type
enforce-ref-last-prop
, require-event-emitter-type
rules
enforce-ref-last-prop
, require-event-emitter-type
rulesban-props-on-host
, enforce-ref-last-prop
, require-event-emitter-type
rules
…rop`, `require-event-emitter-type` rules (#10679) **Related Issue:** #10398 ## Summary Remove deprecated custom ESLint rules. BREAKING CHANGE: The following deprecated rules from `@esri/eslint-plugin-calcite-components` have been removed due to changes introduced in #10310: * `ban-props-on-host` * `enforce-ref-last-prop` * `require-event-emitter-type` Developers should either remain on the current version or remove these rules from their ESLint configuration to avoid potential issues.
Installed and assigned for verification. |
Verified removals on the Reassigning the issue back to development to remove the remaining markdown files 🔜 : |
Verified - the remaining files will be removed in #10482. Refer to Franco's comment for more details. |
Priority impact
p - low
Summary
Calcite developed an
enforce-ref-last-prop
ESLint rule.Such rule is not necessary in Lumina - the JSX
ref
prop is moved to be the last prop at build time, thus the sort order in the component code does not matter.Update: Also remove
ban-props-on-host
andrequire-event-emitter-type
rules as they will no longer be needed.Desired Outcome
After migrating to Lumina, remove the
ban-props-on-host
,enforce-ref-last-prop
andrequire-event-emitter-type
ESLint rulesResources
No response
The text was updated successfully, but these errors were encountered: