0.6.1 • Published 5 years ago

@alza54/eslint-config-typescript v0.6.1

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

@alza54/eslint-config-typescript

shellcode.team Build Status shellcode-styleguide

Shareable configuration for eslint.

The main idea of this configuration is to:

  1. Be opinionated
  2. Be strict about syntax and secure by default
  3. Enforce best-practices
  4. Be nice for developer and pleasant to work with.

The goal of this project is to be nicer version of wemake-frontend-styleguide.

Warning: this configuration has a very personal character.

Installation

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

or yarn

yarn add -D @alza54/eslint-config-typescript 

Then, modify your eslint configuration:

{
  "extends": [
    "@alza54/typescript/base"
  ]
}

It's highly advised to use the recommended (more opinionated) config, which relies on Typescript's AST:

{
  "extends": [
    "@alza54/typescript/recommended"
  ]
}

Or option configuration "strict", which is even more strict, but requires your code to compile:

{
  "extends": [
    "@alza54/typescript/strict"
  ]
}

You can also extend config for eslint-plugin-import, but usage of this plugin is not recommended by typescript-eslint.

{
  "extends": [
    "@alza54/typescript/import",
    "@alza54/typescript/recommended"
  ]
}

Done! Later you can modify your configuration to include any extra rules you need.

License

MIT.

0.6.1

5 years ago

0.6.0

5 years ago

0.3.0

5 years ago

0.4.5

5 years ago

0.4.4

5 years ago

0.4.7

5 years ago

0.4.6

5 years ago

0.5.0

5 years ago

0.4.1

5 years ago

0.4.0

5 years ago

0.4.3

5 years ago

0.4.2

5 years ago

0.2.3-alpha.0

5 years ago

0.2.2-alpha.0

5 years ago

0.2.1-alpha.0

5 years ago

0.2.0-alpha.0

5 years ago