Skip to content

Airbnb's ESLint config, following the Airbnb styleguide with Mozilla additions

License

Notifications You must be signed in to change notification settings

mozilla-frontend-infra/lint

Repository files navigation

Lint

Airbnb's ESLint config, following the Airbnb styleguide with Mozilla additions


Build Status

Requirements

  • Node.js ^8.10 || >=10
  • Yarn or npm client
  • Neutrino v9

Features

  • @mozilla-frontend-infra/react-lint:
    • Extends from @neutrinojs/airbnb
    • For linting React and React Component-based projects
    • Highly visible during development, fails compilation when building for production
  • @mozilla-frontend-infra/node-lint:
    • Extends from @neutrinojs/airbnb-base
    • For linting Node.js-based projects
    • Highly visible during development, fails compilation when building for production

Installation

Yarn is highly preferred for Mozilla Frontend Infra projects.

Example: Installing the react-lint middleware:

Yarn

❯ yarn add --dev @mozilla-frontend-infra/react-lint

npm

❯ npm install --save-dev @mozilla-frontend-infra/react-lint

About

Airbnb's ESLint config, following the Airbnb styleguide with Mozilla additions

Resources

License

Stars

Watchers

Forks

Packages

No packages published