mirror of
https://github.com/danbulant/oxc
synced 2026-05-24 12:21:58 +00:00
chore(linter): change the category of all react-perf rules to perf (#3243)
close: #3242
This commit is contained in:
parent
5671714adb
commit
93030e8af9
4 changed files with 4 additions and 4 deletions
|
|
@ -34,7 +34,7 @@ declare_oxc_lint!(
|
|||
/// <Item callback={this.props.jsx} />
|
||||
/// ```
|
||||
JsxNoJsxAsProp,
|
||||
correctness
|
||||
perf
|
||||
);
|
||||
|
||||
impl Rule for JsxNoJsxAsProp {
|
||||
|
|
|
|||
|
|
@ -42,7 +42,7 @@ declare_oxc_lint!(
|
|||
/// <Item list={this.props.list} />
|
||||
/// ```
|
||||
JsxNoNewArrayAsProp,
|
||||
correctness
|
||||
perf
|
||||
);
|
||||
|
||||
impl Rule for JsxNoNewArrayAsProp {
|
||||
|
|
|
|||
|
|
@ -37,7 +37,7 @@ declare_oxc_lint!(
|
|||
/// <Item callback={this.props.callback} />
|
||||
/// ```
|
||||
JsxNoNewFunctionAsProp,
|
||||
correctness
|
||||
perf
|
||||
);
|
||||
|
||||
impl Rule for JsxNoNewFunctionAsProp {
|
||||
|
|
|
|||
|
|
@ -41,7 +41,7 @@ declare_oxc_lint!(
|
|||
/// <Item config={staticConfig} />
|
||||
/// ```
|
||||
JsxNoNewObjectAsProp,
|
||||
correctness
|
||||
perf
|
||||
);
|
||||
|
||||
impl Rule for JsxNoNewObjectAsProp {
|
||||
|
|
|
|||
Loading…
Reference in a new issue