Closed chrisbutler closed 3 years ago
I also faced a similar issue. Eslint reports no errors but codeclimate reports
UNSAFE_componentWillMount should be placed after componentDidMount
eslint config
plugins:
eslint:
enabled: true
channel: "eslint-4"
config:
config: .eslintrc.js
Has there been any investigation into why codeclimate analyze -e eslint <file>
is outputting different results than eslint <file>
despite both using the same eslint configuration?
apologies for the silence on this @chrisbutler - let me know if this is still an issue. closing it out for now 👌🏻
Actual Behavior
yarn eslint <path to file>
correctly reports an error withreact/sort-comp
codeclimate analyze -e eslint
reports no errorsExpected Behavior
codeclimate output would match eslint output
Steps to reproduce
ESLINT CONFIG
CC CONFIG
ESLINT OUTPUT
CODECLIMATE OUTPUT