0.2.1 • Published 2 years ago

@fellwork/eslint-config v0.2.1

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

fellwork/eslint-config

Shared configuration for ESLint.

Features

Default parsers

Default configuration includes plugins/config for the following:

Usage

First, install the required packages:

yarn add -D eslint @fellwork/eslint-config

pnpm add -D eslint @fellwork/eslint-config

npm i --save-dev eslint @fellwork/eslint-config

For TypeScript projects, also install TypeScript:

yarn add -D typescript

pnpm add -D typescript

npm i --save-dev typescript

JSON: extend the config in .eslintrc.json:

{
  "extends": "@fellwork"
}

JS: extend the config in .eslintrc.js:

module.exports = {
  extends: ['@fellwork']
}