@vinicunca/eslint-config 3.27.0 → 3.28.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 +32 -0
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -1047,6 +1047,26 @@ interface RuleOptions {
|
|
|
1047
1047
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/text-escaping.md#repos-sticky-header
|
|
1048
1048
|
*/
|
|
1049
1049
|
'jsdoc/text-escaping'?: Linter.RuleEntry<JsdocTextEscaping>;
|
|
1050
|
+
/**
|
|
1051
|
+
* Prefers either function properties or method signatures
|
|
1052
|
+
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/ts-method-signature-style.md#repos-sticky-header
|
|
1053
|
+
*/
|
|
1054
|
+
'jsdoc/ts-method-signature-style'?: Linter.RuleEntry<JsdocTsMethodSignatureStyle>;
|
|
1055
|
+
/**
|
|
1056
|
+
* Warns against use of the empty object type
|
|
1057
|
+
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/ts-no-empty-object-type.md#repos-sticky-header
|
|
1058
|
+
*/
|
|
1059
|
+
'jsdoc/ts-no-empty-object-type'?: Linter.RuleEntry<[]>;
|
|
1060
|
+
/**
|
|
1061
|
+
* Catches unnecessary template expressions such as string expressions within a template literal.
|
|
1062
|
+
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/ts-no-unnecessary-template-expression.md#repos-sticky-header
|
|
1063
|
+
*/
|
|
1064
|
+
'jsdoc/ts-no-unnecessary-template-expression'?: Linter.RuleEntry<JsdocTsNoUnnecessaryTemplateExpression>;
|
|
1065
|
+
/**
|
|
1066
|
+
* Prefers function types over call signatures when there are no other properties.
|
|
1067
|
+
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/ts-prefer-function-type.md#repos-sticky-header
|
|
1068
|
+
*/
|
|
1069
|
+
'jsdoc/ts-prefer-function-type'?: Linter.RuleEntry<JsdocTsPreferFunctionType>;
|
|
1050
1070
|
/**
|
|
1051
1071
|
* Formats JSDoc type values.
|
|
1052
1072
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/type-formatting.md#repos-sticky-header
|
|
@@ -10327,6 +10347,18 @@ type JsdocTextEscaping = [] | [{
|
|
|
10327
10347
|
escapeHTML?: boolean;
|
|
10328
10348
|
escapeMarkdown?: boolean;
|
|
10329
10349
|
}];
|
|
10350
|
+
// ----- jsdoc/ts-method-signature-style -----
|
|
10351
|
+
type JsdocTsMethodSignatureStyle = [] | [("method" | "property")] | [("method" | "property"), {
|
|
10352
|
+
enableFixer?: boolean;
|
|
10353
|
+
}];
|
|
10354
|
+
// ----- jsdoc/ts-no-unnecessary-template-expression -----
|
|
10355
|
+
type JsdocTsNoUnnecessaryTemplateExpression = [] | [{
|
|
10356
|
+
enableFixer?: boolean;
|
|
10357
|
+
}];
|
|
10358
|
+
// ----- jsdoc/ts-prefer-function-type -----
|
|
10359
|
+
type JsdocTsPreferFunctionType = [] | [{
|
|
10360
|
+
enableFixer?: boolean;
|
|
10361
|
+
}];
|
|
10330
10362
|
// ----- jsdoc/type-formatting -----
|
|
10331
10363
|
type JsdocTypeFormatting = [] | [{
|
|
10332
10364
|
arrayBrackets?: ("angle" | "square");
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vinicunca/eslint-config",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.28.0",
|
|
5
5
|
"description": "Vinicunca ESLint config",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "praburangki",
|
|
@@ -113,7 +113,7 @@
|
|
|
113
113
|
"@stylistic/eslint-plugin": "^5.4.0",
|
|
114
114
|
"@typescript-eslint/eslint-plugin": "^8.46.0",
|
|
115
115
|
"@typescript-eslint/parser": "^8.46.0",
|
|
116
|
-
"@unocss/eslint-plugin": "^66.5.
|
|
116
|
+
"@unocss/eslint-plugin": "^66.5.3",
|
|
117
117
|
"@vitest/eslint-plugin": "^1.3.16",
|
|
118
118
|
"eslint-config-flat-gitignore": "^2.1.0",
|
|
119
119
|
"eslint-flat-config-utils": "^2.1.4",
|
|
@@ -122,7 +122,7 @@
|
|
|
122
122
|
"eslint-plugin-command": "^3.3.1",
|
|
123
123
|
"eslint-plugin-format": "^1.0.2",
|
|
124
124
|
"eslint-plugin-import-lite": "^0.3.0",
|
|
125
|
-
"eslint-plugin-jsdoc": "^61.0
|
|
125
|
+
"eslint-plugin-jsdoc": "^61.1.0",
|
|
126
126
|
"eslint-plugin-jsonc": "^2.21.0",
|
|
127
127
|
"eslint-plugin-n": "^17.23.1",
|
|
128
128
|
"eslint-plugin-no-only-tests": "^3.3.0",
|