-
Notifications
You must be signed in to change notification settings - Fork 842
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Format all TypeScript files with Prettier through TSLint (#1529)
* Format all TypeScript files with Prettier * Switch to double-quotes in JSX
- Loading branch information
1 parent
ee78ca3
commit 4b5987c
Showing
103 changed files
with
1,325 additions
and
1,030 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 |
---|---|---|
@@ -1,5 +1,9 @@ | ||
{ | ||
"printWidth": 100, | ||
"jsxBracketSameLine": true, | ||
"jsxSingleQuote": false, | ||
"parser": "typescript", | ||
"printWidth": 80, | ||
"semi": true, | ||
"singleQuote": true, | ||
"trailingComma": "es5" | ||
"trailingComma": "es5", | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,16 @@ | ||
import React from 'react'; | ||
|
||
import { | ||
EuiScreenReaderOnly, | ||
} from '../../../../src/components/accessibility/screen_reader'; | ||
import { EuiScreenReaderOnly } from '../../../../src/components/accessibility/screen_reader'; | ||
|
||
export default () => ( | ||
<div> | ||
<p> | ||
This is the first paragraph. It is visible to all. | ||
</p> | ||
<p>This is the first paragraph. It is visible to all.</p> | ||
<EuiScreenReaderOnly> | ||
<p> | ||
This is the second paragraph. It is hidden for sighted users but visible to screen readers. | ||
This is the second paragraph. It is hidden for sighted users but visible | ||
to screen readers. | ||
</p> | ||
</EuiScreenReaderOnly> | ||
<p> | ||
This is the third paragraph. It is visible to all. | ||
</p> | ||
<p>This is the third paragraph. It is visible to all.</p> | ||
</div> | ||
); |
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,11 +1,5 @@ | ||
import React from 'react'; | ||
|
||
import { | ||
EuiNotificationBadge, | ||
} from '../../../../src/components/badge/notification_badge'; | ||
import { EuiNotificationBadge } from '../../../../src/components/badge/notification_badge'; | ||
|
||
export default () => ( | ||
<EuiNotificationBadge> | ||
3 | ||
</EuiNotificationBadge> | ||
); | ||
export default () => <EuiNotificationBadge>3</EuiNotificationBadge>; |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,11 @@ | ||
import React from 'react'; | ||
|
||
import { | ||
EuiHorizontalRule, | ||
} from '../../../../src/components/horizontal_rule'; | ||
import { EuiHorizontalRule } from '../../../../src/components/horizontal_rule'; | ||
|
||
export default () => ( | ||
<div> | ||
<EuiHorizontalRule size="quarter"/> | ||
<EuiHorizontalRule size="half"/> | ||
<EuiHorizontalRule size="quarter" /> | ||
<EuiHorizontalRule size="half" /> | ||
<EuiHorizontalRule /> | ||
</div> | ||
); |
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
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.