Merge pull request #3255 from yohanboniface/eslint

Use standard .eslintrc config file naming
This commit is contained in:
Vladimir Agafonkin
2015-02-26 13:06:24 +02:00
3 changed files with 2 additions and 2 deletions

View File

@ -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) {