Files
tubestation/docs/code-quality/lint/linters/rejected-words.rst
Andrew Halberstadt 0899d31e3c Bug 1780087 - Convert some searchfox links under 'docs/code-quality' to the new role, r=linter-reviewers,sylvestre
This is more to demonstrate the use of the role than anything else.

Differential Revision: https://phabricator.services.mozilla.com/D152125
2022-07-19 15:41:08 +00:00

29 lines
624 B
ReStructuredText

Rejected words
==============
Reject some words we don't want to use in the code base for various reasons.
Run Locally
-----------
The mozlint integration of codespell can be run using mach:
.. parsed-literal::
$ mach lint --linter rejected-words <file paths>
Configuration
-------------
This linter is enabled on the whole code base. Issues existing in the code base
are listed in the exclude list in the :searchfox:`rejected-words.yml
<tools/lint/rejected-words.yml>` file.
New words can be added in the `payload` section.
Sources
-------
* :searchfox:`Configuration (YAML) <tools/lint/rejected-words.yml>`