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

Fixed #2078: Allow let to be used in the test files #2186

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

bitxplora
Copy link

This allows referencing let variables in the files in the tests directory without causing linting errors.

Fixed issue #2078

This allows referencing let variables in the files in the tests
directory without causing linting errors.
Copy link
Contributor

@NullVoxPopuli NullVoxPopuli left a comment

Choose a reason for hiding this comment

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

Thank you for the PR! Can you add a test or two?

The test cases ensure that 'let' or 'var' can be used in the files in
tests directory.
NullVoxPopuli
NullVoxPopuli previously approved these changes Oct 13, 2024
@CvX
Copy link
Contributor

CvX commented Oct 14, 2024

btw, before it gets committed to permanent history – "flies" -> "files" 🪰😃

@NullVoxPopuli NullVoxPopuli changed the title Fixed #2078: Allow let to be used in the test flies. Fixed #2078: Allow let to be used in the test files Oct 14, 2024
@ef4
Copy link
Contributor

ef4 commented Oct 15, 2024

The reason for this rule is not different in tests vs app. So if we think this rule is unworkable in tests and safe to disable in tests, we should just delete the rule entirely, because the exact same arguments apply to app code.

@ef4 ef4 dismissed NullVoxPopuli’s stale review October 22, 2024 15:14

Discussed need for more info

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.

4 participants