Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork2.8k
Closed
Description
Repro
{"rules": {"@typescript/no-useless-constructor":"error" }}
classC{constructor(readonlyx){}}
Expected Result
No error.
Actual Result
Useless constructor.eslint(no-useless-constructor)
Additional Info
Versions
package | version |
---|---|
@typescript-eslint/eslint-plugin | 1.2.0 |
@typescript-eslint/parser | 1.4.2 |
TypeScript | 3.3.3333 |
ESLint | 5.15.1 |
node | 6.7.0 |
npm | 11.1.0 |