From 25099b41de6dc84d6b441cf483e04fbc75d8764b Mon Sep 17 00:00:00 2001 From: Jonny Gerig Meyer Date: Tue, 20 Jun 2023 06:57:37 -0400 Subject: [PATCH] narrow linters --- .prettierignore | 3 --- .stylelintignore | 18 ------------------ package.json | 8 ++++---- 3 files changed, 4 insertions(+), 25 deletions(-) diff --git a/.prettierignore b/.prettierignore index 3395c32..7c5ade4 100644 --- a/.prettierignore +++ b/.prettierignore @@ -1,9 +1,6 @@ !.* .git/ .vscode/ -.yarn/ -.yarnrc -.yarnrc.yml /**/*.md /.language/ /_site/ diff --git a/.stylelintignore b/.stylelintignore index e673e4c..377f46e 100644 --- a/.stylelintignore +++ b/.stylelintignore @@ -1,19 +1 @@ -!.* -.git/ -.vscode/ -.yarn/ -.yarnrc -.yarnrc.yml -/.language/ -/_site/ -/source/_data/versionCache.json -/source/assets/dist/ -/source/assets/js/vendor/** /source/assets/sass/vendor/ -/source/blog/*.md -/source/documentation/js-api -coverage/ -node_modules/ -package-lock.json - -!/source/assets/js/vendor/index.ts diff --git a/package.json b/package.json index 60c5ec1..561b300 100644 --- a/package.json +++ b/package.json @@ -29,10 +29,10 @@ "tsc": "tsc", "gts": "gts fix", "gts:ci": "gts lint", - "prettier": "prettier --write .", - "prettier:ci": "prettier --check .", - "stylelint": "stylelint '**/*.{css,scss}' --fix", - "stylelint:ci": "stylelint '**/*.{css,scss}'", + "prettier": "prettier --write '**/*.{json,yml,scss}'", + "prettier:ci": "prettier --check '**/*.{json,yml,scss}'", + "stylelint": "stylelint 'source/assets/sass/*.{css,scss}' --fix", + "stylelint:ci": "stylelint 'source/assets/sass/*.{css,scss}'", "lint": "run-s prettier gts stylelint tsc", "lint:ci": "run-s prettier:ci gts:ci stylelint:ci tsc", "test": "echo \"Error: no test specified\" && exit 1",