mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-21 23:28:58 +00:00
Expand use of prettier to all tracked files (#17311)
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
export default {
|
||||
"*.?(c|m){js,ts}": ["eslint --fix", "prettier --write"],
|
||||
"!(/translations)*.{json,css,md,html}": "prettier --write",
|
||||
"*.{json,css,md,markdown,html,y?aml}": "prettier --write",
|
||||
"translations/*/*.json": (files) =>
|
||||
'printf "%s\n" "Translation files should not be added or modified here. Instead, make the necessary modifications in src/translations/en.json. Other languages are managed externally. Please see https://developers.home-assistant.io/docs/translations/ for details." ' +
|
||||
files.join(" ") +
|
||||
|
Reference in New Issue
Block a user