Skip to content

Latest commit

 

History

History
42 lines (29 loc) · 1.12 KB

README.md

File metadata and controls

42 lines (29 loc) · 1.12 KB

Lerna

eslint-config-intense

"Home of the 1_000 line lint config"

This pakage provides an extremely strict and meticulous eslint config that is aimed at TypeScript, React, Jest, and Ramda.

The goal of this project is to use eslint tooling to create as much safety as possible.

Usage

  1. Install the correct versions of each peer dependency:

    npm info "eslint-config-intense@latest" peerDependencies

    TIP: if using npm 5+ you can use this shortcut:

    npx install-peerdeps --dev eslint-config-intense
  2. Add a .eslintrc.js to the root of your project that looks like this:

    /** @type { import('eslint').Linter.Config } */
    module.exports = {
      extends: 'eslint-config-intense',
      rules: {
        // include any project-specific overrides here
      },
    };

Alternative Usage

If you want to test the config (or parts of it) without having to import it directly, you can view a generated JSON version of the config at build.json.