mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2026-06-27 12:37:29 +03:00
### Describe Your Changes Fix many spelling errors and some grammar, including misspellings in filenames. The change also fixes a typo in metric `vm_mmaped_files` to `vm_mmapped_files`. While this is a breaking change, this metric isn't used in alerts or dashboards. So it seems to have low impact on users. The change also deprecates `cspell` as it is much heavier and less usable. --------- Co-authored-by: Andrii Chubatiuk <achubatiuk@victoriametrics.com> Co-authored-by: Andrii Chubatiuk <andrew.chubatiuk@gmail.com>
15 lines
414 B
Makefile
15 lines
414 B
Makefile
# These commands must be run from the VictoriaMetrics repository root.
|
|
|
|
# Builds spellcheck image.
|
|
codespell:
|
|
@docker build codespell -t codespell
|
|
|
|
# Runs cspell container commands.
|
|
codespell-check: codespell
|
|
@-docker run \
|
|
--mount type=bind,src="$(PWD)",dst=/vm \
|
|
--rm \
|
|
codespell \
|
|
--ignore-words=/vm/codespell/stopwords \
|
|
--skip='*/node_modules/*,*/vmdocs/*,*/vendor/*,*.js,*.pb.go,*.qtpl.go' /vm
|