From 86c17e18347eb1cb3332b4197cbd1c82e1b567d3 Mon Sep 17 00:00:00 2001 From: w0rp Date: Tue, 13 Jun 2017 09:35:52 +0100 Subject: Include package.json in eslint configuration files --- autoload/ale/fixers/eslint.vim | 1 + 1 file changed, 1 insertion(+) (limited to 'autoload') diff --git a/autoload/ale/fixers/eslint.vim b/autoload/ale/fixers/eslint.vim index e9d615ae..1f377711 100644 --- a/autoload/ale/fixers/eslint.vim +++ b/autoload/ale/fixers/eslint.vim @@ -8,6 +8,7 @@ function! s:FindConfig(buffer) abort \ '.eslintrc.yml', \ '.eslintrc.json', \ '.eslintrc', + \ 'package.json', \] let l:config = ale#path#FindNearestFile(a:buffer, l:filename) -- cgit v1.2.3