From f301b13426900006ceca08531a27fec162f14019 Mon Sep 17 00:00:00 2001 From: Ryan Martin Date: Tue, 30 Jul 2024 16:05:32 +0700 Subject: [PATCH] ci: eslint ignore typescript sdk --- .github/workflows/ci-md.yaml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci-md.yaml b/.github/workflows/ci-md.yaml index eb98e1aa6..827667f49 100644 --- a/.github/workflows/ci-md.yaml +++ b/.github/workflows/ci-md.yaml @@ -24,10 +24,6 @@ jobs: uses: actions/setup-node@v4 - name: Install eslint & eslint-plugin-mdx run: npm install eslint@8.57.0 eslint-plugin-mdx@3.1.5 --global - - name: Install eslint plugins in typescript sdk - run: | - cd cardinal/sdk/typescript - npm ci ## detect errors from markdownlint-cli and create annotations for them - uses: xt0rted/markdownlint-problem-matcher@v3 - name: Markdown Lint @@ -39,4 +35,5 @@ jobs: - name: MDX Lint run: | npx eslint . --ext js,mdx \ - --resolve-plugins-relative-to=$(npm config get prefix)/lib/node_modules + --resolve-plugins-relative-to=$(npm config get prefix)/lib/node_modules \ + --ignore-pattern cardinal/sdk/typescript/*