diff --git a/.eslintignore b/.eslintignore new file mode 100644 index 0000000000000000000000000000000000000000..48d93364af7a9514bb7906c43b1dcb7b234b0235 --- /dev/null +++ b/.eslintignore @@ -0,0 +1 @@ +test/_fixtures diff --git a/lib/workers/package-file/index.js b/lib/workers/package-file/index.js index 50fe84629bd5d3750d88e87f7394ddc6982ec220..33bc37f64ce84a925a41d666bc57fc0d6ea64437 100644 --- a/lib/workers/package-file/index.js +++ b/lib/workers/package-file/index.js @@ -1,6 +1,5 @@ const configParser = require('../../config'); const depTypeWorker = require('../dep-type'); -const packageWorker = require('../package'); const npmApi = require('../../api/npm'); let logger = require('../../logger'); diff --git a/lib/workers/repository/cleanup.js b/lib/workers/repository/cleanup.js index f41b7d07d962cd8ac01f8cf8d4b9133a5667fa07..f219a5de0b63a35a75caa6dc6c87de73cf7fcae7 100644 --- a/lib/workers/repository/cleanup.js +++ b/lib/workers/repository/cleanup.js @@ -15,7 +15,8 @@ async function pruneStaleBranches(config, branchList) { ); logger.debug(`renovateBranches=${renovateBranches}`); if ( - renovateBranches.indexOf(`${config.branchPrefix}lock-file-maintenance`) !== -1 + renovateBranches.indexOf(`${config.branchPrefix}lock-file-maintenance`) !== + -1 ) { logger.debug('Checking lock file branch'); const pr = await config.api.getBranchPr( diff --git a/package.json b/package.json index 8c817f9a41c86d0ea7ca242e9f59becb16472e0b..109fe28af95fc9f589e0348cd17dbbd0fa1c3e51 100644 --- a/package.json +++ b/package.json @@ -8,8 +8,8 @@ "heroku-push": "git push heroku master", "heroku-scheduler": "heroku addons:open scheduler", "jest": "NODE_ENV=test LOG_LEVEL=fatal jest", - "lint-fix": "eslint --fix lib/**/*.js test/**/*.js", - "lint": "eslint lib/**/*.js test/**/*.js", + "lint-fix": "eslint --fix lib test", + "lint": "eslint lib test", "prepublishOnly": "npm run build", "start": "node dist/renovate", "start-babel": "babel-node lib/renovate",