-
Notifications
You must be signed in to change notification settings - Fork 461
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test prettier configuration behavior
- Loading branch information
Showing
6 changed files
with
84 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
2 changes: 2 additions & 0 deletions
2
lib-extra/src/test/resources/npm/prettier/config/.prettierrc.yml
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 @@ | ||
parser: typescript | ||
printWidth: 50 |
15 changes: 15 additions & 0 deletions
15
lib-extra/src/test/resources/npm/prettier/config/typescript.configfile.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,15 @@ | ||
export class MyVeryOwnControllerWithARatherLongNameThatIsNotReallyNecessary | ||
extends AbstractController | ||
implements DisposeAware, CallbackAware { | ||
public myValue: string[]; | ||
|
||
constructor( | ||
private myService: Service, | ||
name: string, | ||
private field: any | ||
) { | ||
super(name); | ||
} | ||
|
||
//... | ||
} |
11 changes: 11 additions & 0 deletions
11
lib-extra/src/test/resources/npm/prettier/config/typescript.defaults.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,11 @@ | ||
export class MyVeryOwnControllerWithARatherLongNameThatIsNotReallyNecessary | ||
extends AbstractController | ||
implements DisposeAware, CallbackAware { | ||
public myValue: string[]; | ||
|
||
constructor(private myService: Service, name: string, private field: any) { | ||
super(name); | ||
} | ||
|
||
//... | ||
} |
10 changes: 10 additions & 0 deletions
10
lib-extra/src/test/resources/npm/prettier/config/typescript.dirty
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 @@ | ||
export class MyVeryOwnControllerWithARatherLongNameThatIsNotReallyNecessary extends AbstractController implements DisposeAware, CallbackAware { | ||
|
||
|
||
public myValue:string[]; | ||
|
||
constructor(private myService:Service,name:string,private field:any){ super(name) ;} | ||
|
||
|
||
//... | ||
} |
9 changes: 9 additions & 0 deletions
9
lib-extra/src/test/resources/npm/prettier/config/typescript.override.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,9 @@ | ||
export class MyVeryOwnControllerWithARatherLongNameThatIsNotReallyNecessary extends AbstractController implements DisposeAware, CallbackAware { | ||
public myValue: string[]; | ||
|
||
constructor(private myService: Service, name: string, private field: any) { | ||
super(name); | ||
} | ||
|
||
//... | ||
} |