@apitree.cz/eslint-config 0.3.3 → 0.3.4

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.
@@ -46,12 +46,6 @@ export declare const config: {
46
46
  files: string;
47
47
  rules: {
48
48
  '@typescript-eslint/consistent-type-imports': "off";
49
- '@typescript-eslint/consistent-type-assertions'?: never;
50
- '@typescript-eslint/consistent-type-definitions'?: never;
51
- '@typescript-eslint/consistent-type-exports'?: never;
52
- '@typescript-eslint/no-empty-interface'?: never;
53
- '@typescript-eslint/no-unsafe-declaration-merging'?: never;
54
- '@typescript-eslint/sort-type-constituents'?: never;
55
49
  };
56
50
  extends?: never;
57
51
  })[];
@@ -27,12 +27,6 @@ export declare const overrides: ({
27
27
  files: string;
28
28
  rules: {
29
29
  '@typescript-eslint/consistent-type-imports': "off";
30
- '@typescript-eslint/consistent-type-assertions'?: never;
31
- '@typescript-eslint/consistent-type-definitions'?: never;
32
- '@typescript-eslint/consistent-type-exports'?: never;
33
- '@typescript-eslint/no-empty-interface'?: never;
34
- '@typescript-eslint/no-unsafe-declaration-merging'?: never;
35
- '@typescript-eslint/sort-type-constituents'?: never;
36
30
  };
37
31
  extends?: never;
38
32
  })[];
@@ -14,12 +14,6 @@ export declare const typescript: ({
14
14
  files: string;
15
15
  rules: {
16
16
  '@typescript-eslint/consistent-type-imports': "off";
17
- '@typescript-eslint/consistent-type-assertions'?: never;
18
- '@typescript-eslint/consistent-type-definitions'?: never;
19
- '@typescript-eslint/consistent-type-exports'?: never;
20
- '@typescript-eslint/no-empty-interface'?: never;
21
- '@typescript-eslint/no-unsafe-declaration-merging'?: never;
22
- '@typescript-eslint/sort-type-constituents'?: never;
23
17
  };
24
18
  extends?: never;
25
19
  })[];
