mirror of
https://github.com/oxc-project/oxc.git
synced 2026-11-04 10:29:58 +00:00
feat(linter): mark import rules as recommended (#27671)
Copying recommended state from the upstream plugin.
This commit is contained in:
1 parent
c5a66191a6
commit
6ae6859ecd
5 files changed
+5
No files matched your search
@@ -49,6 +49,7 @@ declare_oxc_lint!(
|
||||
Default,
|
||||
import,
|
||||
correctness,
|
||||
recommended,
|
||||
version = "0.0.13",
|
||||
short_description = "If a default import is requested, this rule will report if there is no default export in the imported module.",
|
||||
);
|
||||
|
||||
@@ -110,6 +110,7 @@ declare_oxc_lint!(
|
||||
Namespace,
|
||||
import,
|
||||
correctness,
|
||||
recommended,
|
||||
config = Namespace,
|
||||
version = "0.2.11",
|
||||
short_description = "Ensure imported namespaces contain dereferenced properties as they are dereferenced.",
|
||||
|
||||
@@ -106,6 +106,7 @@ declare_oxc_lint!(
|
||||
NoDuplicates,
|
||||
import,
|
||||
style,
|
||||
recommended,
|
||||
conditional_fix,
|
||||
config = NoDuplicates,
|
||||
version = "0.2.11",
|
||||
|
||||
@@ -69,6 +69,7 @@ declare_oxc_lint!(
|
||||
NoNamedAsDefault,
|
||||
import,
|
||||
suspicious,
|
||||
recommended,
|
||||
version = "0.2.3",
|
||||
short_description = "Forbid using an exported name as the identifier of a default export.",
|
||||
);
|
||||
|
||||
@@ -64,6 +64,7 @@ declare_oxc_lint!(
|
||||
NoNamedAsDefaultMember,
|
||||
import,
|
||||
suspicious,
|
||||
recommended,
|
||||
version = "0.2.1",
|
||||
short_description = "Forbid using an exported name as a property on a default export.",
|
||||
);
|
||||
|
||||
Reference in new issue
Block a user