mirror of
https://github.com/Hopiu/djLint.git
synced 2026-04-12 18:00:57 +00:00
chore: adjust docs and help for rule name changes
This commit is contained in:
parent
2e094e671c
commit
9e2e99f370
3 changed files with 4 additions and 4 deletions
|
|
@ -17,7 +17,7 @@ Usage:
|
|||
|
||||
.. code:: ini
|
||||
|
||||
ignore = "W013"
|
||||
ignore = "H014"
|
||||
|
||||
extension
|
||||
---------
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@ To check what may change in formatting run:
|
|||
|
||||
.. code:: sh
|
||||
|
||||
djlint . --check --ignore="W013,W014"
|
||||
djlint . --check --ignore="H014,H017"
|
||||
|
||||
To format code run:
|
||||
|
||||
|
|
@ -57,7 +57,7 @@ CLI Args
|
|||
|
||||
Options:
|
||||
-e, --extension TEXT File extension to lint [default: html]
|
||||
-i, --ignore "Codes" Rules to be ignored. ex: "W013,W014"
|
||||
-i, --ignore "Codes" Rules to be ignored. ex: "H014,H017"
|
||||
--indent Indent spacing. ex: 3
|
||||
--reformat Reformat the file(s).
|
||||
--check Check formatting on the file(s).
|
||||
|
|
|
|||
|
|
@ -171,7 +171,7 @@ def build_quantity_tense(size: int) -> str:
|
|||
"--ignore",
|
||||
type=str,
|
||||
default="",
|
||||
help='Codes to ignore. ex: "W013,W014"',
|
||||
help='Codes to ignore. ex: "H014,H017"',
|
||||
show_default=False,
|
||||
)
|
||||
@click.option(
|
||||
|
|
|
|||
Loading…
Reference in a new issue