@@ -1,11 +1,13 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.typescript = void 0;
4
+ const typescript_1 = require("../rules/typescript");
4
5
  exports.typescript = [
5
6
  {
6
7
  files: '*.ts',
7
8
  extends: ['plugin:@typescript-eslint/recommended-requiring-type-checking', 'plugin:@typescript-eslint/strict'],
8
9
  rules: {
10
+ ...typescript_1.typescript,
9
11
  '@typescript-eslint/consistent-type-assertions': 'error', // Enforce consistent usage of type assertions
10
12
  '@typescript-eslint/consistent-type-definitions': ['error', 'interface'], // Prefer interface to type
11
13
  '@typescript-eslint/consistent-type-exports': 'error', // Enforce consistent usage of type exports
@@ -1 +1 @@
1
- {"version":3,"file":"typescript.js","sourceRoot":"","sources":["../../../src/base/overrides/typescript.ts"],"names":[],"mappings":";;;AAEa,QAAA,UAAU,GAAG;IACxB;QACE,KAAK,EAAE,MAAM;QACb,OAAO,EAAE,CAAC,+DAA+D,EAAE,kCAAkC,CAAC;QAC9G,KAAK,EAAE;YACL,+CAA+C,EAAE,OAAO,EAAE,8CAA8C;YACxG,gDAAgD,EAAE,CAAC,OAAO,EAAE,WAAW,CAAC,EAAE,2BAA2B;YACrG,4CAA4C,EAAE,OAAO,EAAE,2CAA2C;YAClG,4CAA4C,EAAE,OAAO,EAAE,mDAAmD;YAC1G,uCAAuC,EAAE,OAAO,EAAE,4BAA4B;YAC9E,kDAAkD,EAAE,OAAO,EAAE,iDAAiD;YAC9G,2CAA2C,EAAE,OAAO,EAAE,yDAAyD;SAChH;KACF;IACD;QACE,KAAK,EAAE,QAAQ;QACf,KAAK,EAAE;YACL,4CAA4C,EAAE,KAAK,EAAE,gEAAgE;SACtH;KACF;CACgC,CAAC"}
1
+ {"version":3,"file":"typescript.js","sourceRoot":"","sources":["../../../src/base/overrides/typescript.ts"],"names":[],"mappings":";;;AAEA,oDAA0D;AAE7C,QAAA,UAAU,GAAG;IACxB;QACE,KAAK,EAAE,MAAM;QACb,OAAO,EAAE,CAAC,+DAA+D,EAAE,kCAAkC,CAAC;QAC9G,KAAK,EAAE;YACL,GAAG,uBAAK;YACR,+CAA+C,EAAE,OAAO,EAAE,8CAA8C;YACxG,gDAAgD,EAAE,CAAC,OAAO,EAAE,WAAW,CAAC,EAAE,2BAA2B;YACrG,4CAA4C,EAAE,OAAO,EAAE,2CAA2C;YAClG,4CAA4C,EAAE,OAAO,EAAE,mDAAmD;YAC1G,uCAAuC,EAAE,OAAO,EAAE,4BAA4B;YAC9E,kDAAkD,EAAE,OAAO,EAAE,iDAAiD;YAC9G,2CAA2C,EAAE,OAAO,EAAE,yDAAyD;SAChH;KACF;IACD;QACE,KAAK,EAAE,QAAQ;QACf,KAAK,EAAE;YACL,4CAA4C,EAAE,KAAK,EAAE,gEAAgE;SACtH;KACF;CACgC,CAAC"}
@@ -1,2 +1,2 @@
1
- export declare const extraneousDependenciesPatterns: readonly ["**/*.config.cjs", "**/*.config.js", "**/*.config.mjs", "**/*.config.ts", "**/scripts/**/*", "**/tests/**/*", "**/types/*.d.ts"];
1
+ export declare const extraneousDependenciesPatterns: readonly ["**/*.config.cjs", "**/*.config.js", "**/*.config.mjs", "**/*.config.ts", "**/codegen.ts", "**/scripts/**/*", "**/tests/**/*", "**/types/*.d.ts", "**/vite.config.ts"];
2
2
  export declare const importExtensions: readonly [".cjs", ".js", ".ts"];
package/dist/constants.js CHANGED
@@ -6,9 +6,11 @@ exports.extraneousDependenciesPatterns = [
6
6
  '**/*.config.js',
7
7
  '**/*.config.mjs',
8
8
  '**/*.config.ts',
9
+ '**/codegen.ts',
9
10
  '**/scripts/**/*',
10
11
  '**/tests/**/*',
11
12
  '**/types/*.d.ts',
13
+ '**/vite.config.ts',
12
14
  ];
13
15
  exports.importExtensions = ['.cjs', '.js', '.ts'];
14
16
  //# sourceMappingURL=constants.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":";;;AAAa,QAAA,8BAA8B,GAAG;IAC5C,iBAAiB;IACjB,gBAAgB;IAChB,iBAAiB;IACjB,gBAAgB;IAChB,iBAAiB;IACjB,eAAe;IACf,iBAAiB;CACT,CAAC;AAEE,QAAA,gBAAgB,GAAG,CAAC,MAAM,EAAE,KAAK,EAAE,KAAK,CAAU,CAAC"}
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":";;;AAAa,QAAA,8BAA8B,GAAG;IAC5C,iBAAiB;IACjB,gBAAgB;IAChB,iBAAiB;IACjB,gBAAgB;IAChB,eAAe;IACf,iBAAiB;IACjB,eAAe;IACf,iBAAiB;IACjB,mBAAmB;CACX,CAAC;AAEE,QAAA,gBAAgB,GAAG,CAAC,MAAM,EAAE,KAAK,EAAE,KAAK,CAAU,CAAC"}
@@ -8,6 +8,7 @@ export declare const config: {
8
8
  'react/function-component-definition'?: never;
9
9
  '@next/next/no-head-element'?: never;
10
10
  'react/jsx-props-no-spreading'?: never;
11
+ '@typescript-eslint/require-await'?: never;
11
12
  };
12
13
  } | {
13
14
  files: string[];
@@ -19,6 +20,7 @@ export declare const config: {
19
20
  'unicorn/prevent-abbreviations'?: never;
20
21
  '@next/next/no-head-element'?: never;
21
22
  'react/jsx-props-no-spreading'?: never;
23
+ '@typescript-eslint/require-await'?: never;
22
24
  };
23
25
  } | {
24
26
  files: string[];
@@ -27,6 +29,7 @@ export declare const config: {
27
29
  'unicorn/prevent-abbreviations'?: never;
28
30
  'react/function-component-definition'?: never;
29
31
  'react/jsx-props-no-spreading'?: never;
32
+ '@typescript-eslint/require-await'?: never;
30
33
  };
31
34
  } | {
32
35
  files: string[];
@@ -35,6 +38,16 @@ export declare const config: {
35
38
  'unicorn/prevent-abbreviations'?: never;
36
39
  'react/function-component-definition'?: never;
37
40
  '@next/next/no-head-element'?: never;
41
+ '@typescript-eslint/require-await'?: never;
42
+ };
43
+ } | {
44
+ files: string;
45
+ rules: {
46
+ '@typescript-eslint/require-await': "off";
47
+ 'unicorn/prevent-abbreviations'?: never;
48
+ 'react/function-component-definition'?: never;
49
+ '@next/next/no-head-element'?: never;
50
+ 'react/jsx-props-no-spreading'?: never;
38
51
  };
39
52
  })[];
40
53
  };
