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