From a9658d71785e71b59ef717baa995ba9a375423fe Mon Sep 17 00:00:00 2001 From: Yohan Boniface Date: Thu, 26 Feb 2015 11:29:42 +0100 Subject: [PATCH] Use standard .eslintrc naming --- build/eslintrc.json => .eslintrc | 0 Jakefile.js | 4 ++-- spec/{eslintrc.json => .eslintrc} | 0 3 files changed, 2 insertions(+), 2 deletions(-) rename build/eslintrc.json => .eslintrc (100%) rename spec/{eslintrc.json => .eslintrc} (100%) diff --git a/build/eslintrc.json b/.eslintrc similarity index 100% rename from build/eslintrc.json rename to .eslintrc diff --git a/Jakefile.js b/Jakefile.js index dcb73dfc4..62e9ed2dc 100644 --- a/Jakefile.js +++ b/Jakefile.js @@ -27,10 +27,10 @@ function hint(msg, args) { } desc('Check Leaflet source for errors with ESLint'); -task('lint', {async: true}, hint('Checking for JS errors...', 'src --config build/eslintrc.json')); +task('lint', {async: true}, hint('Checking for JS errors...', 'src --config .eslintrc')); desc('Check Leaflet specs source for errors with ESLint'); -task('lintspec', {async: true}, hint('Checking for specs JS errors...', 'spec/suites --config spec/eslintrc.json')); +task('lintspec', {async: true}, hint('Checking for specs JS errors...', 'spec/suites --config spec/.eslintrc')); desc('Combine and compress Leaflet source files'); task('build', {async: true}, function (compsBase32, buildName) { diff --git a/spec/eslintrc.json b/spec/.eslintrc similarity index 100% rename from spec/eslintrc.json rename to spec/.eslintrc