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

using both --apply and --ignore flags should not be allowed #363

Closed
David-Pena opened this issue Sep 30, 2024 · 0 comments · Fixed by #369
Closed

using both --apply and --ignore flags should not be allowed #363

David-Pena opened this issue Sep 30, 2024 · 0 comments · Fixed by #369
Assignees
Labels
bug Something isn't working

Comments

@David-Pena
Copy link
Collaborator

Describe the bug
Using both flags at the same time is not throwing any error

To Reproduce
Run the analyzer with this vue-mess-detector.json

{
  "apply": "vue-essential,vue-recommended,vue-strong,rrd,security",
  "ignore": "multiAttributeElements,ifWithoutCurlyBraces"
}
  1. What is the exact code you are analyzing?
  1. What is the output you are getting?
    Its being executed normally

Expected behavior
It should throw an error because both flags shouldnt be used at the same time

Screenshots
N/A

Used version number of vue-mess-detector: 0.57.0

Used version number of node & yarn: -

Additional context
This was detected in this other issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants