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

Doesn't work with typescript-eslint #41

Open
BadIdeaException opened this issue Sep 23, 2024 · 2 comments
Open

Doesn't work with typescript-eslint #41

BadIdeaException opened this issue Sep 23, 2024 · 2 comments

Comments

@BadIdeaException
Copy link

I think to make it work with typescript-eslint, rules should be:

rules: {
    'chai-friendly/no-unused-expressions': 'error',
    'unused-expressions': 'off',
    '@typescript-eslint/no-unused-expressions': 'off'
}
@ihordiachenko
Copy link
Owner

Hi @BadIdeaException! Did the snippet that you provided fix the issue?

@BadIdeaException
Copy link
Author

Well, I replaced unused-expressions with @typescript-eslint/no-unused-expressions, but I imagine it should not be a problem to have both. And yes, that fixed it for me.

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

No branches or pull requests

2 participants