@eslinted/defaults 12.9.0 → 12.10.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.
Files changed (92) hide show
  1. package/dist/ignores/global.js +0 -2
  2. package/dist/ignores/global.js.map +1 -1
  3. package/dist/index.d.ts +60 -512
  4. package/dist/index.d.ts.map +1 -1
  5. package/dist/rules/index.d.ts +60 -325
  6. package/dist/rules/index.d.ts.map +1 -1
  7. package/dist/rules/scopes/css/enable.d.ts +2 -7
  8. package/dist/rules/scopes/css/enable.d.ts.map +1 -1
  9. package/dist/rules/scopes/css/enable.js +3 -19
  10. package/dist/rules/scopes/css/enable.js.map +1 -1
  11. package/dist/rules/scopes/css/index.d.ts +2 -7
  12. package/dist/rules/scopes/css/index.d.ts.map +1 -1
  13. package/dist/rules/scopes/enable.d.ts +35 -184
  14. package/dist/rules/scopes/enable.d.ts.map +1 -1
  15. package/dist/rules/scopes/enable.js +68 -326
  16. package/dist/rules/scopes/enable.js.map +1 -1
  17. package/dist/rules/scopes/enable.style.d.ts +18 -116
  18. package/dist/rules/scopes/enable.style.d.ts.map +1 -1
  19. package/dist/rules/scopes/enable.style.js +31 -204
  20. package/dist/rules/scopes/enable.style.js.map +1 -1
  21. package/dist/rules/scopes/html/index.d.ts +5 -18
  22. package/dist/rules/scopes/html/index.d.ts.map +1 -1
  23. package/dist/rules/scopes/html/plugin/index.d.ts +5 -18
  24. package/dist/rules/scopes/html/plugin/index.d.ts.map +1 -1
  25. package/dist/rules/scopes/html/plugin/index.js +7 -63
  26. package/dist/rules/scopes/html/plugin/index.js.map +1 -1
  27. package/dist/rules/scopes/index.d.ts +53 -300
  28. package/dist/rules/scopes/index.d.ts.map +1 -1
  29. package/dist/rules/scopes/json/enable.js +2 -7
  30. package/dist/rules/scopes/json/enable.js.map +1 -1
  31. package/dist/rules/scopes/json/plugin/extension.js +7 -12
  32. package/dist/rules/scopes/json/plugin/extension.js.map +1 -1
  33. package/dist/rules/scopes/json/plugin/index.js +2 -9
  34. package/dist/rules/scopes/json/plugin/index.js.map +1 -1
  35. package/dist/rules/scopes/jsonc/plugin/index.js +1 -2
  36. package/dist/rules/scopes/jsonc/plugin/index.js.map +1 -1
  37. package/dist/rules/scopes/jsoncc/plugin/index.js +1 -2
  38. package/dist/rules/scopes/jsoncc/plugin/index.js.map +1 -1
  39. package/dist/rules/scopes/mocha/chai/expect.js +1 -5
  40. package/dist/rules/scopes/mocha/chai/expect.js.map +1 -1
  41. package/dist/rules/scopes/mocha/chai/index.js +1 -2
  42. package/dist/rules/scopes/mocha/chai/index.js.map +1 -1
  43. package/dist/rules/scopes/mocha/disable.js +2 -3
  44. package/dist/rules/scopes/mocha/disable.js.map +1 -1
  45. package/dist/rules/scopes/mocha/enable.js +2 -13
  46. package/dist/rules/scopes/mocha/enable.js.map +1 -1
  47. package/dist/rules/scopes/svelte/disable.js +6 -9
  48. package/dist/rules/scopes/svelte/disable.js.map +1 -1
  49. package/dist/rules/scopes/svelte/enable.js +14 -37
  50. package/dist/rules/scopes/svelte/enable.js.map +1 -1
  51. package/dist/rules/scopes/svelte/extension/disable.js +2 -3
  52. package/dist/rules/scopes/svelte/extension/disable.js.map +1 -1
  53. package/dist/rules/scopes/svelte/extension/index.js +2 -3
  54. package/dist/rules/scopes/svelte/extension/index.js.map +1 -1
  55. package/dist/rules/scopes/ts/disable.js +4 -5
  56. package/dist/rules/scopes/ts/disable.js.map +1 -1
  57. package/dist/rules/scopes/ts/enable.d.ts +3 -3
  58. package/dist/rules/scopes/ts/enable.d.ts.map +1 -1
  59. package/dist/rules/scopes/ts/enable.js +11 -37
  60. package/dist/rules/scopes/ts/enable.js.map +1 -1
  61. package/dist/rules/scopes/ts/extension/disable.js +1 -18
  62. package/dist/rules/scopes/ts/extension/disable.js.map +1 -1
  63. package/dist/rules/scopes/ts/extension/index.js +1 -22
  64. package/dist/rules/scopes/ts/extension/index.js.map +1 -1
  65. package/dist/rules/scopes/yml/plugin/extension.js +8 -9
  66. package/dist/rules/scopes/yml/plugin/extension.js.map +1 -1
  67. package/dist/rules/scopes/yml/plugin/index.js +9 -28
  68. package/dist/rules/scopes/yml/plugin/index.js.map +1 -1
  69. package/dist/settings/registry/manifests/css.js +1 -3
  70. package/dist/settings/registry/manifests/css.js.map +1 -1
  71. package/dist/settings/registry/manifests/html.js +1 -2
  72. package/dist/settings/registry/manifests/html.js.map +1 -1
  73. package/dist/settings/registry/manifests/js.js +2 -6
  74. package/dist/settings/registry/manifests/js.js.map +1 -1
  75. package/dist/settings/registry/manifests/json.js +2 -2
  76. package/dist/settings/registry/manifests/json.js.map +1 -1
  77. package/dist/settings/registry/manifests/jsonc.js +2 -6
  78. package/dist/settings/registry/manifests/jsonc.js.map +1 -1
  79. package/dist/settings/registry/manifests/jsoncc.js +2 -6
  80. package/dist/settings/registry/manifests/jsoncc.js.map +1 -1
  81. package/dist/settings/registry/manifests/mocha.js +2 -6
  82. package/dist/settings/registry/manifests/mocha.js.map +1 -1
  83. package/dist/settings/registry/manifests/ts.js +7 -20
  84. package/dist/settings/registry/manifests/ts.js.map +1 -1
  85. package/dist/settings/registry/manifests/yml.js +1 -4
  86. package/dist/settings/registry/manifests/yml.js.map +1 -1
  87. package/package.json +1 -1
  88. package/src/rules/scopes/css/enable.ts +2 -13
  89. package/src/rules/scopes/enable.style.ts +51 -177
  90. package/src/rules/scopes/enable.ts +141 -316
  91. package/src/rules/scopes/html/plugin/index.ts +18 -40
  92. package/tsconfig.json +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"mocha.js","sourceRoot":"","sources":["../../../../src/settings/registry/manifests/mocha.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,KAAK,GAAG;IACnB,eAAe,EAAE;IACf,gBAAgB;KACjB;IACD,aAAa,EAAE;IACb,gBAAgB;KACjB;CACF,CAAC"}
