@justinkalland/eslint-ts

2.0.1 • Public • Published

eslint-config-jk-ts

Based on the original eslint-config-jk, this is the same idea but for TypeScript.

The lint setup and config that I use in my TypeScript projects. Basically StandardJS with a little extra, and linting on pre-commit.

JavaScript Style Guide

Setup

One package sets up everything needed for linting:

npm i eslint-config-jk-ts --save-dev
  • Installs eslint
  • Installs the StandardJS eslint configs / plugins
  • Installs the TypeScript esling configs / plugins
  • Adds custom rules and plugins I like
  • Installs husky
  • Installs lint-staged
  • Adds to package.json (if file exsists)
    • Eslint config option
    • Husky hook to lint on pre-commit
    • package script lint (npm run lint)

Readme

Keywords

none

Package Sidebar

Install

npm i @justinkalland/eslint-ts

Weekly Downloads

1

Version

2.0.1

License

MIT

Unpacked Size

7.53 kB

Total Files

13

Last publish

Collaborators

  • justinkalland