eslint-config-fastmodel

0.4.0 • Public • Published

eslint-config-fastmodel

Shareable ESLint configuration used at FastModel.

Installation

yarn add eslint babel-eslint eslint-config-fastmodel eslint-config-airbnb eslint-loader eslint-plugin-import eslint-plugin-jsx-a11y

Usage

To use this preset, simply extend it in the project .eslintrc file. See [Configuring ESLint][Configuring ESLint] for details. Any rules can still be overridden.

{
  "extends": "fastmodel"
}

React

To install: Run the install described above, and then add the following.

yarn add eslint-plugin-react

To use this preset with React, extend it like so.

{
  "extends": "fastmodel/react"
}

/eslint-config-fastmodel/

    Package Sidebar

    Install

    npm i eslint-config-fastmodel

    Weekly Downloads

    6

    Version

    0.4.0

    License

    MIT

    Unpacked Size

    6.67 kB

    Total Files

    5

    Last publish

    Collaborators

    • fast.model