-
Notifications
You must be signed in to change notification settings - Fork 459
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: make sure to test prettier 3 also on configuration parts
- Loading branch information
Showing
9 changed files
with
83 additions
and
20 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,2 +1,2 @@ | ||
parser: typescript | ||
printWidth: 50 | ||
printWidth: 20 |
18 changes: 18 additions & 0 deletions
18
testlib/src/main/resources/npm/prettier/config/typescript.configfile_prettier_2.clean
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,18 @@ | ||
export class MyVeryOwnControllerWithARatherLongNameThatIsNotReallyNecessary | ||
extends AbstractController | ||
implements | ||
DisposeAware, | ||
CallbackAware | ||
{ | ||
public myValue: string[]; | ||
|
||
constructor( | ||
private myService: Service, | ||
name: string, | ||
private field: any | ||
) { | ||
super(name); | ||
} | ||
|
||
//... | ||
} |
18 changes: 18 additions & 0 deletions
18
testlib/src/main/resources/npm/prettier/config/typescript.configfile_prettier_3.clean
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,18 @@ | ||
export class MyVeryOwnControllerWithARatherLongNameThatIsNotReallyNecessary | ||
extends AbstractController | ||
implements | ||
DisposeAware, | ||
CallbackAware | ||
{ | ||
public myValue: string[]; | ||
|
||
constructor( | ||
private myService: Service, | ||
name: string, | ||
private field: any, | ||
) { | ||
super(name); | ||
} | ||
|
||
//... | ||
} |
File renamed without changes.
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
File renamed without changes.
13 changes: 13 additions & 0 deletions
13
testlib/src/main/resources/npm/prettier/config/typescript.override_prettier_3.clean
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,13 @@ | ||
export class MyVeryOwnControllerWithARatherLongNameThatIsNotReallyNecessary extends AbstractController implements DisposeAware, CallbackAware { | ||
public myValue: string[]; | ||
|
||
constructor( | ||
private myService: Service, | ||
name: string, | ||
private field: any, | ||
) { | ||
super(name); | ||
} | ||
|
||
//... | ||
} |
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