@rotki/eslint-config 4.2.0 → 4.3.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.d.ts +4 -0
- package/dist/index.js +3 -4
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -14592,6 +14592,10 @@ interface OptionsVueI18n extends OptionsOverrides {
|
|
|
14592
14592
|
* Optional configuration for @intlify/vue-i18n/no-raw-text rule
|
|
14593
14593
|
*/
|
|
14594
14594
|
noRawTextIgnores?: VueI18nNoRawTextIgnores;
|
|
14595
|
+
/**
|
|
14596
|
+
* Specifies the configuration mode for @intlify/vue-i18n/no-unused-keys.
|
|
14597
|
+
*/
|
|
14598
|
+
enableNoUnusedKeys?: 'always' | 'ci' | 'never';
|
|
14595
14599
|
}
|
|
14596
14600
|
interface OptionsOverrides {
|
|
14597
14601
|
overrides?: TypedFlatConfigItem['rules'];
|
package/dist/index.js
CHANGED
|
@@ -552,7 +552,6 @@ async function imports(options = {}) {
|
|
|
552
552
|
"antfu/import-dedupe": "error",
|
|
553
553
|
"antfu/no-import-dist": "error",
|
|
554
554
|
"antfu/no-import-node-modules-by-path": "error",
|
|
555
|
-
"import/consistent-type-specifier-style": ["error", "top-level"],
|
|
556
555
|
"import/first": "error",
|
|
557
556
|
"import/no-default-export": "warn",
|
|
558
557
|
"import/no-duplicates": ["error", { "prefer-inline": true }],
|
|
@@ -185272,7 +185271,7 @@ async function vue(options = {}) {
|
|
|
185272
185271
|
//#endregion
|
|
185273
185272
|
//#region src/configs/vue-i18n.ts
|
|
185274
185273
|
async function vueI18n(options = {}) {
|
|
185275
|
-
const { files = [GLOB_TS, GLOB_VUE], ignores: ignores$1 = [], isInEditor = false, localesDirectory = "locales", noRawTextIgnores = {
|
|
185274
|
+
const { enableNoUnusedKeys = "never", files = [GLOB_TS, GLOB_VUE], ignores: ignores$1 = [], isInEditor = false, localesDirectory = "locales", noRawTextIgnores = {
|
|
185276
185275
|
nodes: [
|
|
185277
185276
|
"md-icon",
|
|
185278
185277
|
"v-icon",
|
|
@@ -185326,11 +185325,11 @@ async function vueI18n(options = {}) {
|
|
|
185326
185325
|
ignorePattern: noRawTextIgnores.pattern,
|
|
185327
185326
|
ignoreText: noRawTextIgnores.text
|
|
185328
185327
|
}],
|
|
185329
|
-
"@intlify/vue-i18n/no-unused-keys": ["error", {
|
|
185328
|
+
...enableNoUnusedKeys === "always" || enableNoUnusedKeys === "ci" && process$1.env.CI ? { "@intlify/vue-i18n/no-unused-keys": ["error", {
|
|
185330
185329
|
extensions: [".ts", ".vue"],
|
|
185331
185330
|
ignores: ignores$1,
|
|
185332
185331
|
src: path.join(".", src)
|
|
185333
|
-
}],
|
|
185332
|
+
}] } : {},
|
|
185334
185333
|
...overrides
|
|
185335
185334
|
},
|
|
185336
185335
|
settings: { "vue-i18n": {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rotki/eslint-config",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.3.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "AGPL-3.0",
|
|
6
6
|
"bugs": {
|
|
@@ -95,7 +95,7 @@
|
|
|
95
95
|
"tsdown": "0.12.9",
|
|
96
96
|
"tsx": "4.20.3",
|
|
97
97
|
"typescript": "5.8.2",
|
|
98
|
-
"@rotki/eslint-config": "4.
|
|
98
|
+
"@rotki/eslint-config": "4.3.0"
|
|
99
99
|
},
|
|
100
100
|
"engines": {
|
|
101
101
|
"node": ">=22 <23",
|