Skip to content

Latest commit

 

History

History
44 lines (31 loc) · 746 Bytes

README.md

File metadata and controls

44 lines (31 loc) · 746 Bytes

eslint-config-whiteroom

White Room ESLint Configuration

npm version

Installation

# npm
npm install -D eslint-config-whiteroom

# yarn
yarn add -D eslint-config-whiteroom

# pnpm
pnpm add -D eslint-config-whiteroom

Install peer dependencies

npx install-peerdeps --dev eslint-config-whiteroom

Configure ESLint

In your ESLint configuration file:

  1. You need tell the parser where's your tsconfig.json

    + parserOptions: {
    +   project: './tsconfig.json'
    + }
  2. Extends eslint-config-whiteroom

      extends: [
        ...
    +   'whiteroom',
      ]