mirror of
https://github.com/documenso/documenso.git
synced 2025-11-13 00:03:33 +10:00
feat: add prettier to lint
This commit is contained in:
@ -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',
|
||||
|
||||
Reference in New Issue
Block a user