@saasmakers/eslint 0.1.53 → 0.1.55

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.
@@ -1,5 +1,22 @@
1
- import { Linter } from 'eslint';
1
+ import antfu from '@antfu/eslint-config';
2
+ import storybook from 'eslint-plugin-storybook';
2
3
 
3
- declare const config: Linter.Config[];
4
+ var eslint_config = antfu(
5
+ // Antfu ESLint config
6
+ {
7
+ typescript: true,
8
+ unocss: true,
9
+ vue: {
10
+ a11y: true
11
+ }
12
+ },
13
+ ...storybook.configs["flat/recommended"],
14
+ // Override rules defined by Antfu ESLint config
15
+ {
16
+ rules: {
17
+ "pnpm/yaml-enforce-settings": "off"
18
+ }
19
+ }
20
+ );
4
21
 
5
- export = config;
22
+ export = eslint_config;
@@ -1,5 +1,22 @@
1
- import { Linter } from 'eslint';
1
+ import antfu from '@antfu/eslint-config';
2
+ import storybook from 'eslint-plugin-storybook';
2
3
 
3
- declare const config: Linter.Config[];
4
+ var eslint_config = antfu(
5
+ // Antfu ESLint config
6
+ {
7
+ typescript: true,
8
+ unocss: true,
9
+ vue: {
10
+ a11y: true
11
+ }
12
+ },
13
+ ...storybook.configs["flat/recommended"],
14
+ // Override rules defined by Antfu ESLint config
15
+ {
16
+ rules: {
17
+ "pnpm/yaml-enforce-settings": "off"
18
+ }
19
+ }
20
+ );
4
21
 
5
- export { config as default };
22
+ export { eslint_config as default };
@@ -1,5 +1,22 @@
1
- import { Linter } from 'eslint';
1
+ import antfu from '@antfu/eslint-config';
2
+ import storybook from 'eslint-plugin-storybook';
2
3
 
3
- declare const config: Linter.Config[];
4
+ var eslint_config = antfu(
5
+ // Antfu ESLint config
6
+ {
7
+ typescript: true,
8
+ unocss: true,
9
+ vue: {
10
+ a11y: true
11
+ }
12
+ },
13
+ ...storybook.configs["flat/recommended"],
14
+ // Override rules defined by Antfu ESLint config
15
+ {
16
+ rules: {
17
+ "pnpm/yaml-enforce-settings": "off"
18
+ }
19
+ }
20
+ );
4
21
 
5
- export = config;
22
+ export = eslint_config;