Skip to content

eclass/eslint-config-typescript

Repository files navigation

@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

About

eslint shareable config for typescript

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 5