diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index 48072e9..b35c889 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -17,6 +17,8 @@ jobs: - name: npm install and test run: | npm ci --force + npm run type-check + npm run lint -- --quiet npm test env: CI: true diff --git a/rule-sets/base.js b/rule-sets/base.js index babca84..0172b73 100644 --- a/rule-sets/base.js +++ b/rule-sets/base.js @@ -38,6 +38,7 @@ export const baseRuleSet = { 'no-only-tests': noOnlyTestsPlugin, perfectionist, prettier, + // @ts-expect-error plugin does not quite match expected type? react, 'react-hooks': reactHooks, }, diff --git a/rule-sets/storybook.js b/rule-sets/storybook.js index 9e345f0..331faea 100644 --- a/rule-sets/storybook.js +++ b/rule-sets/storybook.js @@ -5,6 +5,7 @@ import storybook from 'eslint-plugin-storybook'; export const storybookRuleSet = { files: ['.storybook/*', '**/*.story.tsx'], plugins: { + // @ts-expect-error plugin does not quite match expected type? storybook, }, rules: {