mirror of https://github.com/snachodog/mybuddy.git
feat: add prettier to format command
This commit is contained in:
parent
f28df6ecf3
commit
dda68e0fc3
|
@ -170,6 +170,7 @@ function format() {
|
||||||
return all(
|
return all(
|
||||||
_runInPipenv(["black", "."]),
|
_runInPipenv(["black", "."]),
|
||||||
_runInPipenv(["djlint", "--reformat", "."]),
|
_runInPipenv(["djlint", "--reformat", "."]),
|
||||||
|
_runCommand("npx", ["prettier", ".", "--write"]),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue