Skip to content

Remove unnecessary ESLint core-modules setting#5358

Merged
aduth merged 1 commit intomainfrom
aduth-eslint-core-modules
Aug 31, 2021
Merged

Remove unnecessary ESLint core-modules setting#5358
aduth merged 1 commit intomainfrom
aduth-eslint-core-modules

Conversation

@aduth
Copy link
Contributor

@aduth aduth commented 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.

The setting itself is meant to allow raw imports of specific package names, but the way these files are referenced is by file path:

require('../app/components/index');
require('../app/utils/index');
require('../app/pw-toggle');
require('../app/checkbox');
require('../app/form-field-format');
require('../app/radio-btn');
require('../app/print-personal-key');
require('../app/i18n-dropdown');
require('../app/accessible-forms');
require('../app/ssn-field');

**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.
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

@aduth aduth merged commit 080b835 into main Aug 31, 2021
@aduth aduth deleted the aduth-eslint-core-modules branch August 31, 2021 15:58
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.

2 participants