npm.io
0.2.5 • Published 3 years ago

@tylergaffaney/eslint-config-react

Licence
MIT
Version
0.2.5
Deps
4
Size
6 kB
Vulns
0
Weekly
0

Personal configs

Credit: Forked from ntnyq

EsLint config for React.js

Usage

Install

$ npm i @tylergaffaney/eslint-config-react -D
# OR
$ yarn add @tylergaffaney/eslint-config-react -D
Extend this config

in .eslintrc.js

module.exports = {
    root: true,

    extends: ['@tylergaffaney/react'],

    rules: {
        // Override rules
    },
}

in package.json

{
    "eslintConfig": {
        "root": true,
        "extends": "@tylergaffaney/react"
    }
}

Keywords