forked from NG-ZORRO/ng-zorro-antd
-
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.
chore: adopt prettier code formatter (NG-ZORRO#3129)
* chore: adopt prettier code formatter * chore: add less as ignored * fix: fix tsconfig * fix: unmerged file * fix: lint * fix: lint
- Loading branch information
Showing
746 changed files
with
14,088 additions
and
11,814 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
**/*.md | ||
**/*.svg | ||
**/*.html | ||
**/test.ts | ||
**/*.less | ||
coverage/ | ||
publish/ | ||
site/ | ||
package.json | ||
**/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,14 @@ | ||
{ | ||
"singleQuote": true, | ||
"printWidth": 120, | ||
"tabWidth": 2, | ||
"useTabs": false, | ||
"overrides": [ | ||
{ | ||
"files": ".prettierrc", | ||
"options": { | ||
"parser": "json" | ||
} | ||
} | ||
] | ||
} |
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,20 +1,19 @@ | ||
import { Component } from '@angular/core'; | ||
|
||
@Component({ | ||
selector : 'nz-demo-affix-basic', | ||
template : ` | ||
<nz-affix> | ||
<button nz-button [nzType]="'primary'"> | ||
<span>Affix top</span> | ||
</button> | ||
</nz-affix> | ||
<br> | ||
<nz-affix nzOffsetBottom="0"> | ||
<button nz-button [nzType]="'primary'"> | ||
<span>Affix bottom</span> | ||
</button> | ||
</nz-affix> | ||
selector: 'nz-demo-affix-basic', | ||
template: ` | ||
<nz-affix> | ||
<button nz-button [nzType]="'primary'"> | ||
<span>Affix top</span> | ||
</button> | ||
</nz-affix> | ||
<br /> | ||
<nz-affix nzOffsetBottom="0"> | ||
<button nz-button [nzType]="'primary'"> | ||
<span>Affix bottom</span> | ||
</button> | ||
</nz-affix> | ||
` | ||
}) | ||
export class NzDemoAffixBasicComponent { | ||
} | ||
export class NzDemoAffixBasicComponent {} |
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
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
Oops, something went wrong.