Skip to content

Commit

Permalink
chore: lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
zyyv committed Dec 20, 2023
1 parent c0ce9ad commit 7c71b4c
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 34 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@ jobs:
- name: Install
run: pnpm i

- name: Lint
run: pnpm lint

- name: PNPM build
run: pnpm build

- name: Lint
run: pnpm lint

- name: Test
run: pnpm test
19 changes: 6 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -166,17 +166,13 @@ export interface UsefulOptions {

<br></details>


## Details

<details>
<summary>Expand it see more details</summary><br>




### extractors

```ts
// https://github.com/unocss/unocss/pull/2485
// Support extract base64 image.
Expand All @@ -192,7 +188,7 @@ export const extractors: Extractor[] = [
```

### postprocess

```ts
// https://github.com/unocss/unocss/discussions/2816
// Extract rgba color in css variable.
Expand All @@ -219,7 +215,7 @@ export function importantProcess(): Postprocessor {
```

### rules

```ts
// Use any css variable easily.
export const rules: Rule[] = [
Expand All @@ -238,7 +234,7 @@ export const rules: Rule[] = [
```

### shortcuts

```ts
// FYI. My own shortcuts.
const _shortcuts: CustomStaticShortcuts = [
Expand Down Expand Up @@ -276,7 +272,7 @@ const _shortcuts: CustomStaticShortcuts = [
```

### index

```ts
// See index.test.ts `themeAnimate configuration` for usage.
export function nomarlizeTheme(theme: UsefulTheme, enableMagicAnimations: boolean): UsefulTheme {
Expand All @@ -291,7 +287,7 @@ export function nomarlizeTheme(theme: UsefulTheme, enableMagicAnimations: boolea
```

### magic-animate

```ts
export function magicAnimate(): Theme['animation'] {
const keyframesObj = getKeyframes(magicCSS)
Expand All @@ -313,9 +309,6 @@ export function magicAnimate(): Theme['animation'] {
}
```




<br></details>

## License
Expand Down
5 changes: 0 additions & 5 deletions READMETEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -166,18 +166,13 @@ export interface UsefulOptions {

<br></details>


## Details

<details>
<summary>Expand it see more details</summary><br>



<slot/>



<br></details>

## License
Expand Down
19 changes: 6 additions & 13 deletions packages/core/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -159,17 +159,13 @@ export interface UsefulOptions {

<br></details>


## Details

<details>
<summary>Expand it see more details</summary><br>




### extractors

```ts
// https://github.com/unocss/unocss/pull/2485
// Support extract base64 image.
Expand All @@ -185,7 +181,7 @@ export const extractors: Extractor[] = [
```

### postprocess

```ts
// https://github.com/unocss/unocss/discussions/2816
// Extract rgba color in css variable.
Expand All @@ -206,7 +202,7 @@ export function postprocessWithUnColor(unColor: string): Postprocessor {
```

### rules

```ts
// Use any css variable easily.
export const rules: Rule[] = [
Expand All @@ -225,7 +221,7 @@ export const rules: Rule[] = [
```

### shortcuts

```ts
// FYI. My own shortcuts.
const _shortcuts: CustomStaticShortcuts = [
Expand Down Expand Up @@ -263,7 +259,7 @@ const _shortcuts: CustomStaticShortcuts = [
```

### index

```ts
// See index.test.ts `themeAnimate configuration` for usage.
export function nomarlizeTheme(theme: UsefulTheme, enableMagicAnimations: boolean): UsefulTheme {
Expand All @@ -278,7 +274,7 @@ export function nomarlizeTheme(theme: UsefulTheme, enableMagicAnimations: boolea
```

### magic-animate

```ts
export function magicAnimate(): Theme['animation'] {
const keyframesObj = getKeyframes(magicCSS)
Expand All @@ -300,9 +296,6 @@ export function magicAnimate(): Theme['animation'] {
}
```




<br></details>

## License
Expand Down

0 comments on commit 7c71b4c

Please sign in to comment.