mirror of
https://github.com/dense-analysis/ale.git
synced 2026-10-09 06:45:53 +08:00
Add a script for custom checks to enforce using the abort flag for functions and trailing whitespace, and fix existing issues.
This commit is contained in:
1 parent
e4a4fcd26b
commit
d7ed49f849
36 files changed
+134
-43
No files matched your search
@@ -1,7 +1,7 @@
|
||||
" Author: Zefei Xuan <https://github.com/zefei>
|
||||
" Description: Hack type checking (http://hacklang.org/)
|
||||
|
||||
function! ale_linters#php#hack#Handle(buffer, lines)
|
||||
function! ale_linters#php#hack#Handle(buffer, lines) abort
|
||||
let l:pattern = '^\(.*\):\(\d\+\):\(\d\+\),\(\d\+\): \(.\+])\)$'
|
||||
let l:output = []
|
||||
|
||||
|
||||
Reference in new issue
Block a user