From 40ea5f9df913fa55c7b9a5249bbd3badb8309515 Mon Sep 17 00:00:00 2001 From: Ned Zimmerman Date: Tue, 15 Aug 2023 13:24:45 -0300 Subject: [PATCH] fix: simplify YAML lint config (#362) --- .eslintrc.js | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.eslintrc.js b/.eslintrc.js index a996bae2..980763c8 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -5,7 +5,7 @@ module.exports = { "fluid", "plugin:yml/standard" ], - ignorePatterns: ["_site/", "src/_locales/messages.js", "!.*.cjs", "!.*.js"], + ignorePatterns: ["_site/", "src/_locales/messages.js", "!.*.cjs", "!.*.js", "!.github/"], env: { amd: true, browser: true, diff --git a/package.json b/package.json index 3f9210b5..fac7ea67 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,7 @@ "lint:css": "stylelint \"**/*.css\"", "lint:js": "eslint \"**/*.js\"", "lint:markdown": "markdownlint-cli2 \"**/*.md\"", - "lint:yml": "eslint --no-error-on-unmatched-pattern \".github/**/*.yml\" \"**/*.yml\"", + "lint:yml": "eslint \"**/*.yml\"", "start": "npm-run-all -l clean -p start:*", "start:eleventy": "run-p dev cms", "prepare": "husky install"