@airteam/eslint-config

0.1.6 • Public • Published

Airteam ESLint Config

Airteam configuration file for ESLint.

Installation

yarn add @airteam/eslint-config

The following packages must also be installed in your project:

yarn add -D eslint prettier eslint-plugin-import eslint-plugin-prettier eslint-config-prettier

To enable React & JSX support the following packages must also be installed in your project:

yarn add react
yarn add -D eslint-plugin-react eslint-plugin-jsx-a11y

Usage

Add a .eslintrc.js file to the root of your project with contents:

module.exports = {
  root: true,
  extends: '@airteam',
};

Then run eslint on your source code, eg: eslint src

/@airteam/eslint-config/

    Package Sidebar

    Install

    npm i @airteam/eslint-config

    Weekly Downloads

    65

    Version

    0.1.6

    License

    MIT

    Unpacked Size

    2.4 MB

    Total Files

    3343

    Last publish

    Collaborators

    • nicholashu
    • jameswyse
    • airwes