-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[prettierx] test even more cases on all Babel parsers
(in prettierx-rebase-branch-001) for improved consistency with prettierX 0.18.x
- Loading branch information
Showing
26 changed files
with
190 additions
and
160 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
run_spec(__dirname, ["babel", "flow", "typescript"], { | ||
// [prettierx] test with all Babel parsers | ||
// (babel-ts is normally included with typescript by default) | ||
run_spec(__dirname, ["babel", "babel-flow", "flow", "typescript"], { | ||
errors: { espree: ["like-regexp.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
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 |
---|---|---|
@@ -1,5 +1,7 @@ | ||
run_spec(__dirname, ["babel", "flow", "typescript"]); | ||
// [prettierx] test with all Babel parsers | ||
// (babel-ts is normally included with typescript by default) | ||
run_spec(__dirname, ["babel", "babel-flow", "flow", "typescript"]); | ||
// [prettierx]: broken-out bracket spacing options | ||
run_spec(__dirname, ["babel", "flow", "typescript"], { | ||
run_spec(__dirname, ["babel", "babel-flow", "flow", "typescript"], { | ||
objectCurlySpacing: false, | ||
}); |
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 |
---|---|---|
@@ -1 +1,3 @@ | ||
run_spec(__dirname, ["babel", "flow", "typescript"]); | ||
// [prettierx] test with all Babel parsers | ||
// (babel-ts is normally included with typescript by default) | ||
run_spec(__dirname, ["babel", "babel-flow", "flow", "typescript"]); |
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 |
---|---|---|
@@ -1 +1,3 @@ | ||
run_spec(__dirname, ["babel"]); | ||
// [prettierx] test with all Babel parsers | ||
// [TBD] Skip flow & typescript for now due to differences in the snapshot) | ||
run_spec(__dirname, ["babel", "babel-flow", "babel-ts"]); |
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 |
---|---|---|
@@ -1 +1,3 @@ | ||
run_spec(__dirname, ["babel", "flow", "typescript"]); | ||
// [prettierx] test with all Babel parsers | ||
// (babel-ts is normally included with typescript by default) | ||
run_spec(__dirname, ["babel", "babel-flow", "flow", "typescript"]); |
Oops, something went wrong.