Open iduuck opened 3 years ago
I would like to suggest some more rules for usage with typescript:
error
@typescript/array-type
@typescript-eslint/no-explicit-any
@typescript-eslint/no-unnecessary-condition
@typescript-eslint/prefer-string-starts-ends-with
warn
@typescript/ban-ts-comment
I would like to suggest some more rules for usage with typescript:
Type:
error
@typescript/array-type
: https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/array-type.md@typescript-eslint/no-explicit-any
: https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/no-explicit-any.md@typescript-eslint/no-unnecessary-condition
: https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/no-unnecessary-condition.md@typescript-eslint/prefer-string-starts-ends-with
: https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/prefer-string-starts-ends-with.mdType:
warn
@typescript/ban-ts-comment
: https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/ban-ts-comment.md