union sorting, annotation spacing (1.2)
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Timo Hocker 2021-04-08 09:40:54 +02:00
parent 3c4a47e297
commit c3a5819949
4 changed files with 9 additions and 2 deletions

View File

@ -1,5 +1,10 @@
# Changelog
## 1.2.0
- enforce union sorting
- enforce type annotation spacing
## 1.1.0
update to eslint 7.0

View File

@ -1,6 +1,6 @@
# @sapphirecode/eslint-config-ts
version: 1.1.x
version: 1.2.x
scode eslint configuration for typescript

View File

@ -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',

View File

@ -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": {