eslint-config-setup 0.3.0 → 0.3.2

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.
@@ -197,12 +197,45 @@ export default [
197
197
  ],
198
198
  "@typescript-eslint/naming-convention": [
199
199
  "error",
200
+ {
201
+ "selector": "variable",
202
+ "format": [
203
+ "strictCamelCase",
204
+ "UPPER_CASE",
205
+ "StrictPascalCase"
206
+ ],
207
+ "leadingUnderscore": "allowSingleOrDouble",
208
+ "trailingUnderscore": "allow",
209
+ "filter": {
210
+ "regex": "[- ]",
211
+ "match": false
212
+ }
213
+ },
214
+ {
215
+ "selector": "function",
216
+ "format": [
217
+ "strictCamelCase",
218
+ "StrictPascalCase"
219
+ ]
220
+ },
221
+ {
222
+ "selector": "parameter",
223
+ "format": [
224
+ "strictCamelCase"
225
+ ],
226
+ "leadingUnderscore": "allow"
227
+ },
228
+ {
229
+ "selector": "import",
230
+ "format": [
231
+ "strictCamelCase",
232
+ "StrictPascalCase",
233
+ "UPPER_CASE"
234
+ ]
235
+ },
200
236
  {
201
237
  "selector": [
202
- "variable",
203
- "function",
204
238
  "classProperty",
205
- "objectLiteralProperty",
206
239
  "parameterProperty",
207
240
  "classMethod",
208
241
  "objectLiteralMethod",
@@ -219,6 +252,13 @@ export default [
219
252
  "match": false
220
253
  }
221
254
  },
255
+ {
256
+ "selector": [
257
+ "objectLiteralProperty",
258
+ "typeProperty"
259
+ ],
260
+ "format": null
261
+ },
222
262
  {
223
263
  "selector": "typeLike",
224
264
  "format": [
@@ -924,7 +964,6 @@ export default [
924
964
  "sonarjs/public-static-readonly": "error",
925
965
  "sonarjs/reduce-initial-value": "error",
926
966
  "symbol-description": "error",
927
- "unicorn/better-regex": "error",
928
967
  "unicorn/catch-error-name": [
929
968
  "error",
930
969
  {
@@ -655,7 +655,6 @@ export default [
655
655
  "sonarjs/prefer-single-boolean-return": "error",
656
656
  "sonarjs/reduce-initial-value": "error",
657
657
  "symbol-description": "error",
658
- "unicorn/better-regex": "error",
659
658
  "unicorn/catch-error-name": [
660
659
  "error",
661
660
  {
@@ -174,12 +174,43 @@ export default [
174
174
  ],
175
175
  "@typescript-eslint/naming-convention": [
176
176
  "error",
177
+ {
178
+ "selector": "variable",
179
+ "format": [
180
+ "strictCamelCase",
181
+ "UPPER_CASE"
182
+ ],
183
+ "leadingUnderscore": "allowSingleOrDouble",
184
+ "trailingUnderscore": "allow",
185
+ "filter": {
186
+ "regex": "[- ]",
187
+ "match": false
188
+ }
189
+ },
190
+ {
191
+ "selector": "function",
192
+ "format": [
193
+ "strictCamelCase"
194
+ ]
195
+ },
196
+ {
197
+ "selector": "parameter",
198
+ "format": [
199
+ "strictCamelCase"
200
+ ],
201
+ "leadingUnderscore": "allow"
202
+ },
203
+ {
204
+ "selector": "import",
205
+ "format": [
206
+ "strictCamelCase",
207
+ "StrictPascalCase",
208
+ "UPPER_CASE"
209
+ ]
210
+ },
177
211
  {
178
212
  "selector": [
179
- "variable",
180
- "function",
181
213
  "classProperty",
182
- "objectLiteralProperty",
183
214
  "parameterProperty",
184
215
  "classMethod",
185
216
  "objectLiteralMethod",
@@ -196,6 +227,13 @@ export default [
196
227
  "match": false
197
228
  }
198
229
  },
230
+ {
231
+ "selector": [
232
+ "objectLiteralProperty",
233
+ "typeProperty"
234
+ ],
235
+ "format": null
236
+ },
199
237
  {
200
238
  "selector": "typeLike",
201
239
  "format": [
@@ -852,7 +890,6 @@ export default [
852
890
  "sonarjs/public-static-readonly": "error",
853
891
  "sonarjs/reduce-initial-value": "error",
854
892
  "symbol-description": "error",
855
- "unicorn/better-regex": "error",
856
893
  "unicorn/catch-error-name": [
857
894
  "error",
858
895
  {
@@ -556,7 +556,6 @@ export default [
556
556
  "sonarjs/prefer-single-boolean-return": "error",
557
557
  "sonarjs/reduce-initial-value": "error",
558
558
  "symbol-description": "error",
559
- "unicorn/better-regex": "error",
560
559
  "unicorn/catch-error-name": [
561
560
  "error",
562
561
  {
@@ -196,12 +196,45 @@ export default [
196
196
  ],
197
197
  "@typescript-eslint/naming-convention": [
198
198
  "error",
199
+ {
200
+ "selector": "variable",
201
+ "format": [
202
+ "strictCamelCase",
203
+ "UPPER_CASE",
204
+ "StrictPascalCase"
205
+ ],
206
+ "leadingUnderscore": "allowSingleOrDouble",
207
+ "trailingUnderscore": "allow",
208
+ "filter": {
209
+ "regex": "[- ]",
210
+ "match": false
211
+ }
212
+ },
213
+ {
214
+ "selector": "function",
215
+ "format": [
216
+ "strictCamelCase",
217
+ "StrictPascalCase"
218
+ ]
219
+ },
220
+ {
221
+ "selector": "parameter",
222
+ "format": [
223
+ "strictCamelCase"
224
+ ],
225
+ "leadingUnderscore": "allow"
226
+ },
227
+ {
228
+ "selector": "import",
229
+ "format": [
230
+ "strictCamelCase",
231
+ "StrictPascalCase",
232
+ "UPPER_CASE"
233
+ ]
234
+ },
199
235
  {
200
236
  "selector": [
201
- "variable",
202
- "function",
203
237
  "classProperty",
204
- "objectLiteralProperty",
205
238
  "parameterProperty",
206
239
  "classMethod",
207
240
  "objectLiteralMethod",
@@ -218,6 +251,13 @@ export default [
218
251
  "match": false
219
252
  }
220
253
  },
254
+ {
255
+ "selector": [
256
+ "objectLiteralProperty",
257
+ "typeProperty"
258
+ ],
259
+ "format": null
260
+ },
221
261
  {
222
262
  "selector": "typeLike",
223
263
  "format": [
@@ -949,7 +989,6 @@ export default [
949
989
  "sonarjs/public-static-readonly": "error",
950
990
  "sonarjs/reduce-initial-value": "error",
951
991
  "symbol-description": "error",
952
- "unicorn/better-regex": "error",
953
992
  "unicorn/catch-error-name": [
954
993
  "error",
955
994
  {