mirror of
https://github.com/jellyfin/jellyfin-sdk-typescript.git
synced 2024-11-23 14:09:43 +00:00
Add two ESLint spacing rules
This commit is contained in:
parent
e2a7e514d3
commit
ab7e85ac1a
@ -29,6 +29,7 @@ module.exports = {
|
||||
'eol-last': ['error'],
|
||||
'indent': ['error', 'tab', { 'SwitchCase': 1 }],
|
||||
'jsx-quotes': ['error', 'prefer-single'],
|
||||
'key-spacing': ['error'],
|
||||
'keyword-spacing': ['error'],
|
||||
'max-statements-per-line': ['error'],
|
||||
'no-floating-decimal': ['error'],
|
||||
@ -47,6 +48,7 @@ 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