Skip to content

Commit

Permalink
docs: update docs url (#532)
Browse files Browse the repository at this point in the history
* docs: update docs url

* chore: improve ci
  • Loading branch information
veritem committed Sep 13, 2024
1 parent 8d85d03 commit 86d771e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,13 @@ jobs:
path: ${{ env.STORE_PATH }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-
${{ runner.os }}-pnpm-store-
- name: install
run: pnpm install

- name: test
run: pnpm test:ci

- name: typecheck
run: pnpm tsc
2 changes: 1 addition & 1 deletion src/utils/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ interface PluginDocs {
export function createEslintRule<TOptions extends readonly unknown[], TMessageIds extends string>(rule: Readonly<ESLintUtils.RuleWithMetaAndName<TOptions, TMessageIds, PluginDocs>>) {
const createRule = ESLintUtils.RuleCreator<PluginDocs>(
ruleName =>
`https://github.com/veritem/eslint-plugin-vitest/blob/main/docs/rules/${ruleName}.md`
`https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/${ruleName}.md`
)

return createRule(rule) as unknown as Rule.RuleModule
Expand Down

0 comments on commit 86d771e

Please sign in to comment.