-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Closed
Labels
bugSomething isn't workingSomething isn't workingenhancement: new base rule extensionNew base rule extension required to handle a TS specific caseNew base rule extension required to handle a TS specific casepackage: eslint-pluginIssues related to @typescript-eslint/eslint-pluginIssues related to @typescript-eslint/eslint-plugin
Description
What code were you trying to parse?
export default interface test {}
What did you expect to happen?
semi
should ignore the interface block.
What actually happened?
semi
wants a semicolon after the block, which then triggers the no-extra-semi
rule.
It works fine without default
:
export interface test1 {}
interface test2 {}
Versions
package | version |
---|---|
@typescript-eslint/parser |
1.0.0 |
TypeScript |
3.2.4 |
ESLint |
5.12.1 |
node |
11.7.0 |
npm |
6.5.0 |
loginov-rocks, glassdimly, ColinBradleyDriveWorks, vectronic, Ruluk and 12 more
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingenhancement: new base rule extensionNew base rule extension required to handle a TS specific caseNew base rule extension required to handle a TS specific casepackage: eslint-pluginIssues related to @typescript-eslint/eslint-pluginIssues related to @typescript-eslint/eslint-plugin