From f32432f592dc5497044d6ba44433b2706ed4192d Mon Sep 17 00:00:00 2001 From: zepumph Date: Fri, 14 Dec 2018 15:17:00 -0900 Subject: [PATCH] support linting through package.json files, instead of `CLIEngine.baseConfig`, adding package.json files when needed, https://github.com/phetsims/tasks/issues/972 --- js/grunt/lint.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/js/grunt/lint.js b/js/grunt/lint.js index a20fb4e5..b0eb2618 100644 --- a/js/grunt/lint.js +++ b/js/grunt/lint.js @@ -14,7 +14,6 @@ const grunt = require( 'grunt' ); const md5 = require( 'md5' ); const path = require( 'path' ); const child_process = require( 'child_process' ); -const baseEslintConfig = require( '../../eslint/.eslintrc' ); // eslint-disable-line require-statement-match const getDataFile = require( './getDataFile' ); /** @@ -41,9 +40,6 @@ module.exports = function( repos, cache, say = false ) { cwd: path.dirname( process.cwd() ), - // Rules are specified in the .eslintrc.js file - baseConfig: baseEslintConfig, - // Caching only checks changed files or when the list of rules is changed. Changing the implementation of a // custom rule does not invalidate the cache. Caches are declared in .eslintcache files in the directory where // grunt was run from.