mirror of
https://github.com/dense-analysis/ale.git
synced 2026-05-20 07:19:49 +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,6 +1,6 @@
|
||||
" Author: KabbAmine <amine.kabb@gmail.com>
|
||||
|
||||
function! ale_linters#yaml#yamllint#Handle(buffer, lines)
|
||||
function! ale_linters#yaml#yamllint#Handle(buffer, lines) abort
|
||||
" Matches patterns line the following:
|
||||
" something.yaml:1:1: [warning] missing document start "---" (document-start)
|
||||
" something.yml:2:1: [error] syntax error: expected the node content, but found '<stream end>'
|
||||
|
||||
Reference in New Issue
Block a user