diff --git a/.lintstagedrc b/.lintstagedrc index 10b6bc258..0969cc0f1 100644 --- a/.lintstagedrc +++ b/.lintstagedrc @@ -1,5 +1,5 @@ { "**/*.ts": ["eslint --fix", "prettier --write"], - "**/*.js": ["prettier --write"], - "*.md": ["markdownlint --fix", "prettier --write"] + "**/*.md": ["markdownlint --fix", "prettier --write"], + "!**/*.{ts,md}": "prettier --write --ignore-unknown" }