mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2026-10-12 16:32:10 -05:00
Adopt Prettier for JavaScript formatting (#13581)
This commit is contained in:
1 parent
1a69059295
commit
2c2159fb9e
12 files changed
+310
-217
No files matched your search
@@ -84,3 +84,9 @@ dependency_groups =
|
||||
types
|
||||
commands =
|
||||
mypy {posargs}
|
||||
|
||||
[testenv:prettier]
|
||||
description =
|
||||
Run the Prettier JavaScript formatter.
|
||||
commands =
|
||||
npx prettier@3.5 --write "sphinx/themes/**/*.js" "!sphinx/themes/bizstyle/static/css3-mediaqueries*.js" "tests/js/**/*.{js,mjs}" "!tests/js/fixtures/**"
|
||||
Reference in new issue
Block a user