Closed MDSLKTR closed 10 months ago
This also affects new eslint keys like ignorePatterns
. This is ultimately blocking on us using codeclimate & eslint (and honestly using codeclimate in any meaningful way).
Same same @simonv3
I'm having the same issue with eslint 2021 not having been added until es 7.8.0 and this plugin is only up to 7.6.0.
https://github.com/codeclimate/codeclimate-eslint/blob/channel/eslint-7/package.json#L21
What is codeclimate's plugin update schedule?
Using eslint version 7 solved the problem for me. But indeed it would be nice to find a solution for those who can not update from v6 to v7.
plugins:
eslint:
enabled: true
channel: "eslint-7"
The following shows output from code climate where our eslintrc.js can't be used because the eslint version on the
eslint 6 channel
, doesn't support it.Actual Behavior
Expected Behavior
All Environment Keys should work, when selected the channel eslint-6
Steps to reproduce
Use
env: { es2020: true }
in your eslintrc config