From c169012137880bfcacaafd8ff4256f0c6f54e05d Mon Sep 17 00:00:00 2001 From: Patrick Lafrance Date: Fri, 12 Apr 2024 16:20:27 -0400 Subject: [PATCH] fix: eslint yaml rules (#203) * fix: ESlint YAML config * Added changeset file --- .changeset/config.json | 2 +- .changeset/curly-dancers-itch.md | 5 +++++ packages/eslint-plugin/lib/config/yaml.ts | 5 ++++- 3 files changed, 10 insertions(+), 2 deletions(-) create mode 100644 .changeset/curly-dancers-itch.md diff --git a/.changeset/config.json b/.changeset/config.json index 18272efb..927fda69 100644 --- a/.changeset/config.json +++ b/.changeset/config.json @@ -2,7 +2,7 @@ "$schema": "https://unpkg.com/@changesets/config@2.3.0/schema.json", "changelog": [ "@changesets/changelog-github", - { "repo": "workleap/wl-web-configs" } + { "repo": "gsoft-inc/wl-web-configs" } ], "commit": false, "fixed": [], diff --git a/.changeset/curly-dancers-itch.md b/.changeset/curly-dancers-itch.md new file mode 100644 index 00000000..83d2f18a --- /dev/null +++ b/.changeset/curly-dancers-itch.md @@ -0,0 +1,5 @@ +--- +"@workleap/eslint-plugin": patch +--- + +Fixing YAML config. diff --git a/packages/eslint-plugin/lib/config/yaml.ts b/packages/eslint-plugin/lib/config/yaml.ts index 5d23506f..a02aad19 100644 --- a/packages/eslint-plugin/lib/config/yaml.ts +++ b/packages/eslint-plugin/lib/config/yaml.ts @@ -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.