do the previous commit correctly
This commit is contained in:
parent
c47e212164
commit
16963538c4
1 changed files with 3 additions and 3 deletions
|
|
@ -68,7 +68,7 @@ nvim_lsp.diagnosticls.setup {
|
|||
linters = {
|
||||
eslint = {
|
||||
command = 'eslint',
|
||||
rootPatterns = { '.git' },
|
||||
rootPatterns = { '.git', '.eslintrc.js' },
|
||||
debounce = 100,
|
||||
args = { '--stdin', '--stdin-filename', '%filepath', '--format', 'json' },
|
||||
sourceName = 'eslint',
|
||||
|
|
@ -82,8 +82,8 @@ nvim_lsp.diagnosticls.setup {
|
|||
security = 'severity'
|
||||
},
|
||||
securities = {
|
||||
[1] = 'error',
|
||||
[2] = 'warning'
|
||||
['1'] = 'warning',
|
||||
['2'] = 'error',
|
||||
}
|
||||
},
|
||||
markdownlint = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue