From 23e26936e61c0fca5b938097b32bb5207d1145e9 Mon Sep 17 00:00:00 2001 From: Alexandre Asselin Date: Wed, 13 Mar 2024 16:59:41 -0400 Subject: [PATCH] fix stylelint not detecting warnings --- apps/docs/app/playground/typography/typo.css | 2 +- apps/docs/components/ui/table/table.css | 2 +- package.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/docs/app/playground/typography/typo.css b/apps/docs/app/playground/typography/typo.css index 5344fd651..e5056d476 100644 --- a/apps/docs/app/playground/typography/typo.css +++ b/apps/docs/app/playground/typography/typo.css @@ -25,7 +25,7 @@ .font-sample { margin-bottom: 4rem; padding-top: 1.5rem; - border-top: 1px solid; + border-top: 0.0625rem solid; } .number { diff --git a/apps/docs/components/ui/table/table.css b/apps/docs/components/ui/table/table.css index bb9af9aef..582415097 100644 --- a/apps/docs/components/ui/table/table.css +++ b/apps/docs/components/ui/table/table.css @@ -42,7 +42,7 @@ } .hd-typo__cell-font-family { - max-width: 125px; + max-width: 7.8125rem; } .hd-top__row .hd-table__cell { diff --git a/package.json b/package.json index 9c7e161a5..5cb89222b 100644 --- a/package.json +++ b/package.json @@ -26,7 +26,7 @@ "generate-icons": "pnpm --filter=\"svg-icons\" generate-icons && pnpm --filter=\"@hopper-ui/icons*\" generate-icons", "lint": "pnpm run \"/^lint:.*/\" && pnpm run typecheck", "lint:eslint": "eslint . --max-warnings=-1 --cache --cache-location node_modules/.cache/eslint", - "lint:style": "stylelint \"**/*.css\" --allow-empty-input --cache --cache-location node_modules/.cache/stylelint", + "lint:style": "stylelint \"**/*.css\" --allow-empty-input --cache --cache-location node_modules/.cache/stylelint --max-warnings=0", "typecheck": "pnpm -r --parallel --include-workspace-root exec tsc --noEmit", "clean": "pnpm -r --parallel --include-workspace-root exec pnpm dlx rimraf dist node_modules/.cache", "reset": "pnpm clean && pnpm reset:modules",