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

Add unbound-method rule #591

Open
FloEdelmann opened this issue Dec 11, 2024 · 1 comment
Open

Add unbound-method rule #591

FloEdelmann opened this issue Dec 11, 2024 · 1 comment

Comments

@FloEdelmann
Copy link
Contributor

See jest/unbound-method.

The rule source does already exist in this repo, but its tests are skipped and naively adding it to index.ts yields an error:

/home/flo/www/eslint-plugin-vitest/src/rules/unbound-method.ts:26
    const TSESLintPlugin = require('@typescript-eslint/eslint-plugin')
                           ^

ReferenceError: require is not defined in ES module scope, you can use import instead
@veritem
Copy link
Member

veritem commented Dec 11, 2024

it's partially done, I haven't got time to finish it.

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