codeclimate / codeclimate-eslint

Code Climate Engine for ESLint
MIT License
95 stars 93 forks source link

Revert "Update all ESLint 3.x dependencies." #404

Closed larkinscott closed 6 years ago

larkinscott commented 6 years ago

Reverts codeclimate/codeclimate-eslint#400

error: (CC::CLI::Analyze::EngineFailure) engine eslint failed with status 1 and stderr 
ESLint is running with the /usr/local/node_modules/babel-eslint/index.js parser.

WARN: Skipping source/javascripts/swipe.js: it appears to be minified

assert.js:85
  throw new assert.AssertionError({
  ^
AssertionError: ImportDeclaration should appear when the mode is ES6 and in the module context.
    at Referencer.ImportDeclaration (/usr/local/node_modules/escope/lib/referencer.js:591:34)
    at Referencer.Visitor.visit (/usr/local/node_modules/esrecurse/esrecurse.js:104:34)
    at Referencer.Visitor.visitChildren (/usr/local/node_modules/esrecurse/esrecurse.js:83:38)
    at Referencer.Program (/usr/local/node_modules/escope/lib/referencer.js:419:18)
    at Referencer.Visitor.visit (/usr/local/node_modules/esrecurse/esrecurse.js:104:34)
    at Object.analyze (/usr/local/node_modules/escope/lib/index.js:153:16)
    at EventEmitter.module.exports.api.verify (/usr/local/node_modules/eslint/lib/eslint.js:892:35)
    at processText (/usr/local/node_modules/eslint/lib/cli-engine.js:264:31)
    at processFile (/usr/local/node_modules/eslint/lib/cli-engine.js:303:18)
    at executeOnFile (/usr/local/node_modules/eslint/lib/cli-engine.js:672:25)