@considonet/eslint-config-typescript
v1.2.0
Published
Default ESLint config for ConsidoNet projects using JS, TS and React
Downloads
1
Maintainers
Readme
@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.