@cenk1cenk2/eslint-config 2.3.1 → 2.3.2

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/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ ## [2.3.2](https://github.com/cenk1cenk2/eslint-config/compare/v2.3.1...v2.3.2) (2022-01-31)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * move to typed rules ([40b224a](https://github.com/cenk1cenk2/eslint-config/commit/40b224a4cfc710c3e2429be068cc618c96fc62e3))
7
+
1
8
  ## [2.3.1](https://github.com/cenk1cenk2/eslint-config/compare/v2.3.0...v2.3.1) (2022-01-31)
2
9
 
3
10
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cenk1cenk2/eslint-config",
3
- "version": "2.3.1",
3
+ "version": "2.3.2",
4
4
  "description": "Eslint configuration for my taste.",
5
5
  "main": "index.js",
6
6
  "repository": "https://github.com/cenk1cenk2/eslint-config",
@@ -16,6 +16,13 @@ module.exports = {
16
16
  'no-throw-literal': 'off',
17
17
  '@typescript-eslint/no-throw-literal': [ 'error' ],
18
18
  '@typescript-eslint/prefer-reduce-type-parameter': 'error',
19
+ '@typescript-eslint/consistent-type-imports': [
20
+ 'error',
21
+ {
22
+ prefer: 'type-imports',
23
+ disallowTypeAnnotations: true
24
+ }
25
+ ],
19
26
  '@typescript-eslint/consistent-type-exports': [ 'error', { fixMixedExportsWithInlineTypeSpecifier: false } ]
20
27
  }
21
28
  }
package/typescript.js CHANGED
@@ -276,13 +276,6 @@ module.exports = {
276
276
  '@typescript-eslint/consistent-indexed-object-style': [ 'error', 'record' ],
277
277
  '@typescript-eslint/consistent-type-assertions': [ 'error', { assertionStyle: 'as', objectLiteralTypeAssertions: 'allow' } ],
278
278
  '@typescript-eslint/consistent-type-definitions': [ 'error', 'interface' ],
279
- '@typescript-eslint/consistent-type-imports': [
280
- 'error',
281
- {
282
- prefer: 'type-imports',
283
- disallowTypeAnnotations: true
284
- }
285
- ],
286
279
  '@typescript-eslint/method-signature-style': [ 'error', 'property' ],
287
280
  '@typescript-eslint/no-empty-interface': [
288
281
  'error',