@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",
@@ -77,7 +77,7 @@ export const possibleProblemRules = {
77
77
  ERROR,
78
78
  ],
79
79
  "no-empty-pattern": [
80
- ERROR,
80
+ WARN,
81
81
  ],
82
82
  "no-ex-assign": [
83
83
  ERROR,
@@ -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,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cherepanov.pavel/shareable-config",
3
3
  "description": "setup for new repositories",
4
- "version": "2.0.3",
4
+ "version": "2.0.4",
5
5
  "type": "module",
6
6
  "devEngines": {
7
7
  "packageManager": {