1.0.2 • Published 4 years ago

eslint-config-rohan-jalil v1.0.2

Weekly downloads
-
License
UNLICENSED
Repository
-
Last release
4 years ago

ESLint config for TypeScript

A shareable ESLint config for TypeScript projects.

Development

Run npm install to install the project dependencies.

Publishing a new version

  1. Run npm version patch (replace patch as necessary) to increase the version number.
  2. Run git push && git push --tags to push the version commit and tag.
  3. Run npm publish to publish the new version.

Unused rules

Has issues

Too strict

  • @typescript-eslint/no-extra-parens – extra parentheses sometimes aid readability.
  • @typescript-eslint/no-magic-numbers – difficult to follow, especially in existing projects.
  • @typescript-eslint/no-type-alias – partly handled by @typescript-eslint/consistent-type-definitions.
  • @typescript-eslint/prefer-readonly – team decision.

Handled by TypeScript

  • @typescript-eslint/no-unused-varsnoUnusedLocals and noUnusedParameters.
  • @typescript-eslint/typedefnoImplicitAny.
  • getter-return – ts(2378).
  • no-dupe-args – ts(2300).
  • no-dupe-keys – ts(1117).
  • no-func-assign – ts(2539).
  • no-import-assign – ts(2539).
  • no-unreachable – ts(7027).
  • valid-typeof – ts(2367).

Unnecessary

  • no-async-promise-executor – unnecessary with @typescript-eslint/no-misused-promises.

Used rules with issues