@cookielab.io/eslint-config-typescript

7.8.1 • Public • Published

Cookielab's ESLint config for TypeScript

This package contains ESLint configuration for our code style.

The code-style tries to be as strict and defensive as possible to avoid unwanted side-effects and increase code readability.

Installation

First add package as dev-dependency

npm install --save-dev @cookielab.io/eslint-config-typescript

or

yarn add --dev @cookielab.io/eslint-config-typescript

Set up .eslintrc.json in your project's root to extend our package.

{
	"extends": "@cookielab.io/eslint-config-typescript"
}

Run tests

Package contains tests to ensure all available rules are explicitly set for each environment.

bin/jest

It is also checked by its own plain ESlint set of rules.

bin/lint

Package Sidebar

Install

npm i @cookielab.io/eslint-config-typescript

Weekly Downloads

22

Version

7.8.1

License

MIT

Unpacked Size

51.8 kB

Total Files

8

Last publish

Collaborators

  • sodae
  • markatom
  • stekycz
  • vrtak-cz
  • clbbot