Skip to content

Migrate ESLint linting from CodeClimate to CircleCI#3923

Merged
aduth merged 3 commits intomasterfrom
aduth-eslint-circleci
Jul 15, 2020
Merged

Migrate ESLint linting from CodeClimate to CircleCI#3923
aduth merged 3 commits intomasterfrom
aduth-eslint-circleci

Conversation

@aduth
Copy link
Contributor

@aduth aduth commented Jul 15, 2020

Related: #3909 (comment), #3914

Why: CodeClimate does not appear to respect local ESLint configuration in all cases, causing many false negatives and false positives.

These changes propose to remove ESLint testing from CodeClimate, running them instead as part of the existing CircleCI test step.

To Do:

aduth added 2 commits July 15, 2020 13:56
**Why**: CircleCI should report the results of linting as test output, as a substitute for CodeClimate, and to ensure that static analysis remains in place for quality code.
**Why**: CodeClimate does not appear to respect local ESLint configuration in all cases, causing many false negatives and false positives.
**Why**: Split out lint tasks for better discoverability, and quicker execution
Copy link
Contributor

@zachmargolis zachmargolis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Screen Shot 2020-07-15 at 12 18 49 PM

Copy link
Contributor

@jmhooper jmhooper left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The is 💯, thanks Andrew

@aduth aduth merged commit e527b71 into master Jul 15, 2020
@aduth aduth deleted the aduth-eslint-circleci branch July 15, 2020 19:34
aduth added a commit that referenced this pull request Aug 31, 2021
**Why**: It was previously added in #1363 to resolve a compatibility issue with CodeClimate, but we no longer use CodeClimate to run ESLint as of #3923. Continuing to include it risks falling out of sync and could be a source of confusion for developers.
aduth added a commit that referenced this pull request Aug 31, 2021
**Why**: It was previously added in #1363 to resolve a compatibility issue with CodeClimate, but we no longer use CodeClimate to run ESLint as of #3923. Continuing to include it risks falling out of sync and could be a source of confusion for developers.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants