Skip to content

Commit

Permalink
Add .storybook directory to list of config files (#390)
Browse files Browse the repository at this point in the history
  • Loading branch information
psirenny authored Feb 7, 2024
1 parent 08fc5a6 commit f1689d9
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/odd-spies-pay.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@spear-ai/eslint-config": minor
---

Added `.storybook` directory to list of config files.
11 changes: 9 additions & 2 deletions packages/eslint-config/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -653,14 +653,21 @@ export const baseEslintConfig: Linter.FlatConfig[] = [
},
},
{
files: ["**/*.benchmark.*", "**/*.stories.*", "**/*.config.*", "**/*.test.*", "**/__test__/**"],
files: [
"**/*.benchmark.*",
"**/*.config.*",
"**/.storybook/*",
"**/*.stories.*",
"**/*.test.*",
"**/__test__/**",
],
ignores: defaultIgnoreFileList,
rules: {
"import/no-extraneous-dependencies": ["off"],
},
},
{
files: ["**/*.config.*", "**/*.stories.*"],
files: ["**/*.config.*", "**/.storybook/*", "**/*.stories.*"],
ignores: defaultIgnoreFileList,
rules: {
"import/no-default-export": ["off"],
Expand Down

0 comments on commit f1689d9

Please sign in to comment.