mirror of
https://github.com/josean-dev/dev-environment-files.git
synced 2025-01-08 17:21:23 +01:00
fix: use lint local instead of requrie('lint')
This commit is contained in:
parent
439cf9751b
commit
2d44bb5191
1 changed files with 2 additions and 2 deletions
|
@ -26,7 +26,7 @@ return {
|
||||||
lint.try_lint()
|
lint.try_lint()
|
||||||
end, { desc = "Trigger linting for current file" })
|
end, { desc = "Trigger linting for current file" })
|
||||||
|
|
||||||
require('lint').linters.pylint.cmd = 'python'
|
lint.linters.pylint.cmd = 'python'
|
||||||
require('lint').linters.pylint.args = {'-m', 'pylint', '-f', 'json'}
|
lint.linters.pylint.args = {'-m', 'pylint', '-f', 'json'}
|
||||||
end,
|
end,
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue