Skip to content

Commit

Permalink
chore: create .editorconfig-checker.json (#103)
Browse files Browse the repository at this point in the history
  • Loading branch information
lumirlumir authored Nov 22, 2024
1 parent 9a64a41 commit 0b57cda
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .editorconfig-checker.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"Exclude": ["README.md"]
}
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down

0 comments on commit 0b57cda

Please sign in to comment.