eslint-config-entva-typescript-base 2.8.0 → 2.9.0

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.
Files changed (2) hide show
  1. package/index.js +15 -10
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -162,6 +162,11 @@ export default [
162
162
  enforceForArrowConditionals: false,
163
163
  }],
164
164
 
165
+ '@stylistic/ts/type-annotation-spacing': ['error', {
166
+ before: false,
167
+ after: true,
168
+ }],
169
+
165
170
  '@stylistic/ts/member-delimiter-style': ['error', {
166
171
  multiline: {
167
172
  delimiter: 'comma',
@@ -173,16 +178,16 @@ export default [
173
178
  }],
174
179
  '@stylistic/ts/func-call-spacing': ['error', 'never'],
175
180
  '@stylistic/ts/no-extra-semi': ['error'],
176
- // '@stylistic/ts/comma-dangle': ['error', {
177
- // arrays: 'always-multiline',
178
- // objects: 'always-multiline',
179
- // imports: 'always-multiline',
180
- // exports: 'always-multiline',
181
- // functions: 'always-multiline',
182
- // enums: 'always-multiline',
183
- // generics: 'always-multiline',
184
- // tuples: 'always-multiline',
185
- // }],
181
+ '@stylistic/ts/comma-dangle': ['error', {
182
+ arrays: 'always-multiline',
183
+ objects: 'always-multiline',
184
+ imports: 'always-multiline',
185
+ exports: 'always-multiline',
186
+ functions: 'always-multiline',
187
+ enums: 'always-multiline',
188
+ generics: 'always-multiline',
189
+ tuples: 'always-multiline',
190
+ }],
186
191
  },
187
192
  },
188
193
  ];
package/package.json CHANGED
@@ -9,7 +9,7 @@
9
9
  "url": "https://github.com/entva/styleguide"
10
10
  },
11
11
  "bugs": "https://github.com/entva/styleguide/issues",
12
- "version": "2.8.0",
12
+ "version": "2.9.0",
13
13
  "keywords": [
14
14
  "linter",
15
15
  "config",