chore(linter): downgrade category of expect-expect and no-alias-methods (#848)

There are too many errors(7000+) in vscode repo, so downgrade this rule.

And I think
[no-alias-methods](https://github.com/jest-community/eslint-plugin-jest/blob/main/docs/rules/no-alias-methods.md)
is also too strict when it is placed in [style
config](https://github.com/jest-community/eslint-plugin-jest/blob/main/README.md#style),
so change it also.
This commit is contained in:
Wenzhe Wang 2023-09-03 18:28:40 +08:00 committed by GitHub
parent 6706541049
commit 8588f8b9c6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -56,7 +56,7 @@ declare_oxc_lint!(
/// test('should assert something', () => {});
/// ```
ExpectExpect,
correctness
suspicious
);
impl Rule for ExpectExpect {

View file

@ -43,7 +43,7 @@ declare_oxc_lint!(
/// expect(a).toThrowError();
/// ```
NoAliasMethods,
correctness
style
);
impl Rule for NoAliasMethods {