/eslint-config-typescript

eslint shareable config for typescript

Primary LanguageJavaScriptMIT LicenseMIT

@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