We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2f55ec0 commit ff3ba37Copy full SHA for ff3ba37
crates/oxc_linter/src/rules/jest/no_mocks_import.rs
@@ -43,6 +43,17 @@ declare_oxc_lint!(
43
/// import thing from 'thing';
44
/// require('thing');
45
/// ```
46
+ ///
47
+ /// This rule is compatible with [eslint-plugin-vitest](https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/no-mocks-import.md),
48
+ /// to use it, add the following configuration to your `.oxlintrc.json`:
49
50
+ /// ```json
51
+ /// {
52
+ /// "rules": {
53
+ /// "vitest/no-mocks-import": "error"
54
+ /// }
55
56
+ /// ```
57
NoMocksImport,
58
jest,
59
style
0 commit comments