@ravorona/eslint-config-typescript

ESLint configuration for Typescript


Keywords
ravorona, eslint, eslintconfig, typescript
License
MIT
Install
npm install @ravorona/eslint-config-typescript@2.0.0

Documentation

ESLint configuration

Typescript style guide using ESLint

Install

Yarn:

yarn add -D \
    @ravorona/eslint-config \
    @ravorona/eslint-config-typescript \
    eslint \
    typescript \
    @typescript-eslint/parser \
    @typescript-eslint/eslint-plugin

NPM:

npm i --save-dev \
    @ravorona/eslint-config \
    @ravorona/eslint-config-typescript \
    eslint \
    typescript \
    @typescript-eslint/parser \
    @typescript-eslint/eslint-plugin

Usage

Set extends property inside your ESLint configuration

{
    "extends": "@ravorona/typescript",
    "rules": {
        "@typescript-eslint/ban-ts-ignore": "on"
    }
}

Typescript supported rules: Here