Skip to content

Commit 77e8f0d

Browse files
afc163zombieJ
authored andcommitted
chore: prettier code (#482)
1 parent e30f3c5 commit 77e8f0d

31 files changed

+86
-81
lines changed

.dumirc.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,5 @@ export default defineConfig({
1919
min-height: 300px;
2020
}
2121
`,
22-
]
22+
],
2323
});

.fatherrc.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ import { defineConfig } from 'father';
22

33
export default defineConfig({
44
plugins: ['@rc-component/father-plugin'],
5-
});
5+
});

.github/dependabot.yml

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,30 @@
11
version: 2
22
updates:
3-
- package-ecosystem: npm
4-
directory: "/"
5-
schedule:
6-
interval: daily
7-
time: "21:00"
8-
open-pull-requests-limit: 10
9-
ignore:
10-
- dependency-name: np
11-
versions:
12-
- 7.2.0
13-
- 7.3.0
14-
- 7.4.0
15-
- dependency-name: "@types/react-dom"
16-
versions:
17-
- 17.0.0
18-
- 17.0.1
19-
- 17.0.2
20-
- dependency-name: "@types/react"
21-
versions:
22-
- 17.0.0
23-
- 17.0.1
24-
- 17.0.2
25-
- 17.0.3
26-
- dependency-name: typescript
27-
versions:
28-
- 4.1.3
29-
- 4.1.4
30-
- 4.1.5
3+
- package-ecosystem: npm
4+
directory: '/'
5+
schedule:
6+
interval: daily
7+
time: '21:00'
8+
open-pull-requests-limit: 10
9+
ignore:
10+
- dependency-name: np
11+
versions:
12+
- 7.2.0
13+
- 7.3.0
14+
- 7.4.0
15+
- dependency-name: '@types/react-dom'
16+
versions:
17+
- 17.0.0
18+
- 17.0.1
19+
- 17.0.2
20+
- dependency-name: '@types/react'
21+
versions:
22+
- 17.0.0
23+
- 17.0.1
24+
- 17.0.2
25+
- 17.0.3
26+
- dependency-name: typescript
27+
versions:
28+
- 4.1.3
29+
- 4.1.4
30+
- 4.1.5

.github/workflows/codeql.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
name: "CodeQL"
1+
name: 'CodeQL'
22

33
on:
44
push:
5-
branches: [ "master" ]
5+
branches: ['master']
66
pull_request:
7-
branches: [ "master" ]
7+
branches: ['master']
88
schedule:
9-
- cron: "40 12 * * 0"
9+
- cron: '40 12 * * 0'
1010

1111
jobs:
1212
analyze:
@@ -20,7 +20,7 @@ jobs:
2020
strategy:
2121
fail-fast: false
2222
matrix:
23-
language: [ javascript ]
23+
language: [javascript]
2424

2525
steps:
2626
- name: Checkout
@@ -38,4 +38,4 @@ jobs:
3838
- name: Perform CodeQL Analysis
3939
uses: github/codeql-action/analyze@v2
4040
with:
41-
category: "/language:${{ matrix.language }}"
41+
category: '/language:${{ matrix.language }}'

HISTORY.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# History
2-
----
2+
3+
---
34

45
## 4.1.0 / 2020-05-08
56

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -39,25 +39,26 @@ import React from 'react';
3939
import ReactDOM from 'react-dom';
4040
import Trigger from '@rc-component/trigger';
4141

42-
ReactDOM.render((
42+
ReactDOM.render(
4343
<Trigger
4444
action={['click']}
4545
popup={<span>popup</span>}
4646
popupAlign={{
4747
points: ['tl', 'bl'],
48-
offset: [0, 3]
48+
offset: [0, 3],
4949
}}
5050
>
51-
<a href='#'>hover</a>
52-
</Trigger>
53-
), container);
51+
<a href="#">hover</a>
52+
</Trigger>,
53+
container,
54+
);
5455
```
5556

5657
## Compatibility
5758

5859
| [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/edge/edge_48x48.png" alt="IE / Edge" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)<br>IE / Edge | [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/firefox/firefox_48x48.png" alt="Firefox" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)<br>Firefox | [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/chrome/chrome_48x48.png" alt="Chrome" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)<br>Chrome | [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/safari/safari_48x48.png" alt="Safari" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)<br>Safari | [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/electron/electron_48x48.png" alt="Electron" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)<br>Electron |
59-
| --- | --- | --- | --- | --- |
60-
| IE11, Edge | last 2 versions | last 2 versions | last 2 versions | last 2 versions |
60+
| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
61+
| IE11, Edge | last 2 versions | last 2 versions | last 2 versions | last 2 versions |
6162

6263
## Example
6364

@@ -243,7 +244,6 @@ npm start
243244
</tbody>
244245
</table>
245246

246-
247247
## Test Case
248248

249249
```

assets/index/Mask.less

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@
2222
animation-timing-function: cubic-bezier(0.55, 0, 0.55, 0.2);
2323
}
2424

25-
&-fade-enter,&-fade-appear {
25+
&-fade-enter,
26+
&-fade-appear {
2627
opacity: 0;
2728
.fade-effect();
2829
animation-play-state: paused;
@@ -33,7 +34,8 @@
3334
animation-play-state: paused;
3435
}
3536

36-
&-fade-enter&-fade-enter-active,&-fade-appear&-fade-appear-active {
37+
&-fade-enter&-fade-enter-active,
38+
&-fade-appear&-fade-appear-active {
3739
animation-name: rcTriggerMaskFadeIn;
3840
animation-play-state: running;
3941
}

docs/demos/body-overflow.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ nav:
55
path: /demo
66
---
77

8-
<code src="../examples/body-overflow.tsx"></code>
8+
<code src="../examples/body-overflow.tsx"></code>

docs/demos/case.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ nav:
55
path: /demo
66
---
77

8-
<code src="../examples/case.tsx"></code>
8+
<code src="../examples/case.tsx"></code>

docs/demos/click-nested.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ nav:
55
path: /demo
66
---
77

8-
<code src="../examples/click-nested.tsx"></code>
8+
<code src="../examples/click-nested.tsx"></code>

0 commit comments

Comments
 (0)