Closed
Description
Actual Behavior
My .codeclimate.yml
file:
version: "2"
plugins:
eslint:
enabled: true
channel: "eslint-4"
exclude_patterns:
- "**.json"
- "**.md"
- "**.yml"
when trying to run codeclimate's analysis it fails:
/usr/src/app/lib/validate_config.js:18
throw e;
^
TypeError: Cannot read property 'recommended' of undefined
Referenced from: /code/.eslintrc.json
at loadConfigFile (/usr/local/node_modules/eslint/lib/config/config-file.js:211:40)
at loadFromDisk (/usr/local/node_modules/eslint/lib/config/config-file.js:486:18)
at load (/usr/local/node_modules/eslint/lib/config/config-file.js:550:20)
at configExtends.reduceRight.e (/usr/local/node_modules/eslint/lib/config/config-file.js:421:36)
at Array.reduceRight (native)
at applyExtends (/usr/local/node_modules/eslint/lib/config/config-file.js:403:28)
at loadFromDisk (/usr/local/node_modules/eslint/lib/config/config-file.js:514:22)
at Object.load (/usr/local/node_modules/eslint/lib/config/config-file.js:550:20)
at Config.getLocalConfigHierarchy (/usr/local/node_modules/eslint/lib/config.js:228:44)
at Config.getConfigHierarchy (/usr/local/node_modules/eslint/lib/config.js:180:43)
This is the failing build.
Expected Behavior
It should run normally and pass, since according to this, you do support eslint-config-prettier
, eslint-plugin-prettier
and prettier
in your ESLint-4 channel
Steps to reproduce
This is happening on the master
branch, therefore, please feel free to fork it. Perhaps you want to take a look at the package.json
file.
Metadata
Metadata
Assignees
Labels
No labels