Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/chungweileong94/eslint-config-whiteroom
White Room ESLint Configuration
https://github.com/chungweileong94/eslint-config-whiteroom
eslint javascript react typescript
Last synced: about 1 month ago
JSON representation
White Room ESLint Configuration
- Host: GitHub
- URL: https://github.com/chungweileong94/eslint-config-whiteroom
- Owner: chungweileong94
- Created: 2020-02-03T14:33:46.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2023-11-07T13:37:45.000Z (about 1 year ago)
- Last Synced: 2024-10-01T16:08:40.739Z (about 2 months ago)
- Topics: eslint, javascript, react, typescript
- Language: JavaScript
- Homepage:
- Size: 53.7 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# eslint-config-whiteroom
White Room ESLint Configuration
[![npm version](https://badge.fury.io/js/eslint-config-whiteroom.svg)](https://badge.fury.io/js/eslint-config-whiteroom)
## Installation
```bash
# npm
npm install -D eslint-config-whiteroom# yarn
yarn add -D eslint-config-whiteroom# pnpm
pnpm add -D eslint-config-whiteroom
```### Install peer dependencies
```bash
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`
```diff
+ parserOptions: {
+ project: './tsconfig.json'
+ }
```2. Extends `eslint-config-whiteroom`
```diff
extends: [
...
+ 'whiteroom',
]
```