@robinblomberg/eslint-config-robinblomberg 0.8.3 → 0.8.7
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.
- package/index.js +7 -2
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -200,7 +200,7 @@ module.exports = {
|
|
|
200
200
|
],
|
|
201
201
|
'@typescript-eslint/method-signature-style': [warn, 'method'],
|
|
202
202
|
'@typescript-eslint/naming-convention': [
|
|
203
|
-
|
|
203
|
+
off,
|
|
204
204
|
{
|
|
205
205
|
format: ['camelCase'],
|
|
206
206
|
leadingUnderscore: 'allow',
|
|
@@ -208,10 +208,12 @@ module.exports = {
|
|
|
208
208
|
},
|
|
209
209
|
{
|
|
210
210
|
format: ['camelCase', 'snake_case', 'PascalCase', 'UPPER_CASE'],
|
|
211
|
+
leadingUnderscore: 'allow',
|
|
211
212
|
selector: ['objectLiteralProperty'],
|
|
212
213
|
},
|
|
213
214
|
{
|
|
214
215
|
format: ['camelCase', 'PascalCase'],
|
|
216
|
+
leadingUnderscore: 'allow',
|
|
215
217
|
selector: ['function'],
|
|
216
218
|
},
|
|
217
219
|
{
|
|
@@ -221,6 +223,7 @@ module.exports = {
|
|
|
221
223
|
},
|
|
222
224
|
{
|
|
223
225
|
format: ['PascalCase'],
|
|
226
|
+
leadingUnderscore: 'allow',
|
|
224
227
|
selector: [
|
|
225
228
|
'class',
|
|
226
229
|
'enum',
|
|
@@ -231,10 +234,12 @@ module.exports = {
|
|
|
231
234
|
},
|
|
232
235
|
{
|
|
233
236
|
format: ['UPPER_CASE'],
|
|
237
|
+
leadingUnderscore: 'allow',
|
|
234
238
|
selector: ['enumMember'],
|
|
235
239
|
},
|
|
236
240
|
{
|
|
237
241
|
format: null,
|
|
242
|
+
leadingUnderscore: 'allow',
|
|
238
243
|
selector: ['parameter', 'property'],
|
|
239
244
|
},
|
|
240
245
|
],
|
|
@@ -1036,7 +1041,7 @@ module.exports = {
|
|
|
1036
1041
|
'jsdoc/require-property-description': warn,
|
|
1037
1042
|
'jsdoc/require-property-name': warn,
|
|
1038
1043
|
'jsdoc/require-property-type': warn,
|
|
1039
|
-
'jsdoc/require-returns':
|
|
1044
|
+
'jsdoc/require-returns': off,
|
|
1040
1045
|
'jsdoc/require-returns-check': warn,
|
|
1041
1046
|
'jsdoc/require-returns-description': off,
|
|
1042
1047
|
'jsdoc/require-returns-type': warn,
|