@saasmakers/eslint 0.1.60 → 0.1.62
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 +10747 -1
- package/dist/eslint.config.d.cts +37 -1
- package/dist/eslint.config.d.mts +37 -1
- package/dist/eslint.config.d.ts +37 -1
- package/dist/eslint.config.mjs +10732 -1
- package/dist/index.cjs +6 -14109
- package/dist/index.mjs +3 -14101
- package/dist/shared/eslint.CohBuu1-.mjs +14103 -0
- package/dist/shared/eslint.DhFjwkxh.cjs +14110 -0
- package/package.json +2 -2
package/dist/eslint.config.d.cts
CHANGED
|
@@ -1,13 +1,49 @@
|
|
|
1
1
|
import antfu from '@antfu/eslint-config';
|
|
2
|
+
import { Linter, ESLint } from 'eslint';
|
|
2
3
|
import storybook from 'eslint-plugin-storybook';
|
|
3
4
|
|
|
5
|
+
interface PluginConfigs extends Record<
|
|
6
|
+
string,
|
|
7
|
+
Linter.LegacyConfig | Linter.Config[] | Linter.Config
|
|
8
|
+
> {
|
|
9
|
+
'recommended-alphabetical-legacy': Linter.LegacyConfig
|
|
10
|
+
'recommended-line-length-legacy': Linter.LegacyConfig
|
|
11
|
+
'recommended-natural-legacy': Linter.LegacyConfig
|
|
12
|
+
'recommended-custom-legacy': Linter.LegacyConfig
|
|
13
|
+
'recommended-alphabetical': Linter.Config
|
|
14
|
+
'recommended-line-length': Linter.Config
|
|
15
|
+
'recommended-natural': Linter.Config
|
|
16
|
+
'recommended-custom': Linter.Config
|
|
17
|
+
}
|
|
18
|
+
declare const _default: {
|
|
19
|
+
configs: PluginConfigs
|
|
20
|
+
} & ESLint.Plugin
|
|
21
|
+
|
|
4
22
|
var eslint_config = antfu(
|
|
5
23
|
// Antfu ESLint config
|
|
6
24
|
{
|
|
25
|
+
ignores: [
|
|
26
|
+
"**/.nuxt",
|
|
27
|
+
"**/.output",
|
|
28
|
+
"**/.turbo",
|
|
29
|
+
"**/ace.js",
|
|
30
|
+
"**/android",
|
|
31
|
+
"**/build",
|
|
32
|
+
"**/coverage",
|
|
33
|
+
"**/dbschema",
|
|
34
|
+
"**/dist",
|
|
35
|
+
"**/dumps/*.json",
|
|
36
|
+
"**/ios",
|
|
37
|
+
"node_modules"
|
|
38
|
+
],
|
|
7
39
|
typescript: true,
|
|
8
40
|
unocss: true,
|
|
9
|
-
vue:
|
|
41
|
+
vue: {
|
|
42
|
+
a11y: true
|
|
43
|
+
}
|
|
10
44
|
},
|
|
45
|
+
// ESLint plugins we use
|
|
46
|
+
_default.configs["recommended-natural"],
|
|
11
47
|
...storybook.configs["flat/recommended"],
|
|
12
48
|
// Override rules defined by Antfu ESLint config
|
|
13
49
|
// Try to keep the disabled rules to a minimum
|
package/dist/eslint.config.d.mts
CHANGED
|
@@ -1,13 +1,49 @@
|
|
|
1
1
|
import antfu from '@antfu/eslint-config';
|
|
2
|
+
import { Linter, ESLint } from 'eslint';
|
|
2
3
|
import storybook from 'eslint-plugin-storybook';
|
|
3
4
|
|
|
5
|
+
interface PluginConfigs extends Record<
|
|
6
|
+
string,
|
|
7
|
+
Linter.LegacyConfig | Linter.Config[] | Linter.Config
|
|
8
|
+
> {
|
|
9
|
+
'recommended-alphabetical-legacy': Linter.LegacyConfig
|
|
10
|
+
'recommended-line-length-legacy': Linter.LegacyConfig
|
|
11
|
+
'recommended-natural-legacy': Linter.LegacyConfig
|
|
12
|
+
'recommended-custom-legacy': Linter.LegacyConfig
|
|
13
|
+
'recommended-alphabetical': Linter.Config
|
|
14
|
+
'recommended-line-length': Linter.Config
|
|
15
|
+
'recommended-natural': Linter.Config
|
|
16
|
+
'recommended-custom': Linter.Config
|
|
17
|
+
}
|
|
18
|
+
declare const _default: {
|
|
19
|
+
configs: PluginConfigs
|
|
20
|
+
} & ESLint.Plugin
|
|
21
|
+
|
|
4
22
|
var eslint_config = antfu(
|
|
5
23
|
// Antfu ESLint config
|
|
6
24
|
{
|
|
25
|
+
ignores: [
|
|
26
|
+
"**/.nuxt",
|
|
27
|
+
"**/.output",
|
|
28
|
+
"**/.turbo",
|
|
29
|
+
"**/ace.js",
|
|
30
|
+
"**/android",
|
|
31
|
+
"**/build",
|
|
32
|
+
"**/coverage",
|
|
33
|
+
"**/dbschema",
|
|
34
|
+
"**/dist",
|
|
35
|
+
"**/dumps/*.json",
|
|
36
|
+
"**/ios",
|
|
37
|
+
"node_modules"
|
|
38
|
+
],
|
|
7
39
|
typescript: true,
|
|
8
40
|
unocss: true,
|
|
9
|
-
vue:
|
|
41
|
+
vue: {
|
|
42
|
+
a11y: true
|
|
43
|
+
}
|
|
10
44
|
},
|
|
45
|
+
// ESLint plugins we use
|
|
46
|
+
_default.configs["recommended-natural"],
|
|
11
47
|
...storybook.configs["flat/recommended"],
|
|
12
48
|
// Override rules defined by Antfu ESLint config
|
|
13
49
|
// Try to keep the disabled rules to a minimum
|
package/dist/eslint.config.d.ts
CHANGED
|
@@ -1,13 +1,49 @@
|
|
|
1
1
|
import antfu from '@antfu/eslint-config';
|
|
2
|
+
import { Linter, ESLint } from 'eslint';
|
|
2
3
|
import storybook from 'eslint-plugin-storybook';
|
|
3
4
|
|
|
5
|
+
interface PluginConfigs extends Record<
|
|
6
|
+
string,
|
|
7
|
+
Linter.LegacyConfig | Linter.Config[] | Linter.Config
|
|
8
|
+
> {
|
|
9
|
+
'recommended-alphabetical-legacy': Linter.LegacyConfig
|
|
10
|
+
'recommended-line-length-legacy': Linter.LegacyConfig
|
|
11
|
+
'recommended-natural-legacy': Linter.LegacyConfig
|
|
12
|
+
'recommended-custom-legacy': Linter.LegacyConfig
|
|
13
|
+
'recommended-alphabetical': Linter.Config
|
|
14
|
+
'recommended-line-length': Linter.Config
|
|
15
|
+
'recommended-natural': Linter.Config
|
|
16
|
+
'recommended-custom': Linter.Config
|
|
17
|
+
}
|
|
18
|
+
declare const _default: {
|
|
19
|
+
configs: PluginConfigs
|
|
20
|
+
} & ESLint.Plugin
|
|
21
|
+
|
|
4
22
|
var eslint_config = antfu(
|
|
5
23
|
// Antfu ESLint config
|
|
6
24
|
{
|
|
25
|
+
ignores: [
|
|
26
|
+
"**/.nuxt",
|
|
27
|
+
"**/.output",
|
|
28
|
+
"**/.turbo",
|
|
29
|
+
"**/ace.js",
|
|
30
|
+
"**/android",
|
|
31
|
+
"**/build",
|
|
32
|
+
"**/coverage",
|
|
33
|
+
"**/dbschema",
|
|
34
|
+
"**/dist",
|
|
35
|
+
"**/dumps/*.json",
|
|
36
|
+
"**/ios",
|
|
37
|
+
"node_modules"
|
|
38
|
+
],
|
|
7
39
|
typescript: true,
|
|
8
40
|
unocss: true,
|
|
9
|
-
vue:
|
|
41
|
+
vue: {
|
|
42
|
+
a11y: true
|
|
43
|
+
}
|
|
10
44
|
},
|
|
45
|
+
// ESLint plugins we use
|
|
46
|
+
_default.configs["recommended-natural"],
|
|
11
47
|
...storybook.configs["flat/recommended"],
|
|
12
48
|
// Override rules defined by Antfu ESLint config
|
|
13
49
|
// Try to keep the disabled rules to a minimum
|