1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-08-10 22:11:50 +02:00

Tools: Add script to validate Markdown filenames on commit

This commit is contained in:
Laurent Cozic
2024-07-02 15:16:16 +02:00
parent 46ade2e0f8
commit f2841a9a94
5 changed files with 40 additions and 1 deletions

View File

@@ -23,5 +23,6 @@ module.exports = {
'*.{js,jsx,ts,tsx,task2}': 'yarn spellcheck',
'*.{js,jsx,ts,tsx,task3}': 'yarn packageJsonLint',
'*.{js,jsx,ts,tsx,task4}': 'yarn linter-precommit',
'*.{md,mdx}': 'yarn spellcheck',
'*.{md,mdx,task5}': 'yarn spellcheck',
'*.{md,mdx,task6}': 'yarn validateFilenames',
};