eslint-plugin-intlayer 9.7.1 → 9.7.3
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/types/index.d.ts +1 -1
- package/dist/types/index.d.ts.map +1 -1
- package/package.json +29 -29
package/dist/types/index.d.ts
CHANGED
|
@@ -2,8 +2,8 @@ import { IntlayerRule } from "./utils/createRule.js";
|
|
|
2
2
|
import { GENERATED_OUTPUT_GLOBS, PLUGIN_NAMESPACE, PLUGIN_PACKAGE_NAME, RECOMMENDED_RULES, getRecommendedRules } from "./preset.js";
|
|
3
3
|
import { NoRawTextOptions } from "./rules/noRawText.js";
|
|
4
4
|
import { NoUnusedContentOptions } from "./rules/noUnusedContent.js";
|
|
5
|
-
import { getReactVersion } from "./utils/reactVersion.js";
|
|
6
5
|
import "./index.js";
|
|
6
|
+
import { getReactVersion } from "./utils/reactVersion.js";
|
|
7
7
|
import { ESLint, Linter } from "eslint";
|
|
8
8
|
/**
|
|
9
9
|
* Every rule this plugin ships, keyed by the name used in configuration.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","names":["_$_0.NoRawTextOptions"
|
|
1
|
+
{"version":3,"file":"index.d.ts","names":["_$_0.NoRawTextOptions"],"sources":["../../src/index.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;qBA+Ba;E,6BAAAA;;;;;;;YASD,gCAAgC;cAEtC;EAAQ;EAAc;;;YAQhB;;;;;;;;;;;;;;;;;;;;;;;;;;qBA4DC,SAAS,OAAO,oBAAoB,OAAO;;YA2B5C,iBAAiB,OAAO,SAClC,SAAS,OAAO;EACd;IAAQ;IAAc;;EACtB,cAAc;EACd,SAAS,OAAO,oBAAoB,OAAO;;cAGzC,gBAAgB"}
|
package/package.json
CHANGED
|
@@ -1,26 +1,22 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eslint-plugin-intlayer",
|
|
3
|
-
"version": "9.7.
|
|
3
|
+
"version": "9.7.3",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "ESLint (and oxlint) plugin for Intlayer. Catches untranslated strings and the dynamic call shapes the Intlayer compiler cannot optimize.",
|
|
6
6
|
"keywords": [
|
|
7
|
-
"intlayer",
|
|
8
7
|
"eslint",
|
|
9
|
-
"eslintplugin",
|
|
10
8
|
"eslint-plugin",
|
|
11
|
-
"
|
|
9
|
+
"eslintplugin",
|
|
12
10
|
"i18n",
|
|
13
11
|
"internationalization",
|
|
14
|
-
"
|
|
12
|
+
"intlayer",
|
|
13
|
+
"lint",
|
|
14
|
+
"oxlint"
|
|
15
15
|
],
|
|
16
16
|
"homepage": "https://intlayer.org",
|
|
17
17
|
"bugs": {
|
|
18
18
|
"url": "https://github.com/aymericzip/intlayer/issues"
|
|
19
19
|
},
|
|
20
|
-
"repository": {
|
|
21
|
-
"type": "git",
|
|
22
|
-
"url": "git+https://github.com/aymericzip/intlayer.git"
|
|
23
|
-
},
|
|
24
20
|
"license": "Apache-2.0",
|
|
25
21
|
"author": {
|
|
26
22
|
"name": "Aymeric PINEAU",
|
|
@@ -33,15 +29,15 @@
|
|
|
33
29
|
"url": "https://github.com/aymericzip"
|
|
34
30
|
}
|
|
35
31
|
],
|
|
36
|
-
"
|
|
37
|
-
|
|
38
|
-
"
|
|
39
|
-
"types": "./dist/types/index.d.ts",
|
|
40
|
-
"require": "./dist/cjs/index.cjs",
|
|
41
|
-
"import": "./dist/esm/index.mjs"
|
|
42
|
-
},
|
|
43
|
-
"./package.json": "./package.json"
|
|
32
|
+
"repository": {
|
|
33
|
+
"type": "git",
|
|
34
|
+
"url": "git+https://github.com/aymericzip/intlayer.git"
|
|
44
35
|
},
|
|
36
|
+
"files": [
|
|
37
|
+
"./dist",
|
|
38
|
+
"./package.json"
|
|
39
|
+
],
|
|
40
|
+
"sideEffects": false,
|
|
45
41
|
"main": "dist/cjs/index.cjs",
|
|
46
42
|
"module": "dist/esm/index.mjs",
|
|
47
43
|
"types": "dist/types/index.d.ts",
|
|
@@ -55,19 +51,23 @@
|
|
|
55
51
|
]
|
|
56
52
|
}
|
|
57
53
|
},
|
|
58
|
-
"
|
|
59
|
-
"
|
|
60
|
-
|
|
61
|
-
|
|
54
|
+
"exports": {
|
|
55
|
+
".": {
|
|
56
|
+
"types": "./dist/types/index.d.ts",
|
|
57
|
+
"require": "./dist/cjs/index.cjs",
|
|
58
|
+
"import": "./dist/esm/index.mjs"
|
|
59
|
+
},
|
|
60
|
+
"./package.json": "./package.json"
|
|
61
|
+
},
|
|
62
62
|
"scripts": {
|
|
63
63
|
"build": "bun --bun tsdown --config tsdown.config.ts",
|
|
64
64
|
"build:ci": "bun --bun tsdown --config tsdown.config.ts",
|
|
65
65
|
"clean": "bun --bun rimraf ./dist .turbo",
|
|
66
66
|
"dev": "bun --bun tsdown --config tsdown.config.ts --watch",
|
|
67
|
-
"format": "
|
|
68
|
-
"format:fix": "
|
|
69
|
-
"lint": "
|
|
70
|
-
"lint:fix": "
|
|
67
|
+
"format": "oxfmt --check .",
|
|
68
|
+
"format:fix": "oxfmt .",
|
|
69
|
+
"lint": "oxlint .",
|
|
70
|
+
"lint:fix": "oxlint --fix .",
|
|
71
71
|
"publish": "bun publish || true",
|
|
72
72
|
"publish:canary": "bun publish --access public --tag canary || true",
|
|
73
73
|
"publish:ci": "bun ../../scripts/publish-package.mjs",
|
|
@@ -77,8 +77,8 @@
|
|
|
77
77
|
"typecheck": "tsc --noEmit --project tsconfig.types.json"
|
|
78
78
|
},
|
|
79
79
|
"dependencies": {
|
|
80
|
-
"@intlayer/config": "9.7.
|
|
81
|
-
"@intlayer/lsp": "9.7.
|
|
80
|
+
"@intlayer/config": "9.7.3",
|
|
81
|
+
"@intlayer/lsp": "9.7.3",
|
|
82
82
|
"fast-glob": "3.3.3"
|
|
83
83
|
},
|
|
84
84
|
"devDependencies": {
|
|
@@ -90,10 +90,10 @@
|
|
|
90
90
|
"@utils/tsdown-config": "1.0.4",
|
|
91
91
|
"astro-eslint-parser": "3.2.0",
|
|
92
92
|
"eslint": "10.14.0",
|
|
93
|
-
"rimraf": "6.1.
|
|
93
|
+
"rimraf": "6.1.4",
|
|
94
94
|
"svelte": "5.57.3",
|
|
95
95
|
"svelte-eslint-parser": "1.10.0",
|
|
96
|
-
"tsdown": "0.23.
|
|
96
|
+
"tsdown": "0.23.7",
|
|
97
97
|
"typescript": "6.0.3",
|
|
98
98
|
"typescript-eslint": "8.72.1",
|
|
99
99
|
"vitest": "5.1.0",
|