Skip to content
This repository has been archived by the owner on Oct 13, 2020. It is now read-only.

Latest commit

 

History

History
47 lines (30 loc) · 1.1 KB

README.md

File metadata and controls

47 lines (30 loc) · 1.1 KB

👷 No longer maintained

I recommend standard for vanilla JS or ts-standard for TypeScript.


eslint-config-rxgx

A brainless donkey-brain ESLint configuration to automatically apply the rules and formatting based on:

  • ESLint/recommended
  • Prettier/recommended
  • React/recommended (requires babel-eslint)

If you do not use Prettier, this config will ruin your life or—at the very least—trigger your teenage angst! For those who never want to have another discussion on code formatting, please continue.

Directions

  1. Install the sharable config:

    npm i -D eslint-config-rxgx
    
  2. Install dependencies

    To use the sharable config, the following dev dependencies are required:

    npm i -D babel-eslint \
      eslint \
      eslint-config-prettier \
      eslint-plugin-prettier \
      eslint-plugin-react \
      prettier
    
  3. Add an ESLint config file, .eslintrc:

    {
      "extends": "rxgx"
    }