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
Labels
accepting prsGo ahead, send a pull request that resolves this issueenhancement: new base rule extensionNew base rule extension required to handle a TS specific caseformattingRelated to whitespace/bracket formatting. We strongly recommend you use a formatter instead.package: eslint-pluginIssues related to @typescript-eslint/eslint-plugin
Description
Instruction
- Clone a repository:
git clone https://gitlab.com/valentineus/typescript-eslint-example.git
- Install dependencies:
npm install
- Run a test:
npm run lint
Code to check:
interfaceITesstInterfase{key:string;}typeTestType=()=>void;constvariable1:TestType=()=>{console.log("Hello, World!");};variable1();
Enabled all ruleseslint and@typescript-eslint/eslint-plugin.
On line 1, missing spaces around interfaceITesstInterfase.
On line 5, missing spaces around sign=.
Are there any rules governing such cases?
| package | version |
|---|---|
@typescript-eslint/eslint-plugin | 2.19.2 |
@typescript-eslint/parser | 2.19.2 |
eslint | 6.8.0 |
Metadata
Metadata
Assignees
Labels
accepting prsGo ahead, send a pull request that resolves this issueenhancement: new base rule extensionNew base rule extension required to handle a TS specific caseformattingRelated to whitespace/bracket formatting. We strongly recommend you use a formatter instead.package: eslint-pluginIssues related to @typescript-eslint/eslint-plugin