mirror of
https://github.com/jellyfin/jellyfin-sdk-typescript.git
synced 2024-11-27 00:01:19 +00:00
Add eslint type import rule
This commit is contained in:
parent
32294f5db8
commit
9ba421368d
@ -21,6 +21,9 @@ module.exports = {
|
||||
'newlines-between': 'always-and-inside-groups'
|
||||
}],
|
||||
|
||||
'@typescript-eslint/consistent-type-imports': ['error'],
|
||||
'@typescript-eslint/type-annotation-spacing': ['error'],
|
||||
|
||||
'array-callback-return': ['error'],
|
||||
'arrow-spacing': ['error'],
|
||||
'block-spacing': ['error'],
|
||||
@ -51,7 +54,6 @@ module.exports = {
|
||||
'space-before-blocks': ['error'],
|
||||
'space-before-function-paren': ['error', { 'anonymous': 'never', 'named': 'never', 'asyncArrow': 'always' }],
|
||||
'space-infix-ops': 'error',
|
||||
'@typescript-eslint/type-annotation-spacing': ['error'],
|
||||
'yoda': 'error'
|
||||
},
|
||||
overrides: [
|
||||
|
Loading…
Reference in New Issue
Block a user