eslint-config-whiteroom

4.0.0 • Public • Published

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',
      ]

Readme

Keywords

none

Package Sidebar

Install

npm i eslint-config-whiteroom

Weekly Downloads

22

Version

4.0.0

License

ISC

Unpacked Size

3.23 kB

Total Files

4

Last publish

Collaborators

  • chungweileong