union sorting, annotation spacing (1.2)
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
3c4a47e297
commit
c3a5819949
@ -1,5 +1,10 @@
|
||||
# Changelog
|
||||
|
||||
## 1.2.0
|
||||
|
||||
- enforce union sorting
|
||||
- enforce type annotation spacing
|
||||
|
||||
## 1.1.0
|
||||
|
||||
update to eslint 7.0
|
||||
|
@ -1,6 +1,6 @@
|
||||
# @sapphirecode/eslint-config-ts
|
||||
|
||||
version: 1.1.x
|
||||
version: 1.2.x
|
||||
|
||||
scode eslint configuration for typescript
|
||||
|
||||
|
2
index.js
2
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',
|
||||
|
@ -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": {
|
||||
|
Loading…
x
Reference in New Issue
Block a user