mirror of
https://github.com/dense-analysis/ale.git
synced 2026-10-03 00:43:44 +08:00
Add psalm linter for PHP (#1893)
This commit is contained in:
1 parent
58ceb21cbc
commit
947360f714
6 files changed
+77
-2
No files matched your search
@@ -0,0 +1,12 @@
|
||||
Before:
|
||||
call ale#assert#SetUpLinterTest('php', 'psalm')
|
||||
|
||||
After:
|
||||
call ale#assert#TearDownLinterTest()
|
||||
|
||||
Execute(Custom executables should be used for the executable and command):
|
||||
let g:ale_php_psalm_executable = 'psalm_test'
|
||||
|
||||
AssertLinter 'psalm_test',
|
||||
\ ale#Escape('psalm_test') . ' --diff --output-format=emacs %s'
|
||||
|
||||
Reference in new issue
Block a user