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

improvement(eslint-config-fluid): Disable unicorn/prefer-module for tests #21814

Merged

Conversation

Josmithr
Copy link
Contributor

@Josmithr Josmithr commented Jul 10, 2024

We run most of our tests in a Node.js environment, so this rule is not important and makes file-system logic more cumbersome.

@github-actions github-actions bot added area: build Build related issues base: main PRs targeted against main branch labels Jul 10, 2024
@Josmithr Josmithr enabled auto-merge (squash) July 10, 2024 21:06
Comment on lines +11 to +13
- The following rules have been disabled for test code:

- [unicorn/prefer-module](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v48.0.1/docs/rules/prefer-module.md)
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
- The following rules have been disabled for test code:
- [unicorn/prefer-module](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v48.0.1/docs/rules/prefer-module.md)
The following rules have been disabled for test code:
- [unicorn/prefer-module](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v48.0.1/docs/rules/prefer-module.md)
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Sorry, had autocomplete set for this. I'll do a follow-up PR to fix the formatting.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@Josmithr Josmithr merged commit d3f9dc0 into microsoft:main Jul 11, 2024
30 checks passed
@Josmithr Josmithr deleted the eslint-config-fluid/disable-rule-in-tests branch July 11, 2024 18:10
Josmithr added a commit that referenced this pull request Jul 11, 2024
RishhiB pushed a commit to RishhiB/FluidFramework-1 that referenced this pull request Jul 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: build Build related issues base: main PRs targeted against main branch
2 participants