@@ -5,6 +5,7 @@ export declare const overrides: ({
5
5
  'react/function-component-definition'?: never;
6
6
  '@next/next/no-head-element'?: never;
7
7
  'react/jsx-props-no-spreading'?: never;
8
+ '@typescript-eslint/require-await'?: never;
8
9
  };
9
10
  } | {
10
11
  files: string[];
@@ -16,6 +17,7 @@ export declare const overrides: ({
16
17
  'unicorn/prevent-abbreviations'?: never;
17
18
  '@next/next/no-head-element'?: never;
18
19
  'react/jsx-props-no-spreading'?: never;
20
+ '@typescript-eslint/require-await'?: never;
19
21
  };
20
22
  } | {
21
23
  files: string[];
@@ -24,6 +26,7 @@ export declare const overrides: ({
24
26
  'unicorn/prevent-abbreviations'?: never;
25
27
  'react/function-component-definition'?: never;
26
28
  'react/jsx-props-no-spreading'?: never;
29
+ '@typescript-eslint/require-await'?: never;
27
30
  };
28
31
  } | {
29
32
  files: string[];
@@ -32,5 +35,15 @@ export declare const overrides: ({
32
35
  'unicorn/prevent-abbreviations'?: never;
33
36
  'react/function-component-definition'?: never;
34
37
  '@next/next/no-head-element'?: never;
38
+ '@typescript-eslint/require-await'?: never;
39
+ };
40
+ } | {
41
+ files: string;
42
+ rules: {
43
+ '@typescript-eslint/require-await': "off";
44
+ 'unicorn/prevent-abbreviations'?: never;
45
+ 'react/function-component-definition'?: never;
46
+ '@next/next/no-head-element'?: never;
47
+ 'react/jsx-props-no-spreading'?: never;
35
48
  };
36
49
  })[];
@@ -33,5 +33,11 @@ exports.overrides = [
33
33
  'react/jsx-props-no-spreading': 'off', // Allow spreading props in Next.js App layouts, _app.tsx and _document.tsx
34
34
  },
35
35
  },
36
+ {
37
+ files: 'src/**/actions.ts',
38
+ rules: {
39
+ '@typescript-eslint/require-await': 'off', // Next.js Server Actions must be async but don't need to await
40
+ },
41
+ },
36
42
  ];
37
43
  //# sourceMappingURL=overrides.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"overrides.js","sourceRoot":"","sources":["../../src/nextjs/overrides.ts"],"names":[],"mappings":";;;AAEa,QAAA,SAAS,GAAG;IACvB;QACE,KAAK,EAAE,eAAe;QACtB,KAAK,EAAE;YACL,+BAA+B,EAAE,KAAK,EAAE,wCAAwC;SACjF;KACF;IACD;QACE,KAAK,EAAE,CAAC,iBAAiB,EAAE,kBAAkB,EAAE,mBAAmB,EAAE,oBAAoB,CAAC;QACzF,KAAK,EAAE;YACL,qCAAqC,EAAE;gBACrC,6GAA6G;gBAC7G,OAAO;gBACP;oBACE,eAAe,EAAE,CAAC,gBAAgB,EAAE,sBAAsB,CAAC;oBAC3D,iBAAiB,EAAE,qBAAqB;iBACzC;aACF;SACF;KACF;IACD;QACE,KAAK,EAAE,CAAC,uBAAuB,EAAE,yBAAyB,CAAC;QAC3D,KAAK,EAAE;YACL,4BAA4B,EAAE,KAAK,EAAE,+CAA+C;SACrF;KACF;IACD;QACE,KAAK,EAAE,CAAC,yBAAyB,EAAE,oBAAoB,EAAE,yBAAyB,CAAC;QACnF,KAAK,EAAE;YACL,8BAA8B,EAAE,KAAK,EAAE,2EAA2E;SACnH;KACF;CACgC,CAAC"}
