Skip to content

Latest commit

 

History

History
49 lines (36 loc) · 2.43 KB

README.md

File metadata and controls

49 lines (36 loc) · 2.43 KB

@eclass/eslint-config-typescript

npm Node.js CI downloads dependencies Status devDependencies Status peerDependencies Status

This package provides eclass eslint shareable config for typescript.

Plugins and Configuration included

Installation

Install eslint and this package with npm.

npm i -D eslint @eclass/eslint-config-typescript eslint-config-{prettier,standard} eslint-plugin-{array-func,eslint-comments,import,node,prettier,promise,security,sonarjs,standard} @typescript-eslint/{eslint-plugin,parser} prettier

Then add the following configuration to your project's package.json.

"eslintConfig": {
  "extends": "@eclass/eslint-config-typescript"
}

Enable type checking with typescript (slow)

"eslintConfig": {
  "extends": "@eclass/eslint-config-typescript/requiring-type-checking"
}

License

MIT