@asd14/eslint-config 15.0.1 → 15.2.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/types/eslint.config.d.ts +3 -1
- package/dist/types/src/configs/node.d.ts +3 -1
- package/dist/types/src/configs/react.d.ts +3 -1
- package/dist/types/src/configs/ts.d.ts +3 -1
- package/dist/types/src/rules/jsdoc.d.ts +3 -1
- package/package.json +1 -1
- package/src/configs/node.js +1 -0
- package/src/rules/jsdoc.js +1 -1
|
@@ -158,7 +158,9 @@ declare namespace _default {
|
|
|
158
158
|
readonly endLines: 0;
|
|
159
159
|
readonly applyToEndTag: false;
|
|
160
160
|
}];
|
|
161
|
-
readonly "jsdoc/check-indentation": "error"
|
|
161
|
+
readonly "jsdoc/check-indentation": ["error", {
|
|
162
|
+
readonly allowIndentedSections: true;
|
|
163
|
+
}];
|
|
162
164
|
readonly "jsdoc/check-alignment": "error";
|
|
163
165
|
readonly "jsdoc/no-bad-blocks": "error";
|
|
164
166
|
readonly "jsdoc/require-asterisk-prefix": ["error", "always"];
|
|
@@ -155,7 +155,9 @@ export namespace nodeConfig {
|
|
|
155
155
|
readonly endLines: 0;
|
|
156
156
|
readonly applyToEndTag: false;
|
|
157
157
|
}];
|
|
158
|
-
readonly "jsdoc/check-indentation": "error"
|
|
158
|
+
readonly "jsdoc/check-indentation": ["error", {
|
|
159
|
+
readonly allowIndentedSections: true;
|
|
160
|
+
}];
|
|
159
161
|
readonly "jsdoc/check-alignment": "error";
|
|
160
162
|
readonly "jsdoc/no-bad-blocks": "error";
|
|
161
163
|
readonly "jsdoc/require-asterisk-prefix": ["error", "always"];
|
|
@@ -1427,7 +1427,9 @@ export namespace reactConfig {
|
|
|
1427
1427
|
readonly endLines: 0;
|
|
1428
1428
|
readonly applyToEndTag: false;
|
|
1429
1429
|
}];
|
|
1430
|
-
readonly "jsdoc/check-indentation": "error"
|
|
1430
|
+
readonly "jsdoc/check-indentation": ["error", {
|
|
1431
|
+
readonly allowIndentedSections: true;
|
|
1432
|
+
}];
|
|
1431
1433
|
readonly "jsdoc/check-alignment": "error";
|
|
1432
1434
|
readonly "jsdoc/no-bad-blocks": "error";
|
|
1433
1435
|
readonly "jsdoc/require-asterisk-prefix": ["error", "always"];
|
|
@@ -156,7 +156,9 @@ export namespace tsConfig {
|
|
|
156
156
|
readonly endLines: 0;
|
|
157
157
|
readonly applyToEndTag: false;
|
|
158
158
|
}];
|
|
159
|
-
readonly "jsdoc/check-indentation": "error"
|
|
159
|
+
readonly "jsdoc/check-indentation": ["error", {
|
|
160
|
+
readonly allowIndentedSections: true;
|
|
161
|
+
}];
|
|
160
162
|
readonly "jsdoc/check-alignment": "error";
|
|
161
163
|
readonly "jsdoc/no-bad-blocks": "error";
|
|
162
164
|
readonly "jsdoc/require-asterisk-prefix": ["error", "always"];
|
|
@@ -23,7 +23,9 @@ declare namespace _default {
|
|
|
23
23
|
readonly endLines: 0;
|
|
24
24
|
readonly applyToEndTag: false;
|
|
25
25
|
}];
|
|
26
|
-
readonly "jsdoc/check-indentation": "error"
|
|
26
|
+
readonly "jsdoc/check-indentation": ["error", {
|
|
27
|
+
readonly allowIndentedSections: true;
|
|
28
|
+
}];
|
|
27
29
|
readonly "jsdoc/check-alignment": "error";
|
|
28
30
|
readonly "jsdoc/no-bad-blocks": "error";
|
|
29
31
|
readonly "jsdoc/require-asterisk-prefix": ["error", "always"];
|
package/package.json
CHANGED
package/src/configs/node.js
CHANGED
package/src/rules/jsdoc.js
CHANGED
|
@@ -29,7 +29,7 @@ export default /** @type {const} */ ({
|
|
|
29
29
|
applyToEndTag: false,
|
|
30
30
|
},
|
|
31
31
|
],
|
|
32
|
-
"jsdoc/check-indentation": "error",
|
|
32
|
+
"jsdoc/check-indentation": ["error", { allowIndentedSections: true }],
|
|
33
33
|
"jsdoc/check-alignment": "error",
|
|
34
34
|
"jsdoc/no-bad-blocks": "error",
|
|
35
35
|
"jsdoc/require-asterisk-prefix": ["error", "always"],
|