diff --git a/CHANGELOG.md b/CHANGELOG.md index 29f6995..4db352d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # Changelog +## 1.2.0 + +- enforce union sorting +- enforce type annotation spacing + ## 1.1.0 update to eslint 7.0 diff --git a/README.md b/README.md index acdb75b..a0bd335 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # @sapphirecode/eslint-config-ts -version: 1.1.x +version: 1.2.x scode eslint configuration for typescript diff --git a/index.js b/index.js index b341abc..19279ef 100644 --- a/index.js +++ b/index.js @@ -60,6 +60,8 @@ module.exports = { } ], '@typescript-eslint/no-use-before-define': 'off', + '@typescript-eslint/type-annotation-spacing': 'error', + '@typescript-eslint/sort-type-union-intersection-members': 'error', 'tsdoc/syntax': 'error', // deactivating commonjs rules 'id-match': 'off', diff --git a/package.json b/package.json index 37982f6..3d3e54d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@sapphirecode/eslint-config-ts", - "version": "1.1.33", + "version": "1.2.0", "description": "scode eslint typescript configuration", "main": "index.js", "scripts": {