Linting
Linters are used in mozilla-central to help enforce coding style and avoid bad practices. They cover a wide variety of languages and checks.
Getting Help
If you need help or have questions, please don’t hesitate to contact us via Matrix in the “Lint and Formatting” room (#lint:mozilla.org).
Linter Implementations
- Spotless
 - Black
 - cargo-audit
 - clang-format
 - clippy
 - Codespell
 - CondProf Addons
 - Dot Mozilla Reference
 - ESLint
 - Mozilla ESLint Plugin
 - Mozilla ESLint SpiderMonkey JS
 - File permission
 - Trailing whitespaces
 - Fluent Lint
 - Gecko Trace
 - Glean Parser
 - Ignorefile Lint
 - L10n
 - License
 - Lintpref
 - MinGW capitalization
 - Node Licenses
 - Node Package Names
 - PerfDocs
 - Python Sites
 - Rejected words
 - RST Linter
 - Ruff
 - Rustfmt
 - Stylelint
 - Mozilla Stylelint Plugin
 - Test Manifest TOML
 - Trojan Source
 - TypeScript
 - yamllint
 
Linter Specifics