1
+ {"version":3,"file":"overrides.js","sourceRoot":"","sources":["../../src/nextjs/overrides.ts"],"names":[],"mappings":";;;AAEa,QAAA,SAAS,GAAG;IACvB;QACE,KAAK,EAAE,eAAe;QACtB,KAAK,EAAE;YACL,+BAA+B,EAAE,KAAK,EAAE,wCAAwC;SACjF;KACF;IACD;QACE,KAAK,EAAE,CAAC,iBAAiB,EAAE,kBAAkB,EAAE,mBAAmB,EAAE,oBAAoB,CAAC;QACzF,KAAK,EAAE;YACL,qCAAqC,EAAE;gBACrC,6GAA6G;gBAC7G,OAAO;gBACP;oBACE,eAAe,EAAE,CAAC,gBAAgB,EAAE,sBAAsB,CAAC;oBAC3D,iBAAiB,EAAE,qBAAqB;iBACzC;aACF;SACF;KACF;IACD;QACE,KAAK,EAAE,CAAC,uBAAuB,EAAE,yBAAyB,CAAC;QAC3D,KAAK,EAAE;YACL,4BAA4B,EAAE,KAAK,EAAE,+CAA+C;SACrF;KACF;IACD;QACE,KAAK,EAAE,CAAC,yBAAyB,EAAE,oBAAoB,EAAE,yBAAyB,CAAC;QACnF,KAAK,EAAE;YACL,8BAA8B,EAAE,KAAK,EAAE,2EAA2E;SACnH;KACF;IACD;QACE,KAAK,EAAE,mBAAmB;QAC1B,KAAK,EAAE;YACL,kCAAkC,EAAE,KAAK,EAAE,+DAA+D;SAC3G;KACF;CACgC,CAAC"}
package/dist/nextjs.d.ts CHANGED
@@ -8,6 +8,7 @@ declare const _default: {
8
8
  'react/function-component-definition'?: never;
9
9
  '@next/next/no-head-element'?: never;
10
10
  'react/jsx-props-no-spreading'?: never;
11
+ '@typescript-eslint/require-await'?: never;
11
12
  };
12
13
  } | {
13
14
  files: string[];
@@ -19,6 +20,7 @@ declare const _default: {
19
20
  'unicorn/prevent-abbreviations'?: never;
20
21
  '@next/next/no-head-element'?: never;
21
22
  'react/jsx-props-no-spreading'?: never;
23
+ '@typescript-eslint/require-await'?: never;
22
24
  };
23
25
  } | {
24
26
  files: string[];
@@ -27,6 +29,7 @@ declare const _default: {
27
29
  'unicorn/prevent-abbreviations'?: never;
28
30
  'react/function-component-definition'?: never;
29
31
  'react/jsx-props-no-spreading'?: never;
32
+ '@typescript-eslint/require-await'?: never;
30
33
  };
31
34
  } | {
32
35
  files: string[];
@@ -35,6 +38,16 @@ declare const _default: {
35
38
  'unicorn/prevent-abbreviations'?: never;
36
39
  'react/function-component-definition'?: never;
37
40
  '@next/next/no-head-element'?: never;
41
+ '@typescript-eslint/require-await'?: never;
42
+ };
43
+ } | {
44
+ files: string;
45
+ rules: {
46
+ '@typescript-eslint/require-await': "off";
47
+ 'unicorn/prevent-abbreviations'?: never;
48
+ 'react/function-component-definition'?: never;
49
+ '@next/next/no-head-element'?: never;
50
+ 'react/jsx-props-no-spreading'?: never;
38
51
  };
39
52
  })[];
