This repository has been archived by the owner on Jan 19, 2019. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 75
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Breaking: Implement parseForESLint() function (#412)
- Loading branch information
1 parent
04e948f
commit aec31cb
Showing
13 changed files
with
337 additions
and
3,259 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 21 additions & 0 deletions
21
tests/integration/external-fixtures/declared-empty-body-functions.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
"use strict"; | ||
|
||
declare namespace FF { | ||
class Foo extends Bar.Baz { | ||
far(): any; | ||
} | ||
} | ||
|
||
declare module "FF" { | ||
class Foo extends Bar.Baz { | ||
far(): any; | ||
} | ||
} | ||
|
||
declare class Foo extends Bar.Baz { | ||
far(): any; | ||
} | ||
|
||
declare namespace d3 { | ||
export function select(selector: string): Selection<any>; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
/** | ||
* @a | ||
*/ | ||
foo; | ||
|
||
/** | ||
* @a | ||
*/ | ||
/** | ||
* a | ||
*/ | ||
foo; |
14 changes: 14 additions & 0 deletions
14
tests/integration/external-fixtures/no-redeclare-overloaded-functions.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
export async function readFile( | ||
filename: string, | ||
options?: { flag?: string } | ||
): Promise<Buffer> | ||
export async function readFile( | ||
filename: string, | ||
options?: { encoding: BufferEncoding; flag?: string } | ||
): Promise<string> | ||
export async function readFile( | ||
filename: string, | ||
options?: { encoding?: string; flag?: string } | ||
): Promise<Buffer | string> { | ||
// ... | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
class a { | ||
/** @b {} c */ | ||
d = e => {} | ||
} |
Oops, something went wrong.