@gtvmbh/eslint-config 1.1.4 → 1.1.6

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gtvmbh/eslint-config",
3
- "version": "1.1.4",
3
+ "version": "1.1.6",
4
4
  "description": "ESLint configurations for various project types developed by Gesellschaft für Technische Visualistik",
5
5
  "main": "index.js",
6
6
  "scripts": {
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
- '@typescript-eslint/naming-convention': ['error', [{
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',
package/src/vidala.js CHANGED
@@ -8,6 +8,6 @@ module.exports = {
8
8
  }],
9
9
  '@typescript-eslint/unbound-method': 'off',
10
10
  'prefer-named-capture-group': 'off',
11
- '@typescript/default-param-last': 'warn'
11
+ '@typescript-eslint/default-param-last': 'warn'
12
12
  }
13
13
  };