-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Closed
Labels
bugSomething isn't workingSomething isn't workingpackage: eslint-pluginIssues related to @typescript-eslint/eslint-pluginIssues related to @typescript-eslint/eslint-plugin
Description
Repro
{
"rules": {
"@typescript-eslint/no-unused-expressions": "error"
}
}
module MyModule {
'use strict';
}
Expected Result
Should not complain
Actual Result
demo.ts(1,5): error @typescript-eslint/no-unused-expressions :
Expected an assignment or function call and instead saw an expression.
Same problem was happening with no-unused-expressions
from eslint
(but i upgraded to ts-eslint one).
Versions
package | version |
---|---|
@typescript-eslint/eslint-plugin |
2.8.0 |
@typescript-eslint/parser |
2.8.0 |
TypeScript |
3.7.2 |
ESLint |
6.6.0 |
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingpackage: eslint-pluginIssues related to @typescript-eslint/eslint-pluginIssues related to @typescript-eslint/eslint-plugin