Firefox Source Docs Logo

Quick search

Overview

  • A Glossary of Common Terms
  • A Quick Guide to Mozilla Applications

Getting Started

  • Getting Set Up To Work On The Firefox Codebase

Working On Firefox

  • Working on Firefox
  • Bug Handling

Firefox User Guide

  • Firefox DevTools User Docs

Source Code Documentation

  • Governance
  • Firefox Front-end
  • DOM
  • Editor
  • Style system (CSS) & Layout
  • Graphics
  • Processes, Threads and IPC
  • Firefox DevTools Contributor Docs
  • Toolkit
  • SpiderMonkey
  • JS Loader
  • GeckoView
  • Fenix
  • Focus for Android
  • WebIDL
  • libpref
  • Networking
  • Remote Protocols
  • Services
  • Permissions
  • File Handling
  • Firefox on macOS
  • Firefox on Windows
  • Firefox AI Runtime
  • Accessibility
  • Media Playback
  • Code quality
    • Static Analysis
    • Linting
      • Getting Help
        • Running Linters Locally
        • 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
        • Includes
        • 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
        • MozLint
        • Adding a New Linter to the Tree
    • Coding style
  • Writing Rust Code
  • Rust Components
  • Gecko Profiler
  • Performance
  • Database bindings (SQLite, KV, …)
  • XPCOM
  • NSPR
  • Network Security Services (NSS)
  • Web Security Checks in Gecko

The Firefox Build System

  • Mach
  • Pushing to Try
  • Build System
  • Firefox CI and Taskgraph
  • Managing Documentation
  • Vendoring Third Party Components

Testing & Test Infrastructure

  • Automated Testing
  • Understanding Treeherder Results
  • Sheriffed intermittent failures
  • Turning on Firefox tests for a new configuration
  • Avoiding intermittent tests
  • Debugging Intermittent Test Failures
  • Testing Policy
  • Configuration Changes
  • Browser chrome mochitests
  • Chrome Tests
  • Marionette
  • geckodriver
  • Test Verification
  • WebRender Tests
  • Mochitest
  • XPCShell tests
  • TPS
  • web-platform-tests
  • GTest
  • Fuzzing
  • Sanitizer
  • Performance Testing
  • Code coverage
  • Testing & Debugging Rust Code

Releases & Updates

  • Mozilla Update Infrastructure
  • Watershed Updates
  • Desupport Updates
  • Update Verify

Localization & Internationalization

  • Internationalization
  • Localization

Firefox and Python

  • mozbase
  • Using third-party Python packages

Metrics Collected in Firefox

  • Metrics
Firefox Source Docs
  • Code quality
  • Linting
  • Report an issue / View page source

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).

Getting Started

  • Running Linters Locally
    • Using the Command Line
    • VCS Integrations
    • Editor Integrations

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
  • Includes
  • 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

  • MozLint
  • Adding a New Linter to the Tree
Previous Next

Built with Sphinx using a theme provided by Read the Docs.