We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3517e92 + edd2cd2 commit 7bd55ebCopy full SHA for 7bd55eb
code/lib/eslint-plugin/README.md
@@ -62,13 +62,12 @@ This allows for this plugin to also lint your configuration files inside the .st
62
If you are using [flat config style](https://eslint.org/docs/latest/use/configure/configuration-files-new), add this to your configuration file:
63
64
```js
65
-export default [
+import { defineConfig, globalIgnores } from 'eslint/config';
66
+
67
+export default defineConfig([
68
+ globalIgnores(['!.storybook'], "Include Storybook Directory"),
69
// ...
- {
- // Inside your .eslintignore file
- ignores: ['!.storybook'],
70
- },
71
-];
+]);
72
```
73
74
## ESLint compatibility
0 commit comments