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,7 +1,7 @@
|
||||
" Author: Edward Larkey <edwlarkey@mac.com>
|
||||
" Description: This file adds the foodcritic linter for Chef files.
|
||||
|
||||
function! ale_linters#chef#foodcritic#Handle(buffer, lines)
|
||||
function! ale_linters#chef#foodcritic#Handle(buffer, lines) abort
|
||||
" Matches patterns line the following:
|
||||
"
|
||||
" FC002: Avoid string interpolation where not required: httpd.rb:13
|
||||
|
||||
Reference in New Issue
Block a user