mirror of
https://github.com/Kong/insomnia
synced 2024-11-07 22:30:15 +00:00
adds operator spacing rules (#3905)
This commit is contained in:
parent
632b8020f7
commit
bac09280ee
@ -81,6 +81,8 @@ module.exports = {
|
||||
'quotes': 'off',
|
||||
'semi': ['error', 'always'],
|
||||
'space-before-function-paren': ['error', { anonymous: 'never', named: 'never', asyncArrow: 'always' }],
|
||||
'space-infix-ops': 'off', // successor('@typescript-eslint/space-infix-ops')
|
||||
'space-unary-ops': 'error',
|
||||
'space-in-parens': 'error',
|
||||
'spaced-comment': ['error', 'always', {
|
||||
exceptions: ['/', '*', '-', '* '], // for ASCII art :)
|
||||
@ -129,6 +131,7 @@ module.exports = {
|
||||
'@typescript-eslint/no-redeclare': 'error',
|
||||
'@typescript-eslint/no-unused-vars': ['error', { ignoreRestSiblings: true }],
|
||||
'@typescript-eslint/no-use-before-define': 'error',
|
||||
'@typescript-eslint/space-infix-ops': 'error',
|
||||
'@typescript-eslint/quotes': ['error', 'single', { avoidEscape: true }],
|
||||
|
||||
'simple-import-sort/imports': 'error',
|
||||
|
Loading…
Reference in New Issue
Block a user