@gtvmbh/eslint-config 1.1.4 → 1.1.5
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/package.json +1 -1
- package/src/typescript.js +3 -2
package/package.json
CHANGED
package/src/typescript.js
CHANGED
|
@@ -57,7 +57,8 @@ module.exports = {
|
|
|
57
57
|
'@typescript-eslint/method-signature-style': 'warn', //anscheinend ist 'property' besser, weesschne,
|
|
58
58
|
|
|
59
59
|
// Enforces naming conventions for everything across a codebase
|
|
60
|
-
|
|
60
|
+
|
|
61
|
+
'@typescript-eslint/naming-convention': ['error', {
|
|
61
62
|
selector: 'default',
|
|
62
63
|
format: ['camelCase', 'UPPER_CASE'],
|
|
63
64
|
leadingUnderscore: 'forbid',
|
|
@@ -72,7 +73,7 @@ module.exports = {
|
|
|
72
73
|
{
|
|
73
74
|
selector: 'typeLike',
|
|
74
75
|
format: ['PascalCase'],
|
|
75
|
-
}]
|
|
76
|
+
}],
|
|
76
77
|
|
|
77
78
|
// Requires that .toString() is only called on objects which provide useful information when stringified
|
|
78
79
|
'@typescript-eslint/no-base-to-string': 'warn',
|