Skip to content

Commit

Permalink
ci: eslint only in /docs dir
Browse files Browse the repository at this point in the history
  • Loading branch information
rmrt1n committed Jul 31, 2024
1 parent 42f1cec commit 4368acc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci-md.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,6 @@ jobs:
version: 0.39.0
- name: MDX Lint
run: |
npx eslint . --ext js,mdx \
--resolve-plugins-relative-to=$(npm config get prefix)/lib/node_modules \
--ignore-pattern 'cardinal/sdk/typescript/*'
# since only /docs uses mdx files
npx eslint docs --ext js,mdx \
--resolve-plugins-relative-to=$(npm config get prefix)/lib/node_modules

0 comments on commit 4368acc

Please sign in to comment.