@dvnch/eslint-config

4.0.0 • Public • Published

CI

Purpose

This package contains an opinionated ESLint configuration for vanilla JS, Typescript and TSX for React.

Installation

Assuming your project has already installed the peerDependecies prettier, eslint (and potentially typescript - if not run yarn add --dev eslint typescript prettier), the following steps are necessary:

  1. Run yarn add eslint @dvnch/eslint-config
  2. Create a new file called .eslintrc.json
  3. Paste the following snippet into the file
{
  "extends": ["./node_modules/@dvnch/eslint-config/{YOUR-VERSION}"]
}

Depending on your usecase replace {YOUR-VERSION} with one of the following:

  • javascript.json
  • typescript.json
  • react.json

Readme

Keywords

none

Package Sidebar

Install

npm i @dvnch/eslint-config

Weekly Downloads

1

Version

4.0.0

License

MIT

Unpacked Size

7.51 kB

Total Files

6

Last publish

Collaborators

  • davinch0