Skip to content

Commit

Permalink
fix: eslint yaml rules (#203)
Browse files Browse the repository at this point in the history
* fix: ESlint YAML config

* Added changeset file
  • Loading branch information
patricklafrance authored Apr 12, 2024
1 parent 6feec49 commit c169012
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .changeset/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"$schema": "https://unpkg.com/@changesets/[email protected]/schema.json",
"changelog": [
"@changesets/changelog-github",
{ "repo": "workleap/wl-web-configs" }
{ "repo": "gsoft-inc/wl-web-configs" }
],
"commit": false,
"fixed": [],
Expand Down
5 changes: 5 additions & 0 deletions .changeset/curly-dancers-itch.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@workleap/eslint-plugin": patch
---

Fixing YAML config.
5 changes: 4 additions & 1 deletion packages/eslint-plugin/lib/config/yaml.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,10 @@ const config: Linter.Config = {
extends: ["plugin:yml/recommended"],
parser: "yaml-eslint-parser"
}
]
],
rules: {
"yml/no-empty-mapping-value": "off"
}
};

// Using TypeScript "export" keyword until ESLint support ESM.
Expand Down

0 comments on commit c169012

Please sign in to comment.