committed by
GitHub
39 changed files with 1927 additions and 271 deletions
@ -0,0 +1,20 @@ |
|||
name: 🏥 React Doctor |
|||
|
|||
on: push |
|||
|
|||
permissions: |
|||
contents: read |
|||
pull-requests: write |
|||
|
|||
jobs: |
|||
react-doctor: |
|||
runs-on: ubuntu-latest |
|||
steps: |
|||
- uses: actions/checkout@v6 |
|||
- uses: actions/setup-node@v5 |
|||
with: |
|||
node-version: 22 |
|||
- uses: millionco/react-doctor@main |
|||
with: |
|||
diff: true |
|||
github-token: ${{ secrets.GITHUB_TOKEN }} |
|||
File diff suppressed because it is too large
@ -0,0 +1,21 @@ |
|||
{ |
|||
"ignore": { |
|||
"files": [ |
|||
"config/**", |
|||
"mock/**", |
|||
"public/**", |
|||
"scripts/**", |
|||
"types/**", |
|||
"cloudflare-worker/**", |
|||
"src/.umi*/**", |
|||
"src/services/**", |
|||
"src/service-worker.js", |
|||
"**/_mock.ts", |
|||
"**/*.md", |
|||
"**/*.less", |
|||
"**/*.css" |
|||
] |
|||
}, |
|||
"failOn": "error", |
|||
"adoptExistingLintConfig": true |
|||
} |
|||
@ -0,0 +1,20 @@ |
|||
import { createStyles } from 'antd-style'; |
|||
|
|||
const useStyles = createStyles({ |
|||
tooltip: { |
|||
position: 'absolute', |
|||
background: '#fff', |
|||
color: '#334155', |
|||
padding: '8px 12px', |
|||
borderRadius: '8px', |
|||
fontSize: '12px', |
|||
border: '1px solid #e2e8f0', |
|||
boxShadow: '0 2px 8px rgba(0,0,0,0.08)', |
|||
pointerEvents: 'none', |
|||
opacity: 0, |
|||
transition: 'opacity 0.2s', |
|||
zIndex: 10, |
|||
}, |
|||
}); |
|||
|
|||
export default useStyles; |
|||
Loading…
Reference in new issue