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

refactor(getKeys): Upgrade eslint config to "recommended" and fix violations in code #21078

Merged
merged 4 commits into from
May 14, 2024

Conversation

Josmithr
Copy link
Contributor

@Josmithr Josmithr commented May 14, 2024

This package was using the minimal-deprecated configuration, which is scheduled for deletion. Upgrades the package's config to the recommended base and fixes violations in the code.

This PR disables some of the recommended rules that are TypeScript-specific. Longer term, we should create a better pattern for JavaScript packages. For now, the primary goal here is to remove usages of the deprecated config.

AB#8051

@Josmithr Josmithr requested review from alexvy86, chentong7 and a team May 14, 2024 21:17
@github-actions github-actions bot added the base: main PRs targeted against main branch label May 14, 2024
Copy link
Contributor

@alexvy86 alexvy86 left a comment

Choose a reason for hiding this comment

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

Not particularly related to the change but one small improvement we could do below. Feel free to punt it though :).

tools/getkeys/index.js Outdated Show resolved Hide resolved
@Josmithr Josmithr enabled auto-merge (squash) May 14, 2024 21:41
@Josmithr Josmithr merged commit 89bdf9c into microsoft:main May 14, 2024
26 checks passed
@Josmithr Josmithr deleted the getKeys/promote-eslint-config branch May 14, 2024 23:09
kekachmar pushed a commit to kekachmar/FluidFramework that referenced this pull request May 21, 2024
…lations in code (microsoft#21078)

This package was using the `minimal-deprecated` configuration, which is
scheduled for deletion. Upgrades the package's config to the
`recommended` base and fixes violations in the code.

This PR disables some of the `recommended` rules that are
TypeScript-specific. Longer term, we should create a better pattern for
JavaScript packages. For now, the primary goal here is to remove usages
of the deprecated config.

AB#8051
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
base: main PRs targeted against main branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants