From 0b57cdaf270efa1d30f51bdb0b61815e24c349d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EB=A3=A8=EB=B0=80LuMir?= Date: Fri, 22 Nov 2024 14:51:13 +0900 Subject: [PATCH] chore: create `.editorconfig-checker.json` (#103) --- .editorconfig-checker.json | 3 +++ package.json | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) create mode 100644 .editorconfig-checker.json diff --git a/.editorconfig-checker.json b/.editorconfig-checker.json new file mode 100644 index 0000000..97be2bb --- /dev/null +++ b/.editorconfig-checker.json @@ -0,0 +1,3 @@ +{ + "Exclude": ["README.md"] +} diff --git a/package.json b/package.json index e8adda9..682bcbe 100644 --- a/package.json +++ b/package.json @@ -40,7 +40,7 @@ "lint": "concurrently \"npm:lint-*\"", "lint-eslint": "npx eslint . --ext .js", "lint-prettier": "npx prettier . --check", - "lint-editorconfig": "npx editorconfig-checker -exclude README.md", + "lint-editorconfig": "npx editorconfig-checker -config .editorconfig-checker.json", "lint-markdownlint": "npx markdownlint **/*.md", "fix": "concurrently \"npm:fix-*\"", "fix-eslint": "npx eslint . --fix --ext .js", @@ -80,7 +80,7 @@ "lint-staged": { "*": [ "npx prettier --check", - "npx editorconfig-checker -exclude README.md" + "npx editorconfig-checker -config .editorconfig-checker.json" ], "*.js": "npx eslint", "*.md": "npx markdownlint",