@amollo-lint/eslint-config-ts

3.0.0 • Public • Published

@amollo-lint/eslint-config-ts

MIT License npm version

ESLint rules for TypeScript

Note: This package was not developed on demand for general use, the rules that are configured in it refer to the use of specific projects for the needs of the owner. Use it if you need such rules for your linter

Installation

  • npm
npm install --save-dev @amollo-lint/eslint-config-ts eslint typescript
  • yarn
yarn add -D @amollo-lint/eslint-config-ts eslint typescript

Usage

Create a tsconfig.json file:

$ tsc --init

Set your eslint config to:

{
    "extends": "@amollo-lint/eslint-config-ts",
    "parserOptions": {
        "project": "tsconfig.json"
    }
}

Extends

  • @amollo-lint/eslint-config-js
  • @typescript-eslint/eslint-plugin
  • @typescript-eslint/parser

Package Sidebar

Install

npm i @amollo-lint/eslint-config-ts

Weekly Downloads

8

Version

3.0.0

License

MIT

Unpacked Size

5.98 kB

Total Files

4

Last publish

Collaborators

  • amollo