chore(linter): change the category of all react-perf rules to perf (#3243)

close: #3242
This commit is contained in:
Dunqing 2024-05-12 10:55:48 +08:00 committed by GitHub
parent 5671714adb
commit 93030e8af9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 4 additions and 4 deletions

View file

@ -34,7 +34,7 @@ declare_oxc_lint!(
/// <Item callback={this.props.jsx} />
/// ```
JsxNoJsxAsProp,
correctness
perf
);
impl Rule for JsxNoJsxAsProp {

View file

@ -42,7 +42,7 @@ declare_oxc_lint!(
/// <Item list={this.props.list} />
/// ```
JsxNoNewArrayAsProp,
correctness
perf
);
impl Rule for JsxNoNewArrayAsProp {

View file

@ -37,7 +37,7 @@ declare_oxc_lint!(
/// <Item callback={this.props.callback} />
/// ```
JsxNoNewFunctionAsProp,
correctness
perf
);
impl Rule for JsxNoNewFunctionAsProp {

View file

@ -41,7 +41,7 @@ declare_oxc_lint!(
/// <Item config={staticConfig} />
/// ```
JsxNoNewObjectAsProp,
correctness
perf
);
impl Rule for JsxNoNewObjectAsProp {