Skip to content

Commit 8acc429

Browse files
committed
Fix lint script
1 parent 56dbd3c commit 8acc429

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"description": "devup-ui",
66
"type": "module",
77
"scripts": {
8-
"lint": "pnpm -F @devup-ui/* lint && cargo fmt --all -- --check && cargo clippy --all-targets --all-features -- -D warnings && eslint",
8+
"lint": "cargo fmt --all -- --check && cargo clippy --all-targets --all-features -- -D warnings && eslint",
99
"pretest": "pnpm -F @devup-ui/vite-plugin build",
1010
"test": "cargo tarpaulin --out xml --out stdout --out html --all-targets && vitest test --coverage --run && pnpm -r test",
1111
"build": "pnpm -F wasm build && pnpm -F @devup-ui/* -F !wasm build",

packages/components/src/components/Checkbox/index.tsx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,10 @@ import { ComponentProps, useId, useState } from 'react'
55

66
import { CheckIcon } from './CheckIcon'
77

8-
interface CheckboxProps
9-
extends Omit<ComponentProps<'input'>, 'type' | 'onChange'> {
8+
interface CheckboxProps extends Omit<
9+
ComponentProps<'input'>,
10+
'type' | 'onChange'
11+
> {
1012
children: React.ReactNode
1113
onChange?: (checked: boolean) => void
1214
colors?: {

packages/react/src/types/props/selector/index.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,7 @@ export type Selectors = Partial<
6565
>
6666

6767
export interface DevupSelectorProps
68-
extends SimpleSelectorProps,
69-
AdvancedSelectorProps {
68+
extends SimpleSelectorProps, AdvancedSelectorProps {
7069
// media query
7170
_print?: SelectorProps<DevupProps>
7271

0 commit comments

Comments
 (0)