1
+ {"version":3,"file":"mocha.js","sourceRoot":"","sources":["../../../../src/settings/registry/manifests/mocha.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,KAAK,GAAG;IACnB,eAAe,EAAE,EAEhB;IACD,aAAa,EAAE,EAEd;CACF,CAAC"}
@@ -3,28 +3,15 @@ export const ts = {
3
3
  parser: "ts",
4
4
  },
5
5
  parserOptions: {
6
- // DOC: https://typescript-eslint.io/packages/parser/#configuration
7
- // INFO: `parserOptions.projectService` is the modern replacement for the deprecated `parserOptions.project`:
8
- // - https://typescript-eslint.io/blog/project-service/
9
- // - https://typescript-eslint.io/getting-started/typed-linting/
10
- // - https://typescript-eslint.io/troubleshooting/typed-linting/
11
- // disallowAutomaticSingleRunInference: false /* @default: false */,
12
- // cacheLifetime: { glob: 30 } /* { glob: "Infinity" (never) | number | @default: 30 seconds } */,
13
6
  ecmaFeatures: {
14
- // jsx: false /* @default: false */,
15
- globalReturn: true /* @default: false */,
7
+ globalReturn: true,
16
8
  },
17
- ecmaVersion: 2023 /* number | @default: latest" */,
18
- emitDecoratorMetadata: false /* boolean | @default: undefined (inherits tsconfig, which has @default: false) */,
19
- experimentalDecorators: false /* boolean | @default: undefined (inherits tsconfig, which has @default: false) */,
20
- // extraFileExtensions: [] /* string[] | @default: [] (none) | BUG: https://typescript-eslint.io/troubleshooting/typed-linting/performance/#changes-to-extrafileextensions-with-projectservice */,
21
- isolatedDeclarations: false /* boolean | @default: undefined (inherits tsconfig, which has @default: false) */,
22
- // jsDocParsingMode: "all" /* type-info | @default(if `parserOptions.project` is set): all | @default: none */,
23
- // jsxFragmentName: null /* string | @default: null | INFO: if `parserOptions.project` is set, this will automatically be detected from the compiler. */,
24
- // jsxPragma: "React" /* null | string (e.g. "preact") | @default: "React" | INFO: if `parserOptions.project` is set, this will automatically be detected from the compiler. */,
25
- // lib: ["es2018"] /* string[] | @default: ["es2018"] | INFO: if `parserOptions.project` is set, this will automatically be detected from the compiler. */,
26
- projectService: true /* ProjectServiceOptions (DOC: https://typescript-eslint.io/packages/parser/#projectserviceoptions) | true | @default: false */,
27
- warnOnUnsupportedTypeScriptVersion: false /* preference due to nuisance | @default: true */,
9
+ ecmaVersion: 2023,
10
+ emitDecoratorMetadata: false,
11
+ experimentalDecorators: false,
12
+ isolatedDeclarations: false,
13
+ projectService: true,
14
+ warnOnUnsupportedTypeScriptVersion: false,
28
15
  },
29
16
  };
