@saasmakers/eslint 0.1.57 → 0.1.59
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.
package/dist/eslint.config.cjs
CHANGED
|
@@ -15,16 +15,17 @@ const eslint_config = antfu__default(
|
|
|
15
15
|
unocss: true,
|
|
16
16
|
vue: {
|
|
17
17
|
a11y: true
|
|
18
|
-
}
|
|
19
|
-
ignores: [
|
|
20
|
-
"apps/api/ace.js"
|
|
21
|
-
]
|
|
18
|
+
}
|
|
22
19
|
},
|
|
23
20
|
...storybook__default.configs["flat/recommended"],
|
|
24
21
|
// Override rules defined by Antfu ESLint config
|
|
22
|
+
// Try to keep the disabled rules to a minimum
|
|
25
23
|
{
|
|
26
24
|
rules: {
|
|
27
|
-
"
|
|
25
|
+
"antfu/no-top-level-await": "off",
|
|
26
|
+
"node/prefer-global/process": "off",
|
|
27
|
+
"pnpm/yaml-enforce-settings": "off",
|
|
28
|
+
"ts/no-use-before-define": "off"
|
|
28
29
|
}
|
|
29
30
|
}
|
|
30
31
|
);
|
package/dist/eslint.config.d.cts
CHANGED
|
@@ -8,16 +8,17 @@ var eslint_config = antfu(
|
|
|
8
8
|
unocss: true,
|
|
9
9
|
vue: {
|
|
10
10
|
a11y: true
|
|
11
|
-
}
|
|
12
|
-
ignores: [
|
|
13
|
-
"apps/api/ace.js"
|
|
14
|
-
]
|
|
11
|
+
}
|
|
15
12
|
},
|
|
16
13
|
...storybook.configs["flat/recommended"],
|
|
17
14
|
// Override rules defined by Antfu ESLint config
|
|
15
|
+
// Try to keep the disabled rules to a minimum
|
|
18
16
|
{
|
|
19
17
|
rules: {
|
|
20
|
-
"
|
|
18
|
+
"antfu/no-top-level-await": "off",
|
|
19
|
+
"node/prefer-global/process": "off",
|
|
20
|
+
"pnpm/yaml-enforce-settings": "off",
|
|
21
|
+
"ts/no-use-before-define": "off"
|
|
21
22
|
}
|
|
22
23
|
}
|
|
23
24
|
);
|
package/dist/eslint.config.d.mts
CHANGED
|
@@ -8,16 +8,17 @@ var eslint_config = antfu(
|
|
|
8
8
|
unocss: true,
|
|
9
9
|
vue: {
|
|
10
10
|
a11y: true
|
|
11
|
-
}
|
|
12
|
-
ignores: [
|
|
13
|
-
"apps/api/ace.js"
|
|
14
|
-
]
|
|
11
|
+
}
|
|
15
12
|
},
|
|
16
13
|
...storybook.configs["flat/recommended"],
|
|
17
14
|
// Override rules defined by Antfu ESLint config
|
|
15
|
+
// Try to keep the disabled rules to a minimum
|
|
18
16
|
{
|
|
19
17
|
rules: {
|
|
20
|
-
"
|
|
18
|
+
"antfu/no-top-level-await": "off",
|
|
19
|
+
"node/prefer-global/process": "off",
|
|
20
|
+
"pnpm/yaml-enforce-settings": "off",
|
|
21
|
+
"ts/no-use-before-define": "off"
|
|
21
22
|
}
|
|
22
23
|
}
|
|
23
24
|
);
|
package/dist/eslint.config.d.ts
CHANGED
|
@@ -8,16 +8,17 @@ var eslint_config = antfu(
|
|
|
8
8
|
unocss: true,
|
|
9
9
|
vue: {
|
|
10
10
|
a11y: true
|
|
11
|
-
}
|
|
12
|
-
ignores: [
|
|
13
|
-
"apps/api/ace.js"
|
|
14
|
-
]
|
|
11
|
+
}
|
|
15
12
|
},
|
|
16
13
|
...storybook.configs["flat/recommended"],
|
|
17
14
|
// Override rules defined by Antfu ESLint config
|
|
15
|
+
// Try to keep the disabled rules to a minimum
|
|
18
16
|
{
|
|
19
17
|
rules: {
|
|
20
|
-
"
|
|
18
|
+
"antfu/no-top-level-await": "off",
|
|
19
|
+
"node/prefer-global/process": "off",
|
|
20
|
+
"pnpm/yaml-enforce-settings": "off",
|
|
21
|
+
"ts/no-use-before-define": "off"
|
|
21
22
|
}
|
|
22
23
|
}
|
|
23
24
|
);
|
package/dist/eslint.config.mjs
CHANGED
|
@@ -8,16 +8,17 @@ const eslint_config = antfu(
|
|
|
8
8
|
unocss: true,
|
|
9
9
|
vue: {
|
|
10
10
|
a11y: true
|
|
11
|
-
}
|
|
12
|
-
ignores: [
|
|
13
|
-
"apps/api/ace.js"
|
|
14
|
-
]
|
|
11
|
+
}
|
|
15
12
|
},
|
|
16
13
|
...storybook.configs["flat/recommended"],
|
|
17
14
|
// Override rules defined by Antfu ESLint config
|
|
15
|
+
// Try to keep the disabled rules to a minimum
|
|
18
16
|
{
|
|
19
17
|
rules: {
|
|
20
|
-
"
|
|
18
|
+
"antfu/no-top-level-await": "off",
|
|
19
|
+
"node/prefer-global/process": "off",
|
|
20
|
+
"pnpm/yaml-enforce-settings": "off",
|
|
21
|
+
"ts/no-use-before-define": "off"
|
|
21
22
|
}
|
|
22
23
|
}
|
|
23
24
|
);
|