diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index e0ef0d0a7..948bccab6 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -90,22 +90,5 @@ jobs: - name: Build run: npm ci - - name: Build Typescript example projects - run: | - cd packages/js/examples/aws-lambda-typescript - npm ci - - - name: Install Vue examples deps - run: | - cd packages/vue/examples/vue2 - npm ci --force - cd ../vue3 - npm ci - - - name: Install React Native example deps - run: | - cd packages/react-native/example - npm ci --force - - name: Run lint checks run: npm run lint diff --git a/packages/js/examples/.eslintrc.json b/packages/js/examples/.eslintrc.json new file mode 100644 index 000000000..1558321d5 --- /dev/null +++ b/packages/js/examples/.eslintrc.json @@ -0,0 +1,7 @@ +{ + "rules": { + // Since these are just examples, the monorepo's linting should not + // fail just because we didn't run `npm install` in the example folders + "import/no-unresolved": ["off"] + } +} \ No newline at end of file diff --git a/packages/react-native/example/.eslintrc.json b/packages/react-native/example/.eslintrc.json new file mode 100644 index 000000000..1558321d5 --- /dev/null +++ b/packages/react-native/example/.eslintrc.json @@ -0,0 +1,7 @@ +{ + "rules": { + // Since these are just examples, the monorepo's linting should not + // fail just because we didn't run `npm install` in the example folders + "import/no-unresolved": ["off"] + } +} \ No newline at end of file diff --git a/packages/vue/examples/.eslintrc.json b/packages/vue/examples/.eslintrc.json new file mode 100644 index 000000000..9fc27f228 --- /dev/null +++ b/packages/vue/examples/.eslintrc.json @@ -0,0 +1,8 @@ +{ + "rules": { + // Since these are just examples, the monorepo's linting should not + // fail just because we didn't run `npm install` in the example folders + "import/no-unresolved": ["off"], + "import/default": ["off"] + } +} \ No newline at end of file