@pinnsg/eslint-config-prettier-typescript-react

0.4.3 • Public • Published

Personal configs

Credit: Forked from ntnyq

EsLint config for React.js and TypeScript with Prettier

Usage

Install

$ npm i @pinnsg/eslint-config-prettier-typescript-react -D
# OR
$ yarn add @pinnsg/eslint-config-prettier-typescript-react -D

Extend this config

in .eslintrc.js

module.exports = {
    root: true,

    extends: ['@pinnsg/prettier-typescript-react'],

    rules: {
        // Override rules
    },
}

in package.json

{
    "eslintConfig": {
        "root": true,
        "extends": "@pinnsg/prettier-typescript-react"
    }
}

Dependencies (2)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i @pinnsg/eslint-config-prettier-typescript-react

    Weekly Downloads

    2

    Version

    0.4.3

    License

    MIT

    Unpacked Size

    2.66 kB

    Total Files

    4

    Last publish

    Collaborators

    • pinnsg-mcrowe