@rotki/eslint-config 2.6.0 → 2.8.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.
- package/dist/index.cjs +1 -56
- package/dist/index.d.cts +3 -30
- package/dist/index.d.ts +3 -30
- package/dist/index.js +1 -55
- package/package.json +40 -45
package/dist/index.cjs
CHANGED
|
@@ -86,7 +86,6 @@ __export(src_exports, {
|
|
|
86
86
|
unicorn: () => unicorn,
|
|
87
87
|
vue: () => vue,
|
|
88
88
|
vueI18n: () => vueI18n,
|
|
89
|
-
vuetify: () => vuetify,
|
|
90
89
|
yaml: () => yaml
|
|
91
90
|
});
|
|
92
91
|
module.exports = __toCommonJS(src_exports);
|
|
@@ -1997,51 +1996,6 @@ async function vueI18n(options = {}) {
|
|
|
1997
1996
|
];
|
|
1998
1997
|
}
|
|
1999
1998
|
|
|
2000
|
-
// src/configs/vuetify.ts
|
|
2001
|
-
var import_globals5 = __toESM(require("globals"), 1);
|
|
2002
|
-
async function vuetify(options = {}) {
|
|
2003
|
-
const {
|
|
2004
|
-
files = [GLOB_SRC, GLOB_VUE],
|
|
2005
|
-
overrides = {}
|
|
2006
|
-
} = options;
|
|
2007
|
-
await ensurePackages(["eslint-plugin-vuetify"]);
|
|
2008
|
-
const [pluginVuetify, parserVue] = await Promise.all([
|
|
2009
|
-
interopDefault(import("eslint-plugin-vuetify")),
|
|
2010
|
-
interopDefault(import("vue-eslint-parser"))
|
|
2011
|
-
]);
|
|
2012
|
-
return [
|
|
2013
|
-
{
|
|
2014
|
-
plugins: {
|
|
2015
|
-
vuetify: pluginVuetify
|
|
2016
|
-
}
|
|
2017
|
-
},
|
|
2018
|
-
{
|
|
2019
|
-
files,
|
|
2020
|
-
languageOptions: {
|
|
2021
|
-
globals: {
|
|
2022
|
-
...import_globals5.default.browser,
|
|
2023
|
-
...import_globals5.default.es2015
|
|
2024
|
-
},
|
|
2025
|
-
parser: parserVue,
|
|
2026
|
-
parserOptions: {
|
|
2027
|
-
ecmaFeatures: {
|
|
2028
|
-
jsx: true
|
|
2029
|
-
},
|
|
2030
|
-
ecmaVersion: 2022,
|
|
2031
|
-
extraFileExtensions: [".vue"],
|
|
2032
|
-
parser: options.typescript ? await interopDefault(import("@typescript-eslint/parser")) : null,
|
|
2033
|
-
sourceType: "module"
|
|
2034
|
-
}
|
|
2035
|
-
},
|
|
2036
|
-
rules: {
|
|
2037
|
-
...pluginVuetify.configs.base.rules,
|
|
2038
|
-
...pluginVuetify.configs.recommended.rules,
|
|
2039
|
-
...overrides
|
|
2040
|
-
}
|
|
2041
|
-
}
|
|
2042
|
-
];
|
|
2043
|
-
}
|
|
2044
|
-
|
|
2045
1999
|
// src/configs/yaml.ts
|
|
2046
2000
|
async function yaml(options = {}) {
|
|
2047
2001
|
const {
|
|
@@ -2175,8 +2129,7 @@ async function rotki(options = {}, ...userConfigs) {
|
|
|
2175
2129
|
storybook: enableStorybook,
|
|
2176
2130
|
typescript: enableTypeScript = (0, import_local_pkg2.isPackageExists)("typescript"),
|
|
2177
2131
|
vue: enableVue = VuePackages.some((i) => (0, import_local_pkg2.isPackageExists)(i)),
|
|
2178
|
-
vueI18n: enableVueI18n
|
|
2179
|
-
vuetify: enableVuetify
|
|
2132
|
+
vueI18n: enableVueI18n
|
|
2180
2133
|
} = options;
|
|
2181
2134
|
const stylisticOptions = options.stylistic === false ? false : typeof options.stylistic === "object" ? options.stylistic : {};
|
|
2182
2135
|
if (stylisticOptions && !("jsx" in stylisticOptions))
|
|
@@ -2246,13 +2199,6 @@ async function rotki(options = {}, ...userConfigs) {
|
|
|
2246
2199
|
typescript: !!enableTypeScript
|
|
2247
2200
|
}));
|
|
2248
2201
|
}
|
|
2249
|
-
if (enableVuetify) {
|
|
2250
|
-
configs.push(vuetify({
|
|
2251
|
-
...resolveSubOptions(options, "vuetify"),
|
|
2252
|
-
overrides: getOverrides(options, "vuetify"),
|
|
2253
|
-
typescript: !!enableTypeScript
|
|
2254
|
-
}));
|
|
2255
|
-
}
|
|
2256
2202
|
if (enableVueI18n) {
|
|
2257
2203
|
configs.push(vueI18n({
|
|
2258
2204
|
...resolveSubOptions(options, "vueI18n"),
|
|
@@ -2379,6 +2325,5 @@ var src_default = rotki;
|
|
|
2379
2325
|
unicorn,
|
|
2380
2326
|
vue,
|
|
2381
2327
|
vueI18n,
|
|
2382
|
-
vuetify,
|
|
2383
2328
|
yaml
|
|
2384
2329
|
});
|
package/dist/index.d.cts
CHANGED
|
@@ -65,22 +65,6 @@ interface UseStorybookTestingLibraryRule {
|
|
|
65
65
|
}
|
|
66
66
|
type StorybookRules = AwaitInteractionsRule & ContextInPlayFunctionRule & CsfComponentsRule & DefaultExportsRule & HierarchySeparatorRule & MetaInlinePropertiesRule & NoRedundantStoryNameRule & NoStoriesOfRule & NoTitlePropertyInMetaRule & NoUninstalledAddonRule & PreferPascalCaseRule & StoryExportsRule & UseStorybookExpectRule & UseStorybookTestingLibraryRule;
|
|
67
67
|
|
|
68
|
-
type ValidVLostConfiguration = [
|
|
69
|
-
{
|
|
70
|
-
allowModifiers?: boolean;
|
|
71
|
-
}
|
|
72
|
-
];
|
|
73
|
-
interface VuetifyRules {
|
|
74
|
-
'vue/valid-v-slot': RuleConfig<ValidVLostConfiguration>;
|
|
75
|
-
'vuetify/no-deprecated-classes': RuleConfig<[]>;
|
|
76
|
-
'vuetify/no-deprecated-colors': RuleConfig<[]>;
|
|
77
|
-
'vuetify/no-deprecated-components': RuleConfig<[]>;
|
|
78
|
-
'vuetify/no-deprecated-events': RuleConfig<[]>;
|
|
79
|
-
'vuetify/no-deprecated-props': RuleConfig<[]>;
|
|
80
|
-
'vuetify/no-deprecated-slots': RuleConfig<[]>;
|
|
81
|
-
'vuetify/grid-unknown-attributes': RuleConfig<[]>;
|
|
82
|
-
}
|
|
83
|
-
|
|
84
68
|
interface VueI18nRules {
|
|
85
69
|
'key-format-style': RuleConfig<['camelCase' | 'kebab-case' | 'snake_case', {
|
|
86
70
|
allowArray?: boolean;
|
|
@@ -249,7 +233,7 @@ type Rules = WrapRuleConfig<MergeIntersection<Prefix<RuleOptions, '@typescript-e
|
|
|
249
233
|
legacy?: boolean;
|
|
250
234
|
}]>;
|
|
251
235
|
'@rotki/no-legacy-library-import': RuleConfig<[]>;
|
|
252
|
-
} &
|
|
236
|
+
} & Prefix<VueI18nRules, '@intlify/vue-i18n/'> & Prefix<StorybookRules, 'storybook/'>>>;
|
|
253
237
|
type FlatConfigItem = Omit<FlatESLintConfigItem<Rules, false>, 'plugins'> & {
|
|
254
238
|
plugins?: Record<string, any>;
|
|
255
239
|
};
|
|
@@ -468,19 +452,10 @@ interface OptionsConfig extends OptionsComponentExts {
|
|
|
468
452
|
* @default false
|
|
469
453
|
*/
|
|
470
454
|
rotki?: boolean;
|
|
471
|
-
/**
|
|
472
|
-
* Enable vuetify linting support.
|
|
473
|
-
* Requires installing:
|
|
474
|
-
* - `eslint-plugin-vuetify`
|
|
475
|
-
*
|
|
476
|
-
*
|
|
477
|
-
* @default false
|
|
478
|
-
*/
|
|
479
|
-
vuetify?: boolean | OptionsOverrides;
|
|
480
455
|
/**
|
|
481
456
|
* Enable vue-i18n linting support.
|
|
482
457
|
* Requires installing:
|
|
483
|
-
* -
|
|
458
|
+
* - `@intlify/eslint-plugin-vue-i18n`
|
|
484
459
|
*
|
|
485
460
|
*
|
|
486
461
|
* @default false
|
|
@@ -549,8 +524,6 @@ declare function vue(options?: OptionsVue & OptionsHasTypeScript & OptionsOverri
|
|
|
549
524
|
|
|
550
525
|
declare function vueI18n(options?: OptionsHasTypeScript & OptionsIsInEditor & OptionsFiles & OptionsVueI18n): Promise<FlatConfigItem[]>;
|
|
551
526
|
|
|
552
|
-
declare function vuetify(options?: OptionsOverrides & OptionsHasTypeScript & OptionsFiles): Promise<FlatConfigItem[]>;
|
|
553
|
-
|
|
554
527
|
declare function yaml(options?: OptionsOverrides & OptionsStylistic & OptionsFiles): Promise<FlatConfigItem[]>;
|
|
555
528
|
|
|
556
529
|
declare const GLOB_SRC_EXT = "?([cm])[jt]s?(x)";
|
|
@@ -582,4 +555,4 @@ declare const GLOB_LIB: "**/lib";
|
|
|
582
555
|
declare const GLOB_LOCKFILE: string[];
|
|
583
556
|
declare const GLOB_EXCLUDE: string[];
|
|
584
557
|
|
|
585
|
-
export { GLOB_ALL_SRC, GLOB_CSS, GLOB_CYPRESS, GLOB_DIST, GLOB_EXCLUDE, GLOB_HTML, GLOB_JS, GLOB_JSON, GLOB_JSON5, GLOB_JSONC, GLOB_JSX, GLOB_LESS, GLOB_LIB, GLOB_LOCKFILE, GLOB_MARKDOWN, GLOB_MARKDOWN_CODE, GLOB_MARKDOWN_IN_MARKDOWN, GLOB_NODE_MODULES, GLOB_POSTCSS, GLOB_SCSS, GLOB_SRC, GLOB_SRC_EXT, GLOB_STYLE, GLOB_TESTS, GLOB_TS, GLOB_TSX, GLOB_VUE, GLOB_YAML, StylisticConfigDefaults, comments, cypress, rotki as default, formatters, ignores, imports, javascript, jsonc, markdown, node, perfectionist, rotkiPlugin, sortPackageJson, sortTsconfig, stylistic, test, typescript, unicorn, vue, vueI18n,
|
|
558
|
+
export { GLOB_ALL_SRC, GLOB_CSS, GLOB_CYPRESS, GLOB_DIST, GLOB_EXCLUDE, GLOB_HTML, GLOB_JS, GLOB_JSON, GLOB_JSON5, GLOB_JSONC, GLOB_JSX, GLOB_LESS, GLOB_LIB, GLOB_LOCKFILE, GLOB_MARKDOWN, GLOB_MARKDOWN_CODE, GLOB_MARKDOWN_IN_MARKDOWN, GLOB_NODE_MODULES, GLOB_POSTCSS, GLOB_SCSS, GLOB_SRC, GLOB_SRC_EXT, GLOB_STYLE, GLOB_TESTS, GLOB_TS, GLOB_TSX, GLOB_VUE, GLOB_YAML, StylisticConfigDefaults, comments, cypress, rotki as default, formatters, ignores, imports, javascript, jsonc, markdown, node, perfectionist, rotkiPlugin, sortPackageJson, sortTsconfig, stylistic, test, typescript, unicorn, vue, vueI18n, yaml };
|
package/dist/index.d.ts
CHANGED
|
@@ -65,22 +65,6 @@ interface UseStorybookTestingLibraryRule {
|
|
|
65
65
|
}
|
|
66
66
|
type StorybookRules = AwaitInteractionsRule & ContextInPlayFunctionRule & CsfComponentsRule & DefaultExportsRule & HierarchySeparatorRule & MetaInlinePropertiesRule & NoRedundantStoryNameRule & NoStoriesOfRule & NoTitlePropertyInMetaRule & NoUninstalledAddonRule & PreferPascalCaseRule & StoryExportsRule & UseStorybookExpectRule & UseStorybookTestingLibraryRule;
|
|
67
67
|
|
|
68
|
-
type ValidVLostConfiguration = [
|
|
69
|
-
{
|
|
70
|
-
allowModifiers?: boolean;
|
|
71
|
-
}
|
|
72
|
-
];
|
|
73
|
-
interface VuetifyRules {
|
|
74
|
-
'vue/valid-v-slot': RuleConfig<ValidVLostConfiguration>;
|
|
75
|
-
'vuetify/no-deprecated-classes': RuleConfig<[]>;
|
|
76
|
-
'vuetify/no-deprecated-colors': RuleConfig<[]>;
|
|
77
|
-
'vuetify/no-deprecated-components': RuleConfig<[]>;
|
|
78
|
-
'vuetify/no-deprecated-events': RuleConfig<[]>;
|
|
79
|
-
'vuetify/no-deprecated-props': RuleConfig<[]>;
|
|
80
|
-
'vuetify/no-deprecated-slots': RuleConfig<[]>;
|
|
81
|
-
'vuetify/grid-unknown-attributes': RuleConfig<[]>;
|
|
82
|
-
}
|
|
83
|
-
|
|
84
68
|
interface VueI18nRules {
|
|
85
69
|
'key-format-style': RuleConfig<['camelCase' | 'kebab-case' | 'snake_case', {
|
|
86
70
|
allowArray?: boolean;
|
|
@@ -249,7 +233,7 @@ type Rules = WrapRuleConfig<MergeIntersection<Prefix<RuleOptions, '@typescript-e
|
|
|
249
233
|
legacy?: boolean;
|
|
250
234
|
}]>;
|
|
251
235
|
'@rotki/no-legacy-library-import': RuleConfig<[]>;
|
|
252
|
-
} &
|
|
236
|
+
} & Prefix<VueI18nRules, '@intlify/vue-i18n/'> & Prefix<StorybookRules, 'storybook/'>>>;
|
|
253
237
|
type FlatConfigItem = Omit<FlatESLintConfigItem<Rules, false>, 'plugins'> & {
|
|
254
238
|
plugins?: Record<string, any>;
|
|
255
239
|
};
|
|
@@ -468,19 +452,10 @@ interface OptionsConfig extends OptionsComponentExts {
|
|
|
468
452
|
* @default false
|
|
469
453
|
*/
|
|
470
454
|
rotki?: boolean;
|
|
471
|
-
/**
|
|
472
|
-
* Enable vuetify linting support.
|
|
473
|
-
* Requires installing:
|
|
474
|
-
* - `eslint-plugin-vuetify`
|
|
475
|
-
*
|
|
476
|
-
*
|
|
477
|
-
* @default false
|
|
478
|
-
*/
|
|
479
|
-
vuetify?: boolean | OptionsOverrides;
|
|
480
455
|
/**
|
|
481
456
|
* Enable vue-i18n linting support.
|
|
482
457
|
* Requires installing:
|
|
483
|
-
* -
|
|
458
|
+
* - `@intlify/eslint-plugin-vue-i18n`
|
|
484
459
|
*
|
|
485
460
|
*
|
|
486
461
|
* @default false
|
|
@@ -549,8 +524,6 @@ declare function vue(options?: OptionsVue & OptionsHasTypeScript & OptionsOverri
|
|
|
549
524
|
|
|
550
525
|
declare function vueI18n(options?: OptionsHasTypeScript & OptionsIsInEditor & OptionsFiles & OptionsVueI18n): Promise<FlatConfigItem[]>;
|
|
551
526
|
|
|
552
|
-
declare function vuetify(options?: OptionsOverrides & OptionsHasTypeScript & OptionsFiles): Promise<FlatConfigItem[]>;
|
|
553
|
-
|
|
554
527
|
declare function yaml(options?: OptionsOverrides & OptionsStylistic & OptionsFiles): Promise<FlatConfigItem[]>;
|
|
555
528
|
|
|
556
529
|
declare const GLOB_SRC_EXT = "?([cm])[jt]s?(x)";
|
|
@@ -582,4 +555,4 @@ declare const GLOB_LIB: "**/lib";
|
|
|
582
555
|
declare const GLOB_LOCKFILE: string[];
|
|
583
556
|
declare const GLOB_EXCLUDE: string[];
|
|
584
557
|
|
|
585
|
-
export { GLOB_ALL_SRC, GLOB_CSS, GLOB_CYPRESS, GLOB_DIST, GLOB_EXCLUDE, GLOB_HTML, GLOB_JS, GLOB_JSON, GLOB_JSON5, GLOB_JSONC, GLOB_JSX, GLOB_LESS, GLOB_LIB, GLOB_LOCKFILE, GLOB_MARKDOWN, GLOB_MARKDOWN_CODE, GLOB_MARKDOWN_IN_MARKDOWN, GLOB_NODE_MODULES, GLOB_POSTCSS, GLOB_SCSS, GLOB_SRC, GLOB_SRC_EXT, GLOB_STYLE, GLOB_TESTS, GLOB_TS, GLOB_TSX, GLOB_VUE, GLOB_YAML, StylisticConfigDefaults, comments, cypress, rotki as default, formatters, ignores, imports, javascript, jsonc, markdown, node, perfectionist, rotkiPlugin, sortPackageJson, sortTsconfig, stylistic, test, typescript, unicorn, vue, vueI18n,
|
|
558
|
+
export { GLOB_ALL_SRC, GLOB_CSS, GLOB_CYPRESS, GLOB_DIST, GLOB_EXCLUDE, GLOB_HTML, GLOB_JS, GLOB_JSON, GLOB_JSON5, GLOB_JSONC, GLOB_JSX, GLOB_LESS, GLOB_LIB, GLOB_LOCKFILE, GLOB_MARKDOWN, GLOB_MARKDOWN_CODE, GLOB_MARKDOWN_IN_MARKDOWN, GLOB_NODE_MODULES, GLOB_POSTCSS, GLOB_SCSS, GLOB_SRC, GLOB_SRC_EXT, GLOB_STYLE, GLOB_TESTS, GLOB_TS, GLOB_TSX, GLOB_VUE, GLOB_YAML, StylisticConfigDefaults, comments, cypress, rotki as default, formatters, ignores, imports, javascript, jsonc, markdown, node, perfectionist, rotkiPlugin, sortPackageJson, sortTsconfig, stylistic, test, typescript, unicorn, vue, vueI18n, yaml };
|
package/dist/index.js
CHANGED
|
@@ -1904,51 +1904,6 @@ async function vueI18n(options = {}) {
|
|
|
1904
1904
|
];
|
|
1905
1905
|
}
|
|
1906
1906
|
|
|
1907
|
-
// src/configs/vuetify.ts
|
|
1908
|
-
import globals5 from "globals";
|
|
1909
|
-
async function vuetify(options = {}) {
|
|
1910
|
-
const {
|
|
1911
|
-
files = [GLOB_SRC, GLOB_VUE],
|
|
1912
|
-
overrides = {}
|
|
1913
|
-
} = options;
|
|
1914
|
-
await ensurePackages(["eslint-plugin-vuetify"]);
|
|
1915
|
-
const [pluginVuetify, parserVue] = await Promise.all([
|
|
1916
|
-
interopDefault(import("eslint-plugin-vuetify")),
|
|
1917
|
-
interopDefault(import("vue-eslint-parser"))
|
|
1918
|
-
]);
|
|
1919
|
-
return [
|
|
1920
|
-
{
|
|
1921
|
-
plugins: {
|
|
1922
|
-
vuetify: pluginVuetify
|
|
1923
|
-
}
|
|
1924
|
-
},
|
|
1925
|
-
{
|
|
1926
|
-
files,
|
|
1927
|
-
languageOptions: {
|
|
1928
|
-
globals: {
|
|
1929
|
-
...globals5.browser,
|
|
1930
|
-
...globals5.es2015
|
|
1931
|
-
},
|
|
1932
|
-
parser: parserVue,
|
|
1933
|
-
parserOptions: {
|
|
1934
|
-
ecmaFeatures: {
|
|
1935
|
-
jsx: true
|
|
1936
|
-
},
|
|
1937
|
-
ecmaVersion: 2022,
|
|
1938
|
-
extraFileExtensions: [".vue"],
|
|
1939
|
-
parser: options.typescript ? await interopDefault(import("@typescript-eslint/parser")) : null,
|
|
1940
|
-
sourceType: "module"
|
|
1941
|
-
}
|
|
1942
|
-
},
|
|
1943
|
-
rules: {
|
|
1944
|
-
...pluginVuetify.configs.base.rules,
|
|
1945
|
-
...pluginVuetify.configs.recommended.rules,
|
|
1946
|
-
...overrides
|
|
1947
|
-
}
|
|
1948
|
-
}
|
|
1949
|
-
];
|
|
1950
|
-
}
|
|
1951
|
-
|
|
1952
1907
|
// src/configs/yaml.ts
|
|
1953
1908
|
async function yaml(options = {}) {
|
|
1954
1909
|
const {
|
|
@@ -2082,8 +2037,7 @@ async function rotki(options = {}, ...userConfigs) {
|
|
|
2082
2037
|
storybook: enableStorybook,
|
|
2083
2038
|
typescript: enableTypeScript = isPackageExists2("typescript"),
|
|
2084
2039
|
vue: enableVue = VuePackages.some((i) => isPackageExists2(i)),
|
|
2085
|
-
vueI18n: enableVueI18n
|
|
2086
|
-
vuetify: enableVuetify
|
|
2040
|
+
vueI18n: enableVueI18n
|
|
2087
2041
|
} = options;
|
|
2088
2042
|
const stylisticOptions = options.stylistic === false ? false : typeof options.stylistic === "object" ? options.stylistic : {};
|
|
2089
2043
|
if (stylisticOptions && !("jsx" in stylisticOptions))
|
|
@@ -2153,13 +2107,6 @@ async function rotki(options = {}, ...userConfigs) {
|
|
|
2153
2107
|
typescript: !!enableTypeScript
|
|
2154
2108
|
}));
|
|
2155
2109
|
}
|
|
2156
|
-
if (enableVuetify) {
|
|
2157
|
-
configs.push(vuetify({
|
|
2158
|
-
...resolveSubOptions(options, "vuetify"),
|
|
2159
|
-
overrides: getOverrides(options, "vuetify"),
|
|
2160
|
-
typescript: !!enableTypeScript
|
|
2161
|
-
}));
|
|
2162
|
-
}
|
|
2163
2110
|
if (enableVueI18n) {
|
|
2164
2111
|
configs.push(vueI18n({
|
|
2165
2112
|
...resolveSubOptions(options, "vueI18n"),
|
|
@@ -2286,6 +2233,5 @@ export {
|
|
|
2286
2233
|
unicorn,
|
|
2287
2234
|
vue,
|
|
2288
2235
|
vueI18n,
|
|
2289
|
-
vuetify,
|
|
2290
2236
|
yaml
|
|
2291
2237
|
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rotki/eslint-config",
|
|
3
|
-
"version": "2.
|
|
4
|
-
"packageManager": "pnpm@8.15.5",
|
|
3
|
+
"version": "2.8.0",
|
|
5
4
|
"type": "module",
|
|
6
5
|
"license": "AGPL-3.0",
|
|
7
6
|
"bugs": {
|
|
@@ -24,12 +23,11 @@
|
|
|
24
23
|
}
|
|
25
24
|
},
|
|
26
25
|
"peerDependencies": {
|
|
27
|
-
"@intlify/eslint-plugin-vue-i18n": "^2.0.0",
|
|
26
|
+
"@intlify/eslint-plugin-vue-i18n": "^2.0.0 || ^3.0.0",
|
|
28
27
|
"@rotki/eslint-plugin": ">=0.2.1",
|
|
29
|
-
"eslint": ">=8.
|
|
28
|
+
"eslint": ">=8.57.0",
|
|
30
29
|
"eslint-plugin-cypress": ">=2.15.0",
|
|
31
|
-
"eslint-plugin-storybook": "^0.6.15"
|
|
32
|
-
"eslint-plugin-vuetify": "^1 || ^2"
|
|
30
|
+
"eslint-plugin-storybook": "^0.6.15 || ^0.8.0"
|
|
33
31
|
},
|
|
34
32
|
"peerDependenciesMeta": {
|
|
35
33
|
"@intlify/eslint-plugin-vue-i18n": {
|
|
@@ -43,66 +41,63 @@
|
|
|
43
41
|
},
|
|
44
42
|
"eslint-plugin-storybook": {
|
|
45
43
|
"optional": true
|
|
46
|
-
},
|
|
47
|
-
"eslint-plugin-vuetify": {
|
|
48
|
-
"optional": true
|
|
49
44
|
}
|
|
50
45
|
},
|
|
51
46
|
"dependencies": {
|
|
52
47
|
"@antfu/eslint-define-config": "1.23.0-2",
|
|
53
|
-
"@antfu/install-pkg": "0.3.
|
|
54
|
-
"@eslint-types/typescript-eslint": "7.
|
|
55
|
-
"@eslint-types/unicorn": "
|
|
56
|
-
"@stylistic/eslint-plugin": "1.
|
|
57
|
-
"@typescript-eslint/eslint-plugin": "7.
|
|
58
|
-
"@typescript-eslint/parser": "7.
|
|
59
|
-
"eslint-config-flat-gitignore": "0.1.
|
|
48
|
+
"@antfu/install-pkg": "0.3.3",
|
|
49
|
+
"@eslint-types/typescript-eslint": "7.5.0",
|
|
50
|
+
"@eslint-types/unicorn": "52.0.0",
|
|
51
|
+
"@stylistic/eslint-plugin": "2.1.0",
|
|
52
|
+
"@typescript-eslint/eslint-plugin": "7.13.0",
|
|
53
|
+
"@typescript-eslint/parser": "7.13.0",
|
|
54
|
+
"eslint-config-flat-gitignore": "0.1.5",
|
|
60
55
|
"eslint-config-prettier": "9.1.0",
|
|
61
56
|
"eslint-merge-processors": "0.1.0",
|
|
62
|
-
"eslint-plugin-antfu": "2.
|
|
57
|
+
"eslint-plugin-antfu": "2.3.3",
|
|
63
58
|
"eslint-plugin-eslint-comments": "3.2.0",
|
|
64
|
-
"eslint-plugin-format": "0.1.
|
|
65
|
-
"eslint-plugin-html": "8.
|
|
66
|
-
"eslint-plugin-import-x": "0.
|
|
67
|
-
"eslint-plugin-jsonc": "2.
|
|
68
|
-
"eslint-plugin-markdown": "
|
|
69
|
-
"eslint-plugin-n": "
|
|
59
|
+
"eslint-plugin-format": "0.1.1",
|
|
60
|
+
"eslint-plugin-html": "8.1.1",
|
|
61
|
+
"eslint-plugin-import-x": "0.5.1",
|
|
62
|
+
"eslint-plugin-jsonc": "2.16.0",
|
|
63
|
+
"eslint-plugin-markdown": "5.0.0",
|
|
64
|
+
"eslint-plugin-n": "17.8.1",
|
|
70
65
|
"eslint-plugin-no-only-tests": "3.1.0",
|
|
71
|
-
"eslint-plugin-perfectionist": "2.
|
|
66
|
+
"eslint-plugin-perfectionist": "2.10.0",
|
|
72
67
|
"eslint-plugin-prettier": "5.1.3",
|
|
73
|
-
"eslint-plugin-unicorn": "
|
|
74
|
-
"eslint-plugin-unused-imports": "3.
|
|
75
|
-
"eslint-plugin-vitest": "0.
|
|
76
|
-
"eslint-plugin-vue": "9.
|
|
77
|
-
"eslint-plugin-yml": "1.
|
|
78
|
-
"eslint-processor-vue-blocks": "0.1.
|
|
79
|
-
"globals": "
|
|
68
|
+
"eslint-plugin-unicorn": "53.0.0",
|
|
69
|
+
"eslint-plugin-unused-imports": "3.2.0",
|
|
70
|
+
"eslint-plugin-vitest": "0.5.4",
|
|
71
|
+
"eslint-plugin-vue": "9.26.0",
|
|
72
|
+
"eslint-plugin-yml": "1.14.0",
|
|
73
|
+
"eslint-processor-vue-blocks": "0.1.2",
|
|
74
|
+
"globals": "15.4.0",
|
|
80
75
|
"jsonc-eslint-parser": "2.4.0",
|
|
81
76
|
"local-pkg": "0.5.0",
|
|
82
|
-
"prettier": "3.2
|
|
77
|
+
"prettier": "3.3.2",
|
|
83
78
|
"prompts": "2.4.2",
|
|
84
|
-
"vue-eslint-parser": "9.4.
|
|
85
|
-
"yaml-eslint-parser": "1.2.
|
|
79
|
+
"vue-eslint-parser": "9.4.3",
|
|
80
|
+
"yaml-eslint-parser": "1.2.3"
|
|
86
81
|
},
|
|
87
82
|
"devDependencies": {
|
|
88
|
-
"@commitlint/cli": "19.
|
|
89
|
-
"@commitlint/config-conventional": "19.
|
|
83
|
+
"@commitlint/cli": "19.3.0",
|
|
84
|
+
"@commitlint/config-conventional": "19.2.2",
|
|
90
85
|
"@rotki/eslint-config": "*",
|
|
91
|
-
"@types/eslint": "8.56.
|
|
92
|
-
"@types/node": "20.
|
|
86
|
+
"@types/eslint": "8.56.10",
|
|
87
|
+
"@types/node": "20.14.2",
|
|
93
88
|
"@types/prompts": "2.4.9",
|
|
94
|
-
"bumpp": "9.4.
|
|
89
|
+
"bumpp": "9.4.1",
|
|
95
90
|
"eslint": "8.57.0",
|
|
96
|
-
"eslint-flat-config-viewer": "0.1.
|
|
91
|
+
"eslint-flat-config-viewer": "0.1.20",
|
|
97
92
|
"husky": "9.0.11",
|
|
98
|
-
"lint-staged": "15.2.
|
|
99
|
-
"rimraf": "5.0.
|
|
100
|
-
"tsup": "8.0
|
|
101
|
-
"typescript": "5.4.
|
|
93
|
+
"lint-staged": "15.2.6",
|
|
94
|
+
"rimraf": "5.0.7",
|
|
95
|
+
"tsup": "8.1.0",
|
|
96
|
+
"typescript": "5.4.5"
|
|
102
97
|
},
|
|
103
98
|
"engines": {
|
|
104
99
|
"node": ">=20 <21",
|
|
105
|
-
"pnpm": ">=
|
|
100
|
+
"pnpm": ">=9 <10"
|
|
106
101
|
},
|
|
107
102
|
"lint-staged": {
|
|
108
103
|
"*.{js,ts,vue,json,md}": "eslint"
|