https://github.com/mozilla-frontend-infra/lint
Airbnb's ESLint config, following the Airbnb styleguide with Mozilla additions
https://github.com/mozilla-frontend-infra/lint
Last synced: 2 months ago
JSON representation
Airbnb's ESLint config, following the Airbnb styleguide with Mozilla additions
- Host: GitHub
- URL: https://github.com/mozilla-frontend-infra/lint
- Owner: mozilla-frontend-infra
- License: mpl-2.0
- Created: 2018-11-09T23:16:15.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-12-15T11:55:48.000Z (over 1 year ago)
- Last Synced: 2025-04-05T21:37:09.439Z (3 months ago)
- Language: JavaScript
- Homepage:
- Size: 1.22 MB
- Stars: 2
- Watchers: 0
- Forks: 1
- Open Issues: 23
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Lint
Airbnb's ESLint config, following the Airbnb styleguide with Mozilla additions
[![Build Status][travis-image]][travis-url]
## Requirements
- Node.js `^8.10 || >=10`
- Yarn or npm client
- Neutrino v9## Features
- `@mozilla-frontend-infra/react-lint`:
- Extends from [`@neutrinojs/airbnb`](https://master.neutrinojs.org/packages/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`](https://master.neutrinojs.org/packages/airbnb-base)
- For linting Node.js-based projects
- Highly visible during development, fails compilation when building for production
## InstallationYarn is highly preferred for Mozilla Frontend Infra projects.
_Example: Installing the `react-lint` middleware:_
#### Yarn
```bash
❯ yarn add --dev @mozilla-frontend-infra/react-lint
```#### npm
```bash
❯ npm install --save-dev @mozilla-frontend-infra/react-lint
```[travis-image]: https://travis-ci.org/mozilla-frontend-infra/lint.svg?branch=master
[travis-url]: https://travis-ci.com/mozilla-frontend-infra/lint