@gooddata/eslint-config 11.51.0-alpha.4 → 11.51.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,12 @@
1
+ export interface FlatConfig {
2
+ files?: string[];
3
+ ignores?: string[];
4
+ languageOptions?: Record<string, unknown>;
5
+ linterOptions?: Record<string, unknown>;
6
+ processor?: unknown;
7
+ plugins?: Record<string, unknown>;
8
+ rules?: Record<string, unknown>;
9
+ settings?: Record<string, unknown>;
10
+ }
11
+ declare const config: FlatConfig[];
12
+ export default config;
@@ -6,7 +6,6 @@ import plugin0002 from "@typescript-eslint/parser";
6
6
  import plugin0003 from "eslint-plugin-jsdoc";
7
7
  import plugin0004 from "eslint-plugin-react";
8
8
  import plugin0005 from "eslint-plugin-react-hooks";
9
- import plugin0006 from "eslint-plugin-storybook";
10
9
 
11
10
  export default [
12
11
  {
@@ -1330,37 +1329,4 @@ export default [
1330
1329
  "react-hooks/exhaustive-deps": "error",
1331
1330
  },
1332
1331
  },
1333
- {
1334
- plugins: {
1335
- storybook: plugin0006,
1336
- },
1337
- },
1338
- {
1339
- files: [
1340
- "**/*.stories.@(ts|tsx|js|jsx|mjs|cjs)",
1341
- "**/*.story.@(ts|tsx|js|jsx|mjs|cjs)",
1342
- ],
1343
- rules: {
1344
- "react-hooks/rules-of-hooks": "off",
1345
- "import/no-anonymous-default-export": "off",
1346
- "storybook/await-interactions": "error",
1347
- "storybook/context-in-play-function": "error",
1348
- "storybook/default-exports": "error",
1349
- "storybook/hierarchy-separator": "warn",
1350
- "storybook/no-redundant-story-name": "warn",
1351
- "storybook/no-renderer-packages": "error",
1352
- "storybook/prefer-pascal-case": "error",
1353
- "storybook/story-exports": "error",
1354
- "storybook/use-storybook-expect": "error",
1355
- "storybook/use-storybook-testing-library": "error",
1356
- },
1357
- },
1358
- {
1359
- files: [
1360
- ".storybook/main.@(js|cjs|mjs|ts)",
1361
- ],
1362
- rules: {
1363
- "storybook/no-uninstalled-addons": "error",
1364
- },
1365
- },
1366
1332
  ];
@@ -0,0 +1,12 @@
1
+ export interface FlatConfig {
2
+ files?: string[];
3
+ ignores?: string[];
4
+ languageOptions?: Record<string, unknown>;
5
+ linterOptions?: Record<string, unknown>;
6
+ processor?: unknown;
7
+ plugins?: Record<string, unknown>;
8
+ rules?: Record<string, unknown>;
9
+ settings?: Record<string, unknown>;
10
+ }
11
+ declare const config: FlatConfig[];
12
+ export default config;