refactor: check basic components props and story (#3772)

* fix: fix button props

* fix: fix ts error

* fix: fix warnings

* fix: fix slider event

* fix:  In the tap scenario, Android does not trigger onSlidingComplete function.

* fix: fix alert props

* fix: fix badge props

* fix: fix button props

* fix: fix checkbox group

* fix: fix typescript generic

* fix: fix dialog types

* fix: fix ts error

* fix: fix ts error

* fix: fix icon props names

* fix: fix ListItem Props

* fix: fix LottieView Props type

* fix: Popover props

* fix: fix Radio & QRCode props

* fix: fix error type

* fix: fix scrollview props

* fix: fix Skeleton props

* Update Skeleton.tsx

* fix: fix Switch props

* fix: fix select component

* fix: fix TextArea props

* fix: fix toast props

* fix: fix TooltipProps props

* fix: fix types

* fix: fix types

* fix: fix types

* fix: fix ts error

* Delete "/Users/boyue/Project/app-monorepo-x/.yarn/cache"/.app-mono-ts-cache
This commit is contained in:
huhuanming
2023-11-09 14:13:56 +08:00
committed by GitHub
parent 5d43bb37db
commit 300a618e3f
134 changed files with 886 additions and 1112 deletions

View File

@@ -1,12 +1,12 @@
const { execSync } = require('child_process');
const { exit } = require('process');
const MAX_WARNINGS_COUNT = 352;
const MAX_WARNINGS_COUNT = 247;
function handleWarnings(result) {
const warningsCount = result.match(/, (\d+) warnings\)/)?.[1];
console.log(`Warnings Counts: ${warningsCount}`);
if (Number(warningsCount) > MAX_WARNINGS_COUNT) {
console.log(`Warnings Counts: ${warningsCount}`);
console.log(
`Please do not add more ESLint warnings than ${MAX_WARNINGS_COUNT}`,
);

View File

@@ -560,4 +560,5 @@ module.exports = [
'nanoid',
'ico',
'Ons',
'Themeable',
];