@ololoepepe/eslint-config-typescript 0.0.7 → 0.0.9

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": "@ololoepepe/eslint-config-typescript",
3
- "version": "0.0.7",
3
+ "version": "0.0.9",
4
4
  "description": "ESLint config for TypeScript",
5
5
  "main": "src/index.js",
6
6
  "imports": {
@@ -63,7 +63,7 @@ export default {
63
63
  countVoidThis: false,
64
64
  max: 4
65
65
  }],
66
- '@typescript-eslint/method-signature-style': ['error', 'method'],
66
+ '@typescript-eslint/method-signature-style': ['error', 'property'],
67
67
  '@typescript-eslint/non-nullable-type-assertion-style': 'error',
68
68
  '@typescript-eslint/only-throw-error': ['error', {
69
69
  allowRethrowing: true, // TODO: Reconsider
@@ -137,11 +137,11 @@ export default {
137
137
  vars: 'all'
138
138
  }],
139
139
  '@typescript-eslint/no-use-before-define': ['error', {
140
- classes: true,
141
- enums: true,
140
+ classes: false,
141
+ enums: false,
142
142
  functions: false,
143
143
  ignoreTypeReferences: true,
144
- typedefs: true,
144
+ typedefs: false,
145
145
  variables: true
146
146
  }],
147
147
  '@typescript-eslint/no-useless-constructor': 'error',