[init-declarations] eslint's JS version of this rule does not handle the case of TS declaration statements. We need a TS version of this rule. #1811
Labels
enhancement: new base rule extension
New base rule extension required to handle a TS specific case
has pr
there is a PR raised to close this
package: eslint-plugin
Issues related to @typescript-eslint/eslint-plugin
eslint's init-declarations rule.
Repro
Expected Result
Type declarations should not cause an eslint rule violation.
Actual Result
The
init-declarations
rule raises a violation.Additional Info
Versions
@typescript-eslint/eslint-plugin
2.25.0
@typescript-eslint/parser
2.25.0
TypeScript
3.8.3
ESLint
6.8.0
node
12.4.0
npm
6.13.5
The text was updated successfully, but these errors were encountered: