Files
VictoriaMetrics/codespell/Makefile
Guillem Jover 76d205feae spelling and grammar fixes via codespell (#8497)
### 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>
2025-03-17 16:32:10 +01:00

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