@cherepanov.pavel/shareable-config 2.0.3 → 2.0.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.
|
@@ -57,24 +57,7 @@ const COMMON_RULES = {
|
|
|
57
57
|
"jsonc/no-useless-escape": suggestionRules["no-useless-escape"],
|
|
58
58
|
"jsonc/object-curly-newline": [
|
|
59
59
|
jsFormatting["@stylistic/object-curly-newline"][0],
|
|
60
|
-
|
|
61
|
-
"ObjectExpression": {
|
|
62
|
-
multiline: false,
|
|
63
|
-
minProperties: 1,
|
|
64
|
-
},
|
|
65
|
-
"ObjectPattern": {
|
|
66
|
-
multiline: false,
|
|
67
|
-
minProperties: 1,
|
|
68
|
-
},
|
|
69
|
-
"ImportDeclaration": {
|
|
70
|
-
multiline: false,
|
|
71
|
-
minProperties: 1,
|
|
72
|
-
},
|
|
73
|
-
"ExportDeclaration": {
|
|
74
|
-
multiline: false,
|
|
75
|
-
minProperties: 1,
|
|
76
|
-
},
|
|
77
|
-
},
|
|
60
|
+
jsFormatting["@stylistic/object-curly-newline"][1],
|
|
78
61
|
// Object.fromEntries(
|
|
79
62
|
// [
|
|
80
63
|
// "ObjectExpression",
|
|
@@ -9,10 +9,7 @@ import {
|
|
|
9
9
|
export default {
|
|
10
10
|
"@stylistic/array-bracket-newline": [
|
|
11
11
|
ERROR,
|
|
12
|
-
|
|
13
|
-
multiline: true,
|
|
14
|
-
minItems: 1,
|
|
15
|
-
},
|
|
12
|
+
"always",
|
|
16
13
|
],
|
|
17
14
|
"@stylistic/array-bracket-spacing": [
|
|
18
15
|
ERROR,
|
|
@@ -226,36 +223,7 @@ export default {
|
|
|
226
223
|
],
|
|
227
224
|
"@stylistic/object-curly-newline": [
|
|
228
225
|
ERROR,
|
|
229
|
-
|
|
230
|
-
"ObjectExpression": {
|
|
231
|
-
multiline: false,
|
|
232
|
-
minProperties: 1,
|
|
233
|
-
},
|
|
234
|
-
"ObjectPattern": {
|
|
235
|
-
multiline: false,
|
|
236
|
-
minProperties: 1,
|
|
237
|
-
},
|
|
238
|
-
"ImportDeclaration": {
|
|
239
|
-
multiline: false,
|
|
240
|
-
minProperties: 1,
|
|
241
|
-
},
|
|
242
|
-
"ExportDeclaration": {
|
|
243
|
-
multiline: false,
|
|
244
|
-
minProperties: 1,
|
|
245
|
-
},
|
|
246
|
-
"TSTypeLiteral": {
|
|
247
|
-
multiline: false,
|
|
248
|
-
minProperties: 1,
|
|
249
|
-
},
|
|
250
|
-
"TSInterfaceBody": {
|
|
251
|
-
multiline: false,
|
|
252
|
-
minProperties: 1,
|
|
253
|
-
},
|
|
254
|
-
"TSEnumBody": {
|
|
255
|
-
multiline: false,
|
|
256
|
-
minProperties: 1,
|
|
257
|
-
},
|
|
258
|
-
},
|
|
226
|
+
"always",
|
|
259
227
|
],
|
|
260
228
|
"@stylistic/object-curly-spacing": [
|
|
261
229
|
ERROR,
|