40
53
  };
@@ -30,12 +30,6 @@ export declare const config: {
30
30
  files: string;
31
31
  rules: {
32
32
  '@typescript-eslint/consistent-type-imports': "off";
33
- '@typescript-eslint/consistent-type-assertions'?: never;
34
- '@typescript-eslint/consistent-type-definitions'?: never;
35
- '@typescript-eslint/consistent-type-exports'?: never;
36
- '@typescript-eslint/no-empty-interface'?: never;
37
- '@typescript-eslint/no-unsafe-declaration-merging'?: never;
38
- '@typescript-eslint/sort-type-constituents'?: never;
39
33
  };
40
34
  extends?: never;
41
35
  } | {
@@ -59,12 +53,6 @@ export declare const config: {
59
53
  files: string[];
60
54
  rules: {
61
55
  '@typescript-eslint/consistent-type-imports': "off";
62
- '@typescript-eslint/consistent-type-assertions'?: never;
63
- '@typescript-eslint/consistent-type-definitions'?: never;
64
- '@typescript-eslint/consistent-type-exports'?: never;
65
- '@typescript-eslint/no-empty-interface'?: never;
66
- '@typescript-eslint/no-unsafe-declaration-merging'?: never;
67
- '@typescript-eslint/sort-type-constituents'?: never;
68
56
  };
69
57
  extends?: never;
70
58
  })[];
