mirror of
https://github.com/documenso/documenso
synced 2026-04-21 13:27:18 +00:00
feat: add prettier to lint
This commit is contained in:
parent
d462ca0b46
commit
7631c6e90e
1 changed files with 1 additions and 1 deletions
|
|
@ -8,7 +8,7 @@ const buildPrettierCommand = (filenames) =>
|
|||
|
||||
/** @type {import('lint-staged').Config} */
|
||||
module.exports = {
|
||||
'**/*.{ts,tsx,cts,mts}': [buildEslintCommand],
|
||||
'**/*.{ts,tsx,cts,mts}': [buildEslintCommand, buildPrettierCommand],
|
||||
'**/*.{js,jsx,cjs,mjs}': [buildPrettierCommand],
|
||||
'**/*.{yml,mdx}': [buildPrettierCommand],
|
||||
'**/*/package.json': 'npm run precommit',
|
||||
|
|
|
|||
Loading…
Reference in a new issue