@nkzw/eslint-plugin-fbtee 2.0.0 → 3.0.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/lib/index.d.mts +4 -6
- package/lib/index.mjs +2 -2
- package/package.json +3 -3
package/lib/index.d.mts
CHANGED
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import * as _$_typescript_eslint_utils_ts_eslint0 from "@typescript-eslint/utils/ts-eslint";
|
|
2
|
-
|
|
3
1
|
//#region src/index.d.ts
|
|
4
2
|
declare const _default: {
|
|
5
3
|
configs: {
|
|
@@ -22,15 +20,15 @@ declare const _default: {
|
|
|
22
20
|
version: string;
|
|
23
21
|
};
|
|
24
22
|
rules: {
|
|
25
|
-
'no-empty-strings':
|
|
23
|
+
'no-empty-strings': import("@typescript-eslint/utils/ts-eslint").RuleModule<"emptyString" | "jsxEmptyString", [], unknown, import("@typescript-eslint/utils/ts-eslint").RuleListener> & {
|
|
26
24
|
name: string;
|
|
27
25
|
};
|
|
28
|
-
'no-unhelpful-desc':
|
|
26
|
+
'no-unhelpful-desc': import("@typescript-eslint/utils/ts-eslint").RuleModule<"emptyDesc" | "jsxEmptyDesc" | "duplicateDesc" | "shortDesc", [], unknown, import("@typescript-eslint/utils/ts-eslint").RuleListener> & {
|
|
29
27
|
name: string;
|
|
30
28
|
};
|
|
31
|
-
'no-untranslated-strings':
|
|
29
|
+
'no-untranslated-strings': import("@typescript-eslint/utils/ts-eslint").RuleModule<"unwrappedString", [{
|
|
32
30
|
ignoredWords: Array<string>;
|
|
33
|
-
}], unknown,
|
|
31
|
+
}], unknown, import("@typescript-eslint/utils/ts-eslint").RuleListener> & {
|
|
34
32
|
name: string;
|
|
35
33
|
};
|
|
36
34
|
};
|
package/lib/index.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ESLintUtils } from "@typescript-eslint/utils";
|
|
2
2
|
//#region package.json
|
|
3
3
|
var name = "@nkzw/eslint-plugin-fbtee";
|
|
4
|
-
var version = "
|
|
4
|
+
var version = "3.0.0";
|
|
5
5
|
//#endregion
|
|
6
6
|
//#region src/utils.tsx
|
|
7
7
|
const createRule = ESLintUtils.RuleCreator((name) => `https://github.com/nkzw-tech/fbtee/blob/main/packages/eslint-plugin-fbtee/docs/rules/${name}.md`);
|
|
@@ -215,7 +215,7 @@ var no_unhelpful_desc_default = createRule({
|
|
|
215
215
|
});
|
|
216
216
|
//#endregion
|
|
217
217
|
//#region src/rules/no-untranslated-strings.tsx
|
|
218
|
-
const attributes = new Set([
|
|
218
|
+
const attributes = /* @__PURE__ */ new Set([
|
|
219
219
|
"title",
|
|
220
220
|
"placeholder",
|
|
221
221
|
"alt",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nkzw/eslint-plugin-fbtee",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.0.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"repository": {
|
|
@@ -15,10 +15,10 @@
|
|
|
15
15
|
},
|
|
16
16
|
"main": "lib/index.mjs",
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@typescript-eslint/utils": "^8.
|
|
18
|
+
"@typescript-eslint/utils": "^8.64.0"
|
|
19
19
|
},
|
|
20
20
|
"devDependencies": {
|
|
21
|
-
"@typescript-eslint/rule-tester": "^8.
|
|
21
|
+
"@typescript-eslint/rule-tester": "^8.64.0"
|
|
22
22
|
},
|
|
23
23
|
"scripts": {
|
|
24
24
|
"build": "tsdown src/index.tsx -d lib --target=node22 --format=esm --clean --dts"
|