Skip to content

Commit

Permalink
fixed: disable "no-unused-vars" (#205)
Browse files Browse the repository at this point in the history
* fixed: disable "no-unused-vars"

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

* Create chilled-cobras-protect.md

Co-authored-by: Yosuke Ota <otameshiyo23@gmail.com>
  • Loading branch information
danielrentz and ota-meshi committed Dec 25, 2022
1 parent 85b16c8 commit ea2c472
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/chilled-cobras-protect.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"eslint-plugin-yml": minor
---

disable `no-unused-vars` in base config
1 change: 1 addition & 0 deletions src/configs/base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ export = {
rules: {
// ESLint core rules known to cause problems with YAML.
"no-irregular-whitespace": "off",
"no-unused-vars": "off",
"spaced-comment": "off",
},
},
Expand Down

0 comments on commit ea2c472

Please sign in to comment.