@yamato-daiwa/style_guides 0.12.3 → 0.12.4
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.
|
@@ -226,13 +226,21 @@ module.exports = {
|
|
|
226
226
|
|
|
227
227
|
/*
|
|
228
228
|
|
|
229
|
+
[ Disabled until fixed ]
|
|
230
|
+
|
|
231
|
+
False positive at the third line of
|
|
232
|
+
|
|
233
|
+
```
|
|
229
234
|
public static async simulateDataRetrieving<RequestParameters, ResponseData>(
|
|
230
235
|
dataRetrievingSimulationConfiguration: MockGatewayHelper.
|
|
231
236
|
DataRetrievingSimulationConfiguration<RequestParameters, ResponseData>
|
|
232
|
-
): Promise<ResponseData>
|
|
237
|
+
): Promise<ResponseData>
|
|
238
|
+
```
|
|
239
|
+
|
|
240
|
+
from the @yamato-daiwa/es-extensions.
|
|
233
241
|
|
|
234
|
-
|
|
235
|
-
|
|
242
|
+
*/
|
|
243
|
+
/* "@stylistic/no-whitespace-before-property": "warn" */
|
|
236
244
|
|
|
237
245
|
"@stylistic/object-curly-spacing": [ "warn", "always" ],
|
|
238
246
|
"@stylistic/object-property-newline": [ "warn", { allowAllPropertiesOnSameLine: true } ],
|
package/Rules/TypeScriptRules.js
CHANGED
|
@@ -256,9 +256,13 @@ module.exports = {
|
|
|
256
256
|
}
|
|
257
257
|
],
|
|
258
258
|
|
|
259
|
-
/* Does not work is has not been invoked by "this" like in `CalendarBuilder`. */
|
|
260
259
|
"no-unused-private-class-members": "off",
|
|
261
|
-
|
|
260
|
+
|
|
261
|
+
/* [ Disabled until fixed ]
|
|
262
|
+
* Does not work if an instance member has not been invoked directly by "this", while it may be accessed
|
|
263
|
+
* inside a static method via instance created there like in the `CalendarBuilder` class of
|
|
264
|
+
* @yamato-daiwa/es-extensions. */
|
|
265
|
+
/* "@typescript-eslint/no-unused-private-class-members": "error", */
|
|
262
266
|
|
|
263
267
|
"no-unused-vars": "off",
|
|
264
268
|
"@typescript-eslint/no-unused-vars": ECMA_ScriptBasicRules["no-unused-vars"],
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yamato-daiwa/style_guides",
|
|
3
|
-
"version": "0.12.
|
|
3
|
+
"version": "0.12.4",
|
|
4
4
|
"description": "Strict guidelines for ESLint and Pug.",
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": ">=20.0.0"
|
|
@@ -21,8 +21,8 @@
|
|
|
21
21
|
"peerDependencies": {
|
|
22
22
|
"@eslint-community/eslint-plugin-eslint-comments": "~4.7.0",
|
|
23
23
|
"@stylistic/eslint-plugin": "~5.10.0",
|
|
24
|
-
"@typescript-eslint/eslint-plugin": "~8.
|
|
25
|
-
"@typescript-eslint/parser": "~8.
|
|
24
|
+
"@typescript-eslint/eslint-plugin": "~8.58.0",
|
|
25
|
+
"@typescript-eslint/parser": "~8.58.0",
|
|
26
26
|
"eslint": "~9.39.0",
|
|
27
27
|
"eslint-plugin-import": "~2.32.0",
|
|
28
28
|
"eslint-plugin-n": "~17.24.0",
|