chore(linter): move all import plugin rules to nursery (#1113)

This commit is contained in:
Boshen 2023-10-30 21:04:57 +08:00 committed by GitHub
parent 407e406f86
commit 103268be98
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 4 deletions

View file

@ -32,7 +32,7 @@ declare_oxc_lint!(
/// import bar from './bar' // no default export found in ./bar
/// ```
Default,
correctness
nursery
);
impl Rule for Default {

View file

@ -26,7 +26,7 @@ declare_oxc_lint!(
/// ```javascript
/// ```
Named,
correctness
nursery
);
impl Rule for Named {

View file

@ -49,7 +49,7 @@ declare_oxc_lint!(
/// import { b } from './dep-b.js' // reported: Dependency cycle detected.
/// ```
NoCycle,
pedantic
nursery
);
impl Rule for NoCycle {

View file

@ -28,7 +28,7 @@ declare_oxc_lint!(
/// const foo = require('./foo')
/// ```
NoSelfImport,
correctness
nursery
);
impl Rule for NoSelfImport {