Skip to content
This repository was archived by the owner on Apr 7, 2025. It is now read-only.

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

README.md

Personal configs

Credit: Forked from ntnyq

EsLint config for React.js with Prettier

Usage

Install

$ npm i @code-expert/eslint-config-prettier-react -D
# OR
$ yarn add @code-expert/eslint-config-prettier-react -D

Extend this config

in .eslintrc.js

module.exports = {
    root: true,

    extends: ['@code-expert/prettier-react'],

    rules: {
        // Override rules
    },
}

in package.json

{
    "eslintConfig": {
        "root": true,
        "extends": "@code-expert/prettier-react"
    }
}