-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
71 changed files
with
724 additions
and
89 deletions.
There are no files selected for viewing
4 changes: 4 additions & 0 deletions
4
baselines/packages/wotan/test/project/references/default/e/index.ts.lint
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 @@ | ||
import { D } from "../d"; | ||
~~~~~~ [error local/quotemark: Prefer single quotes] | ||
|
||
export class E extends D {} |
4 changes: 4 additions & 0 deletions
4
baselines/packages/wotan/test/project/references/filtered/a/a.ts.lint
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 @@ | ||
export class A {} | ||
// this fixable failure ensures we only lint this project / file once | ||
debugger; | ||
~~~~~~~~~ [error no-debugger: 'debugger' statements are forbidden.] |
2 changes: 2 additions & 0 deletions
2
baselines/packages/wotan/test/project/references/filtered/a/ambient.d.ts.lint
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,2 @@ | ||
declare var someGlobal: "a"; | ||
~~~ [error local/quotemark: Prefer single quotes] |
8 changes: 8 additions & 0 deletions
8
baselines/packages/wotan/test/project/references/filtered/c/index.ts.lint
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,8 @@ | ||
import { B } from "../b"; | ||
~~~~~~ [error local/quotemark: Prefer single quotes] | ||
import { A } from "../a"; | ||
~~~~~~ [error local/quotemark: Prefer single quotes] | ||
|
||
export class C extends B { | ||
prop = new A(); | ||
} |
4 changes: 4 additions & 0 deletions
4
baselines/packages/wotan/test/project/references/filtered/e/index.ts.lint
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 @@ | ||
import { D } from "../d"; | ||
~~~~~~ [error local/quotemark: Prefer single quotes] | ||
|
||
export class E extends D {} |
4 changes: 4 additions & 0 deletions
4
baselines/packages/wotan/test/project/references/missing/missing/y.ts.fix
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 @@ | ||
import { X } from "./x"; | ||
|
||
// this needs two fixer runs and ensures it still resolves to 'x.d.ts' instead of 'x.ts' | ||
new X().prop; |
7 changes: 7 additions & 0 deletions
7
baselines/packages/wotan/test/project/references/missing/missing/y.ts.lint
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,7 @@ | ||
import { X } from "./x"; | ||
~~~~~ [error local/quotemark: Prefer single quotes] | ||
|
||
// this needs two fixer runs and ensures it still resolves to 'x.d.ts' instead of 'x.ts' | ||
<string><string>new X().prop; | ||
~~~~~~~~ [error no-useless-assertion: This assertion is unnecesary as it doesn't change the type of the expression.] | ||
~~~~~~~~ [error no-useless-assertion: This assertion is unnecesary as it doesn't change the type of the expression.] |
4 changes: 4 additions & 0 deletions
4
baselines/packages/wotan/test/project/references/outfile/outfile/b.ts.lint
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 @@ | ||
namespace foo { | ||
console.log("a:", a); | ||
~~~~ [error local/quotemark: Prefer single quotes] | ||
} |
1 change: 1 addition & 0 deletions
1
baselines/packages/wotan/test/project/references/references/a/a.ts.fix
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 @@ | ||
export class A {} |
4 changes: 4 additions & 0 deletions
4
baselines/packages/wotan/test/project/references/references/a/a.ts.lint
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 @@ | ||
export class A {} | ||
// this fixable failure ensures we only lint this project / file once | ||
debugger; | ||
~~~~~~~~~ [error no-debugger: 'debugger' statements are forbidden.] |
2 changes: 2 additions & 0 deletions
2
baselines/packages/wotan/test/project/references/references/a/ambient.d.ts.lint
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,2 @@ | ||
declare var someGlobal: "a"; | ||
~~~ [error local/quotemark: Prefer single quotes] |
2 changes: 2 additions & 0 deletions
2
baselines/packages/wotan/test/project/references/references/a/index.ts.lint
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,2 @@ | ||
export * from "./a"; | ||
~~~~~ [error local/quotemark: Prefer single quotes] |
4 changes: 4 additions & 0 deletions
4
baselines/packages/wotan/test/project/references/references/b/index.tsx.lint
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 @@ | ||
import { A } from "../a"; | ||
~~~~~~ [error local/quotemark: Prefer single quotes] | ||
|
||
export class B extends A {} |
8 changes: 8 additions & 0 deletions
8
baselines/packages/wotan/test/project/references/references/c/index.ts.lint
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,8 @@ | ||
import { B } from "../b"; | ||
~~~~~~ [error local/quotemark: Prefer single quotes] | ||
import { A } from "../a"; | ||
~~~~~~ [error local/quotemark: Prefer single quotes] | ||
|
||
export class C extends B { | ||
prop = new A(); | ||
} |
4 changes: 4 additions & 0 deletions
4
baselines/packages/wotan/test/project/references/references/d/index.ts.lint
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 @@ | ||
import { C } from "../c"; | ||
~~~~~~ [error local/quotemark: Prefer single quotes] | ||
|
||
export class D extends C {} |
4 changes: 4 additions & 0 deletions
4
baselines/packages/wotan/test/project/references/references/e/index.ts.lint
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 @@ | ||
import { D } from "../d"; | ||
~~~~~~ [error local/quotemark: Prefer single quotes] | ||
|
||
export class E extends D {} |
4 changes: 4 additions & 0 deletions
4
baselines/packages/wotan/test/project/references/references/outfile/a.ts.lint
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 @@ | ||
namespace foo { | ||
export const a = "a"; | ||
~~~ [error local/quotemark: Prefer single quotes] | ||
} |
4 changes: 4 additions & 0 deletions
4
baselines/packages/wotan/test/project/references/references/outfile/b.ts.lint
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 @@ | ||
namespace foo { | ||
console.log("a:", a); | ||
~~~~ [error local/quotemark: Prefer single quotes] | ||
} |
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
Oops, something went wrong.