mirror of
https://github.com/directus/directus.git
synced 2026-04-25 03:00:53 -04:00
lint-staged: Reintroduce Prettier for md files (#5382)
This commit is contained in:
@@ -118,6 +118,7 @@ export default defineComponent({
|
||||
return i;
|
||||
}
|
||||
}
|
||||
return null;
|
||||
});
|
||||
|
||||
/**
|
||||
|
||||
@@ -64,7 +64,8 @@
|
||||
"pre-commit": "npx lint-staged"
|
||||
},
|
||||
"lint-staged": {
|
||||
"*.{js,ts,vue,md}": "eslint --fix",
|
||||
"*.{js,ts,vue}": "eslint --fix",
|
||||
"*.md": "prettier --write",
|
||||
"*.{css,scss,vue}": "stylelint --fix"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user