Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ESLint expects config modules to start eslint-config- #20

Merged
merged 1 commit into from
Aug 6, 2024

Conversation

jeff-horton-ho-sas
Copy link
Contributor

ESLint only accepts modules prefixed with eslint-config when loading config: Creating a shareable config. This needs to be renamed so that we can reference it by module name. The previous workaround of referencing the reletive path of index.js doesn't work in aspel-workspace (and using the workspaces reletive path would be incorrect for linting in drone).

This change allows us to use extends: ['@ukhomeoffice/asl'] which works in both scenarios.

@jeff-horton-ho-sas jeff-horton-ho-sas added the major Big change label Aug 6, 2024
@github-actions github-actions bot force-pushed the switch-to-eslint-config-asl branch from a83e63b to f7e54fc Compare August 6, 2024 10:19
@jeff-horton-ho-sas jeff-horton-ho-sas merged commit 0b8627a into main Aug 6, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
major Big change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants