Skip to content
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

fixed: disable "no-unused-vars" #205

Merged
merged 2 commits into from
Dec 25, 2022
Merged

Conversation

danielrentz
Copy link
Contributor

Fixes #204 - false positives in comments starting with the word "global"

Fixes ota-meshi#204 - false positives in comments starting with the word "global"
@changeset-bot
Copy link

changeset-bot bot commented Dec 22, 2022

🦋 Changeset detected

Latest commit: 52fe108

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
eslint-plugin-yml Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link
Owner

@ota-meshi ota-meshi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you

@ota-meshi ota-meshi merged commit ea2c472 into ota-meshi:master Dec 25, 2022
danielrentz added a commit to danielrentz/eslint-plugin-jsonc that referenced this pull request Jan 2, 2023
Same problem as in ota-meshi/eslint-plugin-yml#204, same fix as in ota-meshi/eslint-plugin-yml#205

example.jsonc
```json
/* global test */
"data"
```
triggers `1:11  error  'test' is defined but never used. Allowed unused vars must match /^_/u  no-unused-vars`
ota-meshi added a commit to ota-meshi/eslint-plugin-jsonc that referenced this pull request Jan 5, 2023
* disable core rule "no-unused-vars"

Same problem as in ota-meshi/eslint-plugin-yml#204, same fix as in ota-meshi/eslint-plugin-yml#205

example.jsonc
```json
/* global test */
"data"
```
triggers `1:11  error  'test' is defined but never used. Allowed unused vars must match /^_/u  no-unused-vars`

* Create smart-bottles-beam.md

Co-authored-by: Yosuke Ota <otameshiyo23@gmail.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.

add "no-unused-vars" to ignore list in base configuration
2 participants