Skip to content

Commit 439de0f

Browse files
committed
Update storybook config
1 parent 3f29aa8 commit 439de0f

File tree

4 files changed

+9
-5
lines changed

4 files changed

+9
-5
lines changed

Diff for: .eslintrc.yml

+3-4
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,14 @@ rules:
1111
react/prop-types: off
1212
react-hooks/rules-of-hooks: error
1313

14+
parserOptions:
15+
project: tsconfig.eslint.json
16+
1417
overrides:
1518
- files:
1619
- '*.ts'
1720
extends:
1821
- pegasus/typescript
19-
parserOptions:
20-
project: tsconfig.json
2122
- files:
2223
- scripts/*.js
2324
- .storybook/*.{js,cjs}
@@ -28,8 +29,6 @@ overrides:
2829
extends:
2930
- pegasus/typescript
3031
- plugin:storybook/recommended
31-
parserOptions:
32-
project: tsconfig.json
3332

3433
settings:
3534
react:

Diff for: .storybook/main.js renamed to .storybook/main.ts

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
module.exports = {
1+
import { StorybookConfig } from '@storybook/react-vite';
2+
3+
const config: StorybookConfig = {
24
stories: ['../stories/**/*.stories.mdx', '../stories/**/*.stories.@(js|jsx|ts|tsx)'],
35
addons: ['@storybook/addon-essentials'],
46
framework: {
@@ -7,5 +9,8 @@ module.exports = {
79
},
810
core: {
911
disableTelemetry: true,
12+
disableWhatsNewNotifications: true,
1013
},
1114
};
15+
16+
export default config;
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)