forked from ember-cli/eslint-plugin-ember
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add type aware lint fail reproduction
- Loading branch information
stefanoviv
committed
Nov 12, 2023
1 parent
90d1fc4
commit 70235ac
Showing
5 changed files
with
93 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
export const fortyTwoFromGTS = '42'; | ||
|
||
<template> | ||
{{fortyTwoFromGTS}} | ||
</template> |
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 const fortyTwoFromTS = '42'; |
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 @@ | ||
import { fortyTwoFromGTS } from './bar.gts'; | ||
import { fortyTwoFromTS } from './baz.ts'; | ||
|
||
export const fortyTwoLocal = '42'; | ||
|
||
const helloWorldFromGTS = fortyTwoFromGTS[0] === '4' ? 'hello' : 'world'; | ||
const helloWorldFromTS = fortyTwoFromTS[0] === '4' ? 'hello' : 'world'; | ||
const helloWorld = fortyTwoLocal[0] === '4' ? 'hello' : 'world'; | ||
|
||
<template> | ||
{{helloWorld}} | ||
{{helloWorldFromTS}} | ||
{{helloWorldFromGTS}} | ||
</template> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,6 +5,6 @@ | |
"strictNullChecks": true | ||
}, | ||
"include": [ | ||
"*" | ||
"**/*" | ||
] | ||
} |