1.2.0 • Published 5 years ago

@considonet/eslint-config-typescript v1.2.0

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

@considonet/eslint-config-typescript

Default ESLint config for ConsidoNet projects using JS, TS and React

What is this?

This config was created to provide a common linting setup for ConsidoNet projects. This config works well with ES6 JavaScript, TypeScript and React (JSX, TSX) files.

You can read more about transition from tslint to eslint here.

Installation

Using npm:

npm install --save-dev @considonet/eslint-config-typescript

or using yarn:

yarn add @considonet/eslint-config-typescript --dev

Usage

In your .eslintrc file add the following line:

extends: "@considonet/eslint-config-typescript"

Make sure to have tsconfig.json file in your project root directory (where package.json is). Otherwise this config won't work.