Closed anncwb closed 2 months ago
Latest commit: 44161ab33c515679a2db4a5cc1ae9351af3d02ed
Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.
Click here to learn what changesets are, and how to add one.
Click here if you're a maintainer who wants to add a changeset to this PR
The pull request introduces changes to the ESLint configuration files for JavaScript and Vue.js, modifying linting rules and adding commented-out global variable declarations for Vue. Additionally, a comment in the about.vue
file is removed, streamlining the code. These adjustments aim to address issues related to the handling of global variables in Vue files.
File Path | Change Summary |
---|---|
internal/lint-configs/eslint-config/src/configs/javascript.ts | Updated 'no-undef' rule from 'error' to 'off' , disabling the check for undeclared variables. |
internal/lint-configs/eslint-config/src/configs/vue.ts | Added a block of commented-out code defining Vue.js global variables in the languageOptions . |
packages/effects/common-ui/src/ui/about/about.vue | Removed the comment // eslint-disable-next-line no-undef , cleaning up the code. |
Objective | Addressed | Explanation |
---|---|---|
Bug: Disable 'no-undef' rule in ESLint configuration for Vue files (#[4418]) |
✅ | |
Ensure global types are recognized in ESLint for Vue files (#[4418]) | ❓ | The addition of globals is commented out and not actively recognized. |
In the code where rabbits hop,
We’ve made some changes, oh what a crop!
No more warnings for variables lost,
Cleaned up comments, at no cost.
With Vue’s globals softly tucked away,
Happy coding, come what may! 🐇✨
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Description
fixed #4418
Type of change
Please delete options that are not relevant.
pnpm-lock.yaml
unless you introduce a new test example.Checklist
pnpm run docs:dev
command.pnpm test
.feat:
,fix:
,perf:
,docs:
, orchore:
.Summary by CodeRabbit
Bug Fixes
about.vue
file for cleaner code.Chores