Skip to content

fix: add Non-empty judgment#35

Open
leafstark wants to merge 1 commit intomysticatea:masterfrom
leafstark:feature-bugFix
Open

fix: add Non-empty judgment#35
leafstark wants to merge 1 commit intomysticatea:masterfrom
leafstark:feature-bugFix

Conversation

@leafstark
Copy link

I added a non-empty judgment to the variable that may cause a TypeError(
TypeError: Cannot read property 'references' of null
) in _iterateVariableReferences
for (const reference of variable.references) {

@leafstark
Copy link
Author

@mysticatea would you please have a look at this PR? While running ESLint, TypeError: Cannot read property 'references' of null occurs when users use eslint-plugin-vue and unplugin-vue2-script-setup. Thanks in advance!

@ota-meshi
Copy link
Contributor

Hi @leafstark.

I think it's an eslint-plugin-vue issue, not an eslint-utils issue.
Also, the eslint-plugin-vue issue has probably been fixed.
vuejs/eslint-plugin-vue#1690

If you still can't solve it, please open the issue in eslint-plugin-vue. In that case, please also provide a repository to reproduce the issue.

MichaelDeBoey pushed a commit to MichaelDeBoey/eslint-utils that referenced this pull request Apr 26, 2023
Bumps [prettier](https://github.com/prettier/prettier) from 2.8.0 to 2.8.1.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](prettier/prettier@2.8.0...2.8.1)

---
updated-dependencies:
- dependency-name: prettier
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments