2.1.7 • Published 2 years ago

@pocket-tools/eslint-config v2.1.7

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
2 years ago

ESLint (and Prettier) config

These are settings for ESLint and Prettier used by Pocket.

What it does

This setup lints your Typescript code based on best practices. Check the .eslintrc.js file to see what is included. Feel free to override the rules that make sense for you.

Installing

  1. In your project folder, run:
npm i -D @pocket-tools/eslint-config # or yarn install --dev @pocket-tools/eslint-config 
npx install-peerdeps --dev @pocket-tools/eslint-config
  1. You will see several dependencies were installed. Now, create (or update) a .eslintrc file with the following content:
{
  'extends': '@pocket-tools/eslint-config'
}
  1. Copy the .prettierrc file from this repository into your project folder

This repository is inspired by eslint-config-wesbos.

2.1.2

2 years ago

2.1.1

2 years ago

2.1.4

2 years ago

2.1.3

2 years ago

2.1.6

2 years ago

2.1.5

2 years ago

2.1.7

2 years ago

2.1.0

2 years ago

2.0.0

3 years ago

1.1.0

3 years ago

1.0.0

3 years ago