Conversation
|
dcdbae4 to
bd9bd3c
Compare
|
Deploy preview for alauda-chart ready! ✅ Preview Built with commit 64b2530. |
12d64d9 to
31b683e
Compare
d5abc6d to
07ec46f
Compare
8ebf801 to
432d287
Compare
| if (seriesIdx === 1) { | ||
| hRect = null; | ||
|
|
||
| const cx = u.cursor.left * pxRatio; |
Check warning
Code scanning / CodeQL
Implicit operand conversion
| hRect = null; | ||
|
|
||
| const cx = u.cursor.left * pxRatio; | ||
| const cy = u.cursor.top * pxRatio; |
Check warning
Code scanning / CodeQL
Implicit operand conversion
src/components/scale.ts
Outdated
| auto: notAuto, | ||
| range: (_u: uPlot, dataMin: number, dataMax: number) => { | ||
| const minV = min | ||
| ? Math.max(dataMin, min || 0) |
Check warning
Code scanning / CodeQL
Useless conditional
src/components/scale.ts
Outdated
| range: (_u: uPlot, dataMin: number, dataMax: number) => { | ||
| const minV = min | ||
| ? Math.max(dataMin, min || 0) | ||
| : Math.min(dataMin, min || 0); |
Check warning
Code scanning / CodeQL
Useless conditional
| if (!titleFormatter) { | ||
| this.title.text(context.title as string); | ||
| return; | ||
| let tpl: string = title || NOT_AVAILABLE; |
Check warning
Code scanning / CodeQL
Useless conditional
.gitignore
Outdated
| .vercel | ||
| .*cache | ||
| *.tsbuildinfo | ||
| .git No newline at end of file |
.stylelintignore
Outdated
| *.sh | ||
| *.tsbuildinfo | ||
| *.lock | ||
| docs No newline at end of file |
.stylelintrc
Outdated
| ] | ||
| } | ||
| ] | ||
| "selector-type-no-unknown": null, |
432d287 to
64b2530
Compare
| "extends": "@1stg/eslint-config/loose", | ||
| "rules": { | ||
| "regexp/strict": "off" | ||
| "regexp/strict": "off", |
| # reactive | ||
|
|
||
| > 为了支持配置式 options 更新,图表动态响应更新 | ||
| > reactive 由 on-change 库完成 |
| }, | ||
| "dependencies": { | ||
| "aphrodite": "^2.4.0", | ||
| "on-change": "^4.0.2", |
package.json
Outdated
| "strict": true, | ||
| "update": true | ||
| "update": true, | ||
| "ignoreFiles": [ |
|
本地先把 lint 修复完再提交 |
| } | ||
| }, | ||
| "dependencies": { | ||
| "aphrodite": "^2.4.0", |
| "dependencies": { | ||
| "aphrodite": "^2.4.0", | ||
| "on-change": "^4.0.2", | ||
| "placement.js": "^1.0.0-beta.5", |
package.json
Outdated
| "aphrodite": "^2.4.0", | ||
| "on-change": "^4.0.2", | ||
| "placement.js": "^1.0.0-beta.5", | ||
| "uplot": "^1.6.26" |
No description provided.