@@ -14,12 +14,6 @@ export declare const overrides: (import("eslint").Linter.ConfigOverride<import("
14
14
  files: string;
15
15
  rules: {
16
16
  '@typescript-eslint/consistent-type-imports': "off";
17
- '@typescript-eslint/consistent-type-assertions'?: never;
18
- '@typescript-eslint/consistent-type-definitions'?: never;
19
- '@typescript-eslint/consistent-type-exports'?: never;
20
- '@typescript-eslint/no-empty-interface'?: never;
21
- '@typescript-eslint/no-unsafe-declaration-merging'?: never;
22
- '@typescript-eslint/sort-type-constituents'?: never;
23
17
  };
24
18
  extends?: never;
25
19
  } | {
@@ -43,12 +37,6 @@ export declare const overrides: (import("eslint").Linter.ConfigOverride<import("
43
37
  files: string[];
44
38
  rules: {
45
39
  '@typescript-eslint/consistent-type-imports': "off";
46
- '@typescript-eslint/consistent-type-assertions'?: never;
47
- '@typescript-eslint/consistent-type-definitions'?: never;
48
- '@typescript-eslint/consistent-type-exports'?: never;
49
- '@typescript-eslint/no-empty-interface'?: never;
50
- '@typescript-eslint/no-unsafe-declaration-merging'?: never;
51
- '@typescript-eslint/sort-type-constituents'?: never;
52
40
  };
53
41
  extends?: never;
54
42
  })[];
@@ -14,12 +14,6 @@ export declare const typescript: ({
14
14
  files: string;
15
15
  rules: {
16
16
  '@typescript-eslint/consistent-type-imports': "off";
17
- '@typescript-eslint/consistent-type-assertions'?: never;
18
- '@typescript-eslint/consistent-type-definitions'?: never;
19
- '@typescript-eslint/consistent-type-exports'?: never;
20
- '@typescript-eslint/no-empty-interface'?: never;
21
- '@typescript-eslint/no-unsafe-declaration-merging'?: never;
22
- '@typescript-eslint/sort-type-constituents'?: never;
23
17
  };
24
18
  extends?: never;
25
19
  } | {
@@ -38,12 +32,6 @@ export declare const typescript: ({
38
32
  files: string[];
39
33
  rules: {
40
34
  '@typescript-eslint/consistent-type-imports': "off";
41
- '@typescript-eslint/consistent-type-assertions'?: never;
42
- '@typescript-eslint/consistent-type-definitions'?: never;
43
- '@typescript-eslint/consistent-type-exports'?: never;
44
- '@typescript-eslint/no-empty-interface'?: never;
45
- '@typescript-eslint/no-unsafe-declaration-merging'?: never;
46
- '@typescript-eslint/sort-type-constituents'?: never;
47
35
  };
48
36
  extends?: never;
49
37
  })[];
package/dist/react.d.ts CHANGED
@@ -30,12 +30,6 @@ declare const _default: {
30
30
  files: string;
31
31
  rules: {
32
32
  '@typescript-eslint/consistent-type-imports': "off";
33
- '@typescript-eslint/consistent-type-assertions'?: never;
34
- '@typescript-eslint/consistent-type-definitions'?: never;
35
- '@typescript-eslint/consistent-type-exports'?: never;
36
- '@typescript-eslint/no-empty-interface'?: never;
37
- '@typescript-eslint/no-unsafe-declaration-merging'?: never;
38
- '@typescript-eslint/sort-type-constituents'?: never;
39
33
  };
40
34
  extends?: never;
41
35
  } | {
@@ -59,12 +53,6 @@ declare const _default: {
59
53
  files: string[];
60
54
  rules: {
61
55
  '@typescript-eslint/consistent-type-imports': "off";
62
- '@typescript-eslint/consistent-type-assertions'?: never;
63
- '@typescript-eslint/consistent-type-definitions'?: never;
64
- '@typescript-eslint/consistent-type-exports'?: never;
65
- '@typescript-eslint/no-empty-interface'?: never;
66
- '@typescript-eslint/no-unsafe-declaration-merging'?: never;
67
- '@typescript-eslint/sort-type-constituents'?: never;
68
56
  };
69
57
  extends?: never;
70
58
  })[];
@@ -0,0 +1,4 @@
1
+ import type { Linter } from 'eslint';
2
+ export declare const config: {
3
+ rules: Linter.RulesRecord;
4
+ };
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.config = void 0;
4
+ const rules_1 = require("./rules");
5
+ exports.config = {
6
+ rules: rules_1.rules,
7
+ };
8
+ //# sourceMappingURL=config.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"config.js","sourceRoot":"","sources":["../../src/storybook/config.ts"],"names":[],"mappings":";;;AAEA,mCAAgC;AAEnB,QAAA,MAAM,GAAG;IACpB,KAAK,EAAL,aAAK;CACkB,CAAC"}
@@ -0,0 +1,2 @@
1
+ import type { Linter } from 'eslint';
2
+ export declare const rules: Linter.RulesRecord;
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.rules = void 0;
4
+ const utils_1 = require("../utils");
5
+ exports.rules = {
6
+ ...(0, utils_1.getExtraneousDependenciesRule)('**/config/**/*'),
7
+ 'react/jsx-props-no-spreading': 'off',
8
+ 'unicorn/prefer-module': 'off',
9
+ };
10
+ //# sourceMappingURL=rules.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"rules.js","sourceRoot":"","sources":["../../src/storybook/rules.ts"],"names":[],"mappings":";;;AAEA,oCAAyD;AAE5C,QAAA,KAAK,GAAuB;IACvC,GAAG,IAAA,qCAA6B,EAAC,gBAAgB,CAAC;IAClD,8BAA8B,EAAE,KAAK;IACrC,uBAAuB,EAAE,KAAK;CAC/B,CAAC"}
@@ -0,0 +1,6 @@
1
+ import type { Linter } from 'eslint';
2
+ declare const _default: {
3
+ extends: string[];
4
+ rules: Linter.RulesRecord;
5
+ };
6
+ export = _default;
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ const config_1 = require("./storybook/config");
3
+ module.exports = {
4
+ ...config_1.config,
5
+ extends: [require.resolve('./react')],
6
+ };
7
+ //# sourceMappingURL=storybook.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"storybook.js","sourceRoot":"","sources":["../src/storybook.ts"],"names":[],"mappings":";AAEA,+CAA4C;AAE5C,iBAAS;IACP,GAAG,eAAM;IACT,OAAO,EAAE,CAAC,OAAO,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC;CACd,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@apitree.cz/eslint-config",
3
- "version": "0.3.3",
3
+ "version": "0.3.4",
4
4
  "description": "ESLint configuration for ApiTree projects.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -18,7 +18,8 @@
18
18
  "index.js",
19
19
  "nestjs.js",
20
20
  "nextjs.js",
21
- "react.js"
21
+ "react.js",
22
+ "storybook.js"
22
23
  ],
23
24
  "dependencies": {
24
25
  "@next/eslint-plugin-next": "^14.2.4",
package/storybook.js ADDED
@@ -0,0 +1 @@
1
+ module.exports = require('./dist/storybook');