We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Given the following JS (which is a cut down version of the real thing for simplicity)
const COMPONENT_INFO = { UIDivInput: { title: 'Atoms/UIDivInput' }, UIDivSearch: { title: 'Atoms/UIDivSearch' }, UIDivSelect: { title: 'Atoms/UIDivSelect/UIDivSelect' }, UIFloatStaffForm: { title: 'Forms/Schedule Forms/UIFloatStaffForm' } }
Generates the following erroneous issue as there is no duplicated key.
⚠ eslint(no-dupe-keys): Disallow duplicate keys in object literals ╭─[content/tests/UITests/js/index.js:49:5] 48 │ }, 49 │ UIDivSearch: { · ─────────── 50 │ title: 'Atoms/UIDivSearch' 51 │ }, 52 │ UIDivSelect: { · ─────────── 53 │ title: 'Atoms/UIDivSelect/UIDivSelect' ╰──── help: Consider removing the duplicated key
The text was updated successfully, but these errors were encountered:
fix(linter): fix no_dupe_keys false postive on similar key names
bb8b2c6
closes #2287
fix(linter): fix no_dupe_keys false postive on similar key names (#2291)
b5e43fb
fix(linter): fix no_dupe_keys false postive on similar key names (oxc…
a208e6d
…-project#2291) closes oxc-project#2287
Boshen
Successfully merging a pull request may close this issue.
Given the following JS (which is a cut down version of the real thing for simplicity)
Generates the following erroneous issue as there is no duplicated key.
The text was updated successfully, but these errors were encountered: