Skip to content

Commit

Permalink
chore: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
antfu committed Jul 7, 2024
1 parent 317be40 commit df95518
Show file tree
Hide file tree
Showing 5 changed files with 42 additions and 105 deletions.
2 changes: 2 additions & 0 deletions docs/guide/transformers.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,8 @@ Transformers can also access markdown 'meta' strings in [supported integrations]

You can access the raw meta using:

<!-- eslint-skip -->

```ts
options.meta
// => { meta: 'here', __raw: 'meta=here' }
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"prepare": "simple-git-hooks"
},
"devDependencies": {
"@antfu/eslint-config": "^2.22.0-beta.1",
"@antfu/eslint-config": "^2.22.0-beta.2",
"@antfu/ni": "^0.21.12",
"@antfu/utils": "^0.7.10",
"@rollup/plugin-alias": "^5.1.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/oniguruma/onig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export default async function main(init: Instantiator): Promise<IOnigBinding> {
updateGlobalBufferAndViews(wasmMemory.buffer)
return 1
}
catch (e) {}
catch {}
}
function _emscripten_resize_heap(requestedSize: number) {
const oldSize = binding.HEAPU8.length
Expand Down
2 changes: 1 addition & 1 deletion packages/shiki/test/hast.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { toHtml } from 'hast-util-to-html'
import { codeToHtml, createHighlighter } from '../src'

afterEach(() => {
vi.restoreAllMocks
vi.restoreAllMocks()
})

describe('should', () => {
Expand Down
139 changes: 37 additions & 102 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit df95518

Please sign in to comment.