Skip to content

Commit

Permalink
fix: lint-staged
Browse files Browse the repository at this point in the history
  • Loading branch information
edwinhuish committed Jan 17, 2024
1 parent fd7b338 commit 944c934
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .lintstagedrc.cjs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module.exports = {
'package.json': 'sort-package-json',
'*.md': 'markdownlint --fix --ignore-path=.gitignore',
'./src/*.{js,cjs,mjs,ts,cts,mts}': 'eslint --fix --cache --ignore-path=.gitignore',
'./src/*.{js,cjs,mjs,ts,cts,mts}': 'pnpm run lint',
};
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
"check:types": "tsc --noEmit",
"commit": "git-cz",
"dev": "unbuild --stub",
"lint": "conc \"pnpm:lint:eslint\" \"pnpm:lint:markdownlint\" \"pnpm:lint:publint\"",
"lint": "conc \"pnpm:check:types\" \"pnpm:lint:eslint\" \"pnpm:lint:markdownlint\" \"pnpm:lint:publint\"",
"lint:eslint": "eslint ./src --fix --cache --ignore-path=.gitignore",
"lint:markdownlint": "markdownlint . --fix --ignore-path=.gitignore",
"lint:publint": "publint",
Expand Down

0 comments on commit 944c934

Please sign in to comment.