30
17
  //# sourceMappingURL=ts.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ts.js","sourceRoot":"","sources":["../../../../src/settings/registry/manifests/ts.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,EAAE,GAAG;IAChB,eAAe,EAAE;QACf,MAAM,EAAE,IAAa;KACtB;IACD,aAAa,EAAE;QACb,mEAAmE;QACnE,6GAA6G;QAC7G,uDAAuD;QACvD,gEAAgE;QAChE,gEAAgE;QAEhE,oEAAoE;QACpE,kGAAkG;QAClG,YAAY,EAAE;YACZ,oCAAoC;YACpC,YAAY,EAAE,IAAI,CAAC,qBAAqB;SACzC;QACD,WAAW,EAAE,IAAI,CAAC,gCAAgC;QAClD,qBAAqB,EAAE,KAAK,CAAC,kFAAkF;QAC/G,sBAAsB,EAAE,KAAK,CAAC,kFAAkF;QAChH,kMAAkM;QAClM,oBAAoB,EAAE,KAAK,CAAC,kFAAkF;QAC9G,+GAA+G;QAC/G,yJAAyJ;QACzJ,gLAAgL;QAChL,2JAA2J;QAC3J,cAAc,EAAE,IAAI,CAAC,+HAA+H;QACpJ,kCAAkC,EAAE,KAAK,CAAC,iDAAiD;KAC5F;CACF,CAAC"}
1
+ {"version":3,"file":"ts.js","sourceRoot":"","sources":["../../../../src/settings/registry/manifests/ts.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,EAAE,GAAG;IAChB,eAAe,EAAE;QACf,MAAM,EAAE,IAAa;KACtB;IACD,aAAa,EAAE;QASb,YAAY,EAAE;YAEZ,YAAY,EAAE,IAAI;SACnB;QACD,WAAW,EAAE,IAAI;QACjB,qBAAqB,EAAE,KAAK;QAC5B,sBAAsB,EAAE,KAAK;QAE7B,oBAAoB,EAAE,KAAK;QAK3B,cAAc,EAAE,IAAI;QACpB,kCAAkC,EAAE,KAAK;KAC1C;CACF,CAAC"}
@@ -2,9 +2,6 @@ export const yml = {
2
2
  languageOptions: {
3
3
  parser: "yml",
4
4
  },
5
- parserOptions: {
6
- // DOC: https://github.com/ota-meshi/yaml-eslint-parser?tab=readme-ov-file#advanced-configuration
7
- // defaultYAMLVersion: "1.2" /* "1.1" | @default: "1.2" | DOC: https://github.com/ota-meshi/yaml-eslint-parser?tab=readme-ov-file#parseroptionsdefaultyamlversion */,
8
- },
5
+ parserOptions: {},
9
6
  };
10
7
  //# sourceMappingURL=yml.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"yml.js","sourceRoot":"","sources":["../../../../src/settings/registry/manifests/yml.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,GAAG,GAAG;IACjB,eAAe,EAAE;QACf,MAAM,EAAE,KAAc;KACvB;IACD,aAAa,EAAE;IACb,iGAAiG;IACjG,qKAAqK;KACtK;CACF,CAAC"}
1
+ {"version":3,"file":"yml.js","sourceRoot":"","sources":["../../../../src/settings/registry/manifests/yml.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,GAAG,GAAG;IACjB,eAAe,EAAE;QACf,MAAM,EAAE,KAAc;KACvB;IACD,aAAa,EAAE,EAGd;CACF,CAAC"}
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "$schema": "https://json.schemastore.org/package",
4
4
  "$help": "https://docs.npmjs.com/cli/configuring-npm/package-json",
5
5
  "name": "@eslinted/defaults",
6
- "version": "12.9.0",
6
+ "version": "12.10.0",
7
7
  "repository": "github:jimmy-zhening-luo/linted-defaults",
8
8
  "private": false,
9
9
  "engineStrict": true,
@@ -15,13 +15,7 @@ export const CssEnable = {
15
15
  "css/no-invalid-at-rules": ON,
16
16
  "css/no-invalid-named-grid-areas": ON,
17
17
  // "css/no-invalid-properties": OFF /* BUG: disabled with PREJUDICE (see commit: https://github.com/jimmy-zhening-luo/linted-defaults/commit/702e6632328813e84df92cade730469661ee85db) */,
18
- "css/prefer-logical-properties": [
19
- ON,
20
- {
21
- allowProperties: [],
22
- allowUnits: [],
23
- },
24
- ],
18
+ "css/prefer-logical-properties": ON,
25
19
  "css/relative-font-units": [
26
20
  ON,
27
21
  {
@@ -31,12 +25,7 @@ export const CssEnable = {
31
25
  ],
32
26
  },
33
27
  ],
34
- "css/use-baseline": [
35
- ON,
36
- {
37
- available: "widely" /* 2023 | number (year) | `newly` | @default `widely` */,
38
- },
39
- ],
28
+ "css/use-baseline": ON,
40
29
  // "css/use-layers": OFF, /* not recommended by docs: https://github.com/eslint/css?tab=readme-ov-file#rules; also BUG: ESLint config inspector: css/use-layers: Invalid rule has no description [INVALID] */
41
30
  } as const,
42
31
  };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  ID,
3
- OFF,
3
+ // OFF,
4
4
  WARN,
5
5
  ON,
6
6
  all,
@@ -9,13 +9,11 @@ import {
9
9
  as_needed,
10
10
  before,
11
11
  below,
12
- beside,
13
12
  consistent,
14
13
  double,
15
14
  inside,
16
15
  last,
17
16
  never,
18
- strict,
19
17
  wildcard,
20
18
  } from "../_strings";
21
19
 
@@ -23,164 +21,58 @@ export const EnableStyle = {
23
21
  id: ID.Enable.Style,
24
22
  rules: {
25
23
  // DOC: https://eslint.style/rules
26
- "@stylistic/array-bracket-newline": [
27
- ON,
28
- {
29
- multiline: true,
30
- minItems: null,
31
- },
32
- ],
33
- "@stylistic/array-bracket-spacing": [
34
- ON,
35
- never,
36
- {
37
- singleValue: false,
38
- objectsInArrays: false,
39
- arraysInArrays: false,
40
- },
41
- ],
24
+ "@stylistic/array-bracket-newline": ON,
25
+ "@stylistic/array-bracket-spacing": ON,
42
26
  "@stylistic/array-element-newline": [
43
27
  ON,
44
28
  {
45
- ArrayExpression: {
46
- consistent: true,
47
- multiline: true,
48
- minItems: 3,
49
- },
50
- ArrayPattern: {
51
- consistent: true,
52
- multiline: true,
53
- minItems: 3,
54
- },
55
- },
29
+ consistent: true,
30
+ multiline: true,
31
+ minItems: 3,
32
+ } /* never | consistent | @default always | { ... } */,
56
33
  ],
57
34
  "@stylistic/arrow-parens": [
58
35
  ON,
59
- as_needed,
60
- {
61
- requireForBlockBody: false,
62
- },
63
- ],
64
- "@stylistic/arrow-spacing": [
65
- ON,
66
- {
67
- before: true,
68
- after: true,
69
- },
70
- ],
71
- "@stylistic/block-spacing": [
72
- ON,
73
- always,
36
+ as_needed /* as-needed | @default always */,
74
37
  ],
38
+ "@stylistic/arrow-spacing": ON,
39
+ "@stylistic/block-spacing": ON,
75
40
  "@stylistic/brace-style": [
76
41
  ON,
77
- "stroustrup",
42
+ "stroustrup" /* stroustrup | allman | @default 1tbs */,
78
43
  {
79
- allowSingleLine: true,
44
+ allowSingleLine: true /* @default false */,
80
45
  },
81
46
  ],
82
47
  "@stylistic/comma-dangle": [
83
48
  ON,
84
49
  always_multiline,
85
50
  ],
86
- "@stylistic/comma-spacing": [
87
- ON,
88
- {
89
- before: false,
90
- after: true,
91
- },
92
- ],
93
- "@stylistic/comma-style": [
94
- ON,
95
- last,
96
- {
97
- exceptions: {
98
- ArrayExpression: false /* ignores comma style in array literals */,
99
- ArrayPattern: false /* ignores comma style in array patterns of destructuring */,
100
- ArrowFunctionExpression: false /* ignores comma style in the parameters of arrow function expressions */,
101
- CallExpression: false /* ignores comma style in the arguments of function calls */,
102
- FunctionDeclaration: false /* ignores comma style in the parameters of function declarations */,
103
- FunctionExpression: false /* ignores comma style in the parameters of function expressions */,
104
- ImportDeclaration: false /* ignores comma style in the specifiers / import attributes of import declarations */,
105
- ObjectExpression: false /* ignores comma style in object literals */,
106
- ObjectPattern: false /* ignores comma style in object patterns of destructuring */,
107
- VariableDeclaration: false /* ignores comma style in variable declarations */,
108
- NewExpression: false /* ignores comma style in the parameters of constructor expressions */,
109
- ExportAllDeclaration: false /* ignores comma style in the import attributes of export all declarations */,
110
- ExportNamedDeclaration: false /* ignores comma style in the specifiers / import attributes of export named declarations */,
111
- ImportExpression: false /* ignores comma style in the arguments of import expressions */,
112
- SequenceExpression: false /* ignores comma style in sequence expressions */,
113
- ClassDeclaration: false /* ignores comma style in the TypeScript implements of class declarations */,
114
- ClassExpression: false /* ignores comma style in the TypeScript implements of class declarations */,
115
- TSDeclareFunction: false /* ignores comma style in the parameters of TypeScript declare functions */,
116
- TSFunctionType: false /* ignores comma style in the parameters of TypeScript function types */,
117
- TSConstructorType: false /* ignores comma style in the parameters of TypeScript constructor types */,
118
- TSEmptyBodyFunctionExpression: false /* ignores comma style in the parameters of TypeScript empty body function expressions */,
119
- TSMethodSignature: false /* ignores comma style in the parameters of TypeScript method signatures */,
120
- TSCallSignatureDeclaration: false /* ignores comma style in the parameters of TypeScript call signature declarations */,
121
- TSConstructSignatureDeclaration: false /* ignores comma style in the parameters of TypeScript construct signature declarations */,
122
- TSEnumBody: false /* ignores comma style in the members of TypeScript enums */,
123
- TSTypeLiteral: false /* ignores comma style in the members of TypeScript type literals */,
124
- TSInterfaceBody: false /* ignores comma style in the members of TypeScript interfaces */,
125
- TSIndexSignature: false /* ignores comma style in the key parameters of TypeScript index signatures */,
126
- TSInterfaceDeclaration: false /* ignores comma style in the extend classes of TypeScript interfaces */,
127
- TSTupleType: false /* ignores comma style in the elements of TypeScript tuple types */,
128
- TSTypeParameterDeclaration: false /* ignores comma style in the type parameters of TypeScript type parameter declarations */,
129
- TSTypeParameterInstantiation: false /* ignores comma style in the type arguments of TypeScript type parameter instantiations */,
130
- },
131
- },
132
- ],
133
- "@stylistic/computed-property-spacing": [
134
- ON,
135
- never,
136
- {
137
- enforceForClassMembers: true,
138
- },
139
- ],
140
- "@stylistic/curly-newline": [
141
- ON,
142
- {
143
- // multiline: false,
144
- // minElements: 2 /* when consistent:true, this errors if there are linebreaks with elements < minElements */,
145
- consistent: true /* @default */,
146
- },
147
- ],
51
+ "@stylistic/comma-spacing": ON,
52
+ "@stylistic/comma-style": ON,
53
+ "@stylistic/computed-property-spacing": ON,
54
+ "@stylistic/curly-newline": ON,
148
55
  "@stylistic/dot-location": [
149
56
  ON,
150
- "property",
151
- ],
152
- "@stylistic/eol-last": [
153
- ON,
154
- always,
57
+ "property" /* property | @default object */,
155
58
  ],
59
+ "@stylistic/eol-last": ON,
156
60
  "@stylistic/function-call-argument-newline": [
157
61
  ON,
158
- consistent,
159
- ],
160
- "@stylistic/function-call-spacing": [
161
- ON,
162
- never,
62
+ consistent /* consistent | never | @default always */,
163
63
  ],
64
+ "@stylistic/function-call-spacing": ON,
164
65
  "@stylistic/function-paren-newline": [
165
66
  ON,
166
67
  "multiline-arguments",
167
68
  ] /* BUG: https://github.com/eslint-stylistic/eslint-stylistic/issues/290 */,
168
- "@stylistic/generator-star-spacing": [
169
- ON,
170
- {
171
- before: true,
172
- after: false,
173
- },
174
- ],
175
- "@stylistic/implicit-arrow-linebreak": [
176
- ON,
177
- beside,
178
- ],
69
+ "@stylistic/generator-star-spacing": ON,
70
+ "@stylistic/implicit-arrow-linebreak": ON,
179
71
  "@stylistic/indent": [
180
72
  ON,
181
- 2,
73
+ 2 /* tab | number | @default 4 */,
182
74
  {
183
- ignoredNodes: [],
75
+ // ignoredNodes: [],
184
76
  SwitchCase: 1,
185
77
  VariableDeclarator: {
186
78
  "var": 0,
@@ -188,54 +80,39 @@ export const EnableStyle = {
188
80
  "const": 0,
189
81
  },
190
82
  outerIIFEBody: 0,
191
- MemberExpression: 1,
192
- FunctionDeclaration: {
193
- parameters: 1,
194
- body: 1,
195
- returnType: 1,
196
- },
197
- FunctionExpression: {
198
- parameters: 1,
199
- body: 1,
200
- returnType: 1,
201
- },
202
- StaticBlock: {
203
- body: 1,
204
- },
205
- CallExpression: {
206
- arguments: 1,
207
- },
208
- ArrayExpression: 1,
209
- ObjectExpression: 1,
210
- ImportDeclaration: 1,
211
- flatTernaryExpressions: false,
83
+ // MemberExpression: 1,
84
+ // FunctionDeclaration: {
85
+ // parameters: 1,
86
+ // body: 1,
87
+ // returnType: 1,
88
+ // },
89
+ // FunctionExpression: {
90
+ // parameters: 1,
91
+ // body: 1,
92
+ // returnType: 1,
93
+ // },
94
+ // StaticBlock: {
95
+ // body: 1,
96
+ // },
97
+ // CallExpression: {
98
+ // arguments: 1,
99
+ // },
100
+ // ArrayExpression: 1,
101
+ // ObjectExpression: 1,
102
+ // ImportDeclaration: 1,
103
+ // flatTernaryExpressions: false,
212
104
  offsetTernaryExpressions: true,
213
- offsetTernaryExpressionsOffsetCallExpressions: true,
214
- ignoreComments: false,
215
- tabLength: 2 /* @default: 4 */,
105
+ // offsetTernaryExpressionsOffsetCallExpressions: true,
106
+ // ignoreComments: false,
107
+ tabLength: 2 /* @default 4 */,
216
108
  },
217
109
  ],
218
110
  "@stylistic/indent-binary-ops": [
219
111
  ON,
220
112
  2,
221
113
  ],
222
- "@stylistic/key-spacing": [
223
- ON,
224
- {
225
- beforeColon: false,
226
- afterColon: true,
227
- mode: strict,
228
- ignoredNodes: [],
229
- },
230
- ],
231
- "@stylistic/keyword-spacing": [
232
- ON,
233
- {
234
- before: true,
235
- after: true,
236
- overrides: {},
237
- },
238
- ],
114
+ "@stylistic/key-spacing": ON,
115
+ "@stylistic/keyword-spacing": ON,
239
116
  // "@stylistic/line-comment-position": OFF,
240
117
  // "@stylistic/lines-around-comment": OFF,
241
118
  "@stylistic/lines-between-class-members": [
@@ -302,10 +179,7 @@ export const EnableStyle = {
302
179
  ON,
303
180
  always_multiline,
304
181
  ],
305
- "@stylistic/new-parens": [
306
- OFF,
307
- never,
308
- ],
182
+ // "@stylistic/new-parens": OFF,
309
183
  "@stylistic/newline-per-chained-call": [
310
184
  ON,
311
185
  {