Skip to content

Commit

Permalink
Merge pull request #1678 from silx-kit/tsconfig
Browse files Browse the repository at this point in the history
Fix minor linting and type-checking configuration issues
  • Loading branch information
axelboc authored Jun 24, 2024
2 parents 5ede8e3 + da0edfe commit da43220
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
1 change: 1 addition & 0 deletions apps/storybook/.eslintignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
/build/
/node_modules/
!/.storybook/
5 changes: 4 additions & 1 deletion apps/storybook/.storybook/main.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import type { StorybookConfig } from '@storybook/react-vite';
import remarkGfm from 'remark-gfm';

export default {
const config: StorybookConfig = {
stories: ['../src/**/*.mdx', '../src/**/*.stories.tsx'],
framework: '@storybook/react-vite',
addons: [
Expand All @@ -19,3 +20,5 @@ export default {
],
docs: { autodocs: true },
};

export default config;
2 changes: 1 addition & 1 deletion apps/storybook/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"extends": "../../tsconfig.json",
"include": ["src"]
"include": [".storybook/**/*", "src"]
}
3 changes: 2 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,6 @@
"ignoreDeprecations": "5.0",
"useDefineForClassFields": true,
"useUnknownInCatchVariables": true
}
},
"include": ["*", "cypress", "apps/*/*", "packages/*/*"]
}

0 comments on commit da43220

Please sign in to comment.