Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

eslint-config-kasko-typescript-base

kasko20UNLICENSED2.0.0

KASKO eslint typescript base configuration

readme

KASKO eslint typescript base configuration

Base configuration:

Installation

yarn add -D eslint-config-kasko-typescript-base

Usage

.eslintrc file in root directory:

{
  "extends": [
    "kasko-typescript-base"
  ]
}

Upgrading

If you are adding this eslint configuration to an existing project, it may raise a lot of linting errors. Most of them can be auto-fixed by eslint.

./node_modules/.bin/eslint src/

changelog

Changelog

v1.2.0 (2020-10-23)

Feature

  • Adds rule for delimiting interface and type members

v1.1.1 (2020-09-23)

Bugfix

  • Added rule for required trailing commas

v1.1.0 (2020-09-15)

Feature

  • Allow to use ternary operators in expressions similarly to short circuit evaluations
  • Disable unsued variables rule for variables whose names begin with an underscore
  • Disable global require rule

v1.0.0 (2020-09-10)

Feature

  • Initial version of the KASKO eslint typescript configuration