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 = {
|
linters = {
|
||||||
eslint = {
|
eslint = {
|
||||||
command = 'eslint',
|
command = 'eslint',
|
||||||
rootPatterns = { '.git' },
|
rootPatterns = { '.git', '.eslintrc.js' },
|
||||||
debounce = 100,
|
debounce = 100,
|
||||||
args = { '--stdin', '--stdin-filename', '%filepath', '--format', 'json' },
|
args = { '--stdin', '--stdin-filename', '%filepath', '--format', 'json' },
|
||||||
sourceName = 'eslint',
|
sourceName = 'eslint',
|
||||||
|
|
@ -82,8 +82,8 @@ nvim_lsp.diagnosticls.setup {
|
||||||
security = 'severity'
|
security = 'severity'
|
||||||
},
|
},
|
||||||
securities = {
|
securities = {
|
||||||
[1] = 'error',
|
['1'] = 'warning',
|
||||||
[2] = 'warning'
|
['2'] = 'error',
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
markdownlint = {
|
markdownlint = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue