mirror of
https://github.com/alexgo-io/onekey-monorepo.git
synced 2026-04-30 20:52:04 +08:00
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:
@@ -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}`,
|
||||
);
|
||||
|
||||
@@ -560,4 +560,5 @@ module.exports = [
|
||||
'nanoid',
|
||||
'ico',
|
||||
'Ons',
|
||||
'Themeable',
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user