Skip to content

ESLint configuration #25

@bijujoseph

Description

@bijujoseph

I just noticed that dependabot have generated a PR #24, the associated branch is dependabot/npm_and_yarn/npm_and_yarn-2fbd98b66e.
ESLint: 9.33.0 require eslint.config.(js|mjs|cjs) file. Since we use ".eslintrc.js" so use the https://eslint.org/docs/latest/use/configure/migration-guide.

Error from Github Actions:

<error>
> @cmsgov/qpp-shared-api-versioning-node@1.1.3 lint
> eslint *.js


Oops! Something went wrong! :(

ESLint: 9.33.0

ESLint couldn't find an eslint.config.(js|mjs|cjs) file.

From ESLint v9.0.0, the default configuration file is now eslint.config.js.
If you are using a .eslintrc.* file, please follow the migration guide
to update your configuration file to the new format:

https://eslint.org/docs/latest/use/configure/migration-guide

If you still have problems after following the migration guide, please stop by
https://eslint.org/chat/help to chat with the team.
</error>

Can you do the following:

  1. create that eslint.config.js and migrate the existing .eslintrc.js into that
  2. update the feature-build.yml, draft-release.yml, publish-artificats.yml workflows

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions