feat: project hooks and linting + WARN commit message linting not done
This commit is contained in:
8
lint-staged.config.mjs
Normal file
8
lint-staged.config.mjs
Normal file
@@ -0,0 +1,8 @@
|
||||
const config = {
|
||||
"*.{js,ts}": (stagedFiles) => [
|
||||
`deno lint ${stagedFiles.join(" ")}`,
|
||||
`deno fmt ${stagedFiles.join(" ")}`,
|
||||
],
|
||||
"*.{md,json}": (stagedFiles) => [`deno fmt ${stagedFiles.join(" ")}`],
|
||||
};
|
||||
export default config;
|
||||
Reference in New Issue
Block a user