aboutsummaryrefslogtreecommitdiffstats
path: root/lint-staged.config.js
diff options
context:
space:
mode:
authorArmand Philippot <git@armandphilippot.com>2024-01-08 18:29:35 +0100
committerArmand Philippot <git@armandphilippot.com>2024-01-08 18:50:26 +0100
commitd8e419570726f19f30eca71da5d1672ebe14e8d1 (patch)
tree5bb50fb7afc386cdd0780773c61b81f76bf2f434 /lint-staged.config.js
chore: initial commitHEADmain
* website code initialized with Zola * add some linters/fixers * add license and readme
Diffstat (limited to 'lint-staged.config.js')
-rw-r--r--lint-staged.config.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/lint-staged.config.js b/lint-staged.config.js
new file mode 100644
index 0000000..8eb9696
--- /dev/null
+++ b/lint-staged.config.js
@@ -0,0 +1,7 @@
+const config = {
+ '**/*.(md|json)': 'prettier --write',
+ '**/*.scss': ['stylelint --fix', 'prettier --write'],
+ '*': ['cspell --no-must-find-files --no-progress'],
+};
+
+export default config;