0.1.4 • Published 5 years ago

eslint-config-deftly v0.1.4

Weekly downloads
7
License
ISC
Repository
-
Last release
5 years ago

eslint-config-deftly

Deftly core ESLint configuration; contains the base ESLint rulesets we use for our web & mobile projects. This is configured to work with Prettier.

Installation

You'll first need to install ESLint and the config peer dependencies. If the project was bootstrapped using CRA, you only need to install the plugins:

$ yarn add -D eslint-plugin-import eslint-plugin-react eslint-plugin-react-hooks eslint-plugin-jsx-a11y eslint babel-eslint

Next, install eslint-config-deftly:

$ yarn add -D eslint-config-deftly

Note: If you installed ESLint globally (using the -g flag) then you must also install eslint-config-deftly globally.

Usage

Add deftly to the extends section of your .eslintrc.js configuration file. You can omit the eslint-config- prefix:

{
    'extends': [
        'deftly'
    ]
}
0.1.4

5 years ago

0.1.3

5 years ago

0.1.2

5 years ago

0.1.1

5 years ago

0.1.0

5 years ago