-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make JS Lints have lower severity (#8837)
This hides them from Next.js for now I'll add a test case for Next.js as well Closes PACK-2877
- Loading branch information
Showing
11 changed files
with
49 additions
and
39 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
2 changes: 1 addition & 1 deletion
2
...import(FreeVar(Math)[__quo__ra-fcce98.txt → ...import(FreeVar(Math)[__quo__ra-955b10.txt
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
2 changes: 1 addition & 1 deletion
2
...require(FreeVar(Math)[__quo__r-fa7bb4.txt → ...require(FreeVar(Math)[__quo__r-2fe3ef.txt
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
12 changes: 0 additions & 12 deletions
12
...request/very-dynamic/issues/__l___lint TP1004__ fs.readFileSync(FreeVar(Math)[-45dc7a.txt
This file was deleted.
Oops, something went wrong.
12 changes: 12 additions & 0 deletions
12
...request/very-dynamic/issues/__l___lint TP1004__ fs.readFileSync(FreeVar(Math)[-4d16cb.txt
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 @@ | ||
[92;4msuggestion - [analysis] [project]/crates/turbopack-tests/tests/snapshot/dynamic-request/very-dynamic/input/index.js /crates/turbopack-tests/tests/snapshot/dynamic-request/very-dynamic/input/index.js:15:0 lint TP1004 fs.readFileSync(FreeVar(Math)["random"]()) is very dynamic | ||
|
||
11 | | ||
12 | import(unknown); | ||
13 | | ||
14 | fs.readFileSync(unknown); | ||
+ v-------------------v | ||
15 + readFileSync(unknown); | ||
+ ^-------------------^ | ||
16 | | ||
17 | new URL(unknown, import.meta.url); | ||
18 | |
2 changes: 1 addition & 1 deletion
2
...fs.readFileSync(FreeVar(Math)[-d5af53.txt → ...fs.readFileSync(FreeVar(Math)[-95872b.txt
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
2 changes: 1 addition & 1 deletion
2
...child_process.spawnSync(FreeVa-fa7b47.txt → ...child_process.spawnSync(FreeVa-865e8b.txt
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
2 changes: 1 addition & 1 deletion
2
...5__ child_process.spawnSync(__-a30479.txt → ...5__ child_process.spawnSync(__-20e03e.txt
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
2 changes: 1 addition & 1 deletion
2
...child_process.spawnSync(__quo_-a93044.txt → ...child_process.spawnSync(__quo_-9f6b1d.txt
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
10 changes: 10 additions & 0 deletions
10
...request/very-dynamic/issues/__l___lint TP1201__ new URL(Variable(unknown##2), -2b31a0.txt
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,10 @@ | ||
[92;4msuggestion - [analysis] [project]/crates/turbopack-tests/tests/snapshot/dynamic-request/very-dynamic/input/index.js /crates/turbopack-tests/tests/snapshot/dynamic-request/very-dynamic/input/index.js:17:0 lint TP1201 new URL(Variable(unknown##2), import.meta.url) is very dynamic | ||
|
||
13 | | ||
14 | fs.readFileSync(unknown); | ||
15 | readFileSync(unknown); | ||
16 | | ||
+ v-------------------------------v | ||
17 + new URL(unknown, import.meta.url); | ||
+ ^-------------------------------^ | ||
18 | |
10 changes: 0 additions & 10 deletions
10
...request/very-dynamic/issues/__l___lint TP1201__ new URL(Variable(unknown##2), -f5ba3f.txt
This file was deleted.
Oops, something went wrong.