do the previous commit correctly

This commit is contained in:
Haak Saxberg 2023-06-15 14:20:41 -07:00
parent c47e212164
commit 16963538c4

View file

@ -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 = {