mirror of
https://github.com/danbulant/oxc
synced 2026-05-25 12:51:57 +00:00
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:
parent
6706541049
commit
8588f8b9c6
2 changed files with 2 additions and 2 deletions
|
|
@ -56,7 +56,7 @@ declare_oxc_lint!(
|
|||
/// test('should assert something', () => {});
|
||||
/// ```
|
||||
ExpectExpect,
|
||||
correctness
|
||||
suspicious
|
||||
);
|
||||
|
||||
impl Rule for ExpectExpect {
|
||||
|
|
|
|||
|
|
@ -43,7 +43,7 @@ declare_oxc_lint!(
|
|||
/// expect(a).toThrowError();
|
||||
/// ```
|
||||
NoAliasMethods,
|
||||
correctness
|
||||
style
|
||||
);
|
||||
|
||||
impl Rule for NoAliasMethods {
|
||||
|
|
|
|||
Loading…
Reference in a new issue