1.0.2 • Published 6 years ago
eslint-config-rohan-jalil v1.0.2
ESLint config for TypeScript
A shareable ESLint config for TypeScript projects.
Development
Run npm install to install the project dependencies.
Publishing a new version
- Run
npm version patch(replacepatchas necessary) to increase the version number. - Run
git push && git push --tagsto push the version commit and tag. - Run
npm publishto publish the new version.
Unused rules
Has issues
@typescript-eslint/no-extraneous-class@typescript-eslint/no-floating-promises@typescript-eslint/no-unnecessary-condition@typescript-eslint/strict-boolean-expressions@typescript-eslint/unbound-method
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-vars–noUnusedLocalsandnoUnusedParameters.@typescript-eslint/typedef–noImplicitAny.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
@typescript-eslint/ban-types@typescript-eslint/member-naming@typescript-eslint/member-ordering