mirror of
https://github.com/danbulant/oxc
synced 2026-05-24 12:21:58 +00:00
docs(linter): add plugin usage to example with configuration
closes #5400
This commit is contained in:
parent
608b7d37d6
commit
64f9575ed5
1 changed files with 4 additions and 3 deletions
|
|
@ -26,7 +26,7 @@ use crate::{
|
||||||
///
|
///
|
||||||
/// This configuration is aligned with ESLint v8's configuration schema (`eslintrc.json`).
|
/// This configuration is aligned with ESLint v8's configuration schema (`eslintrc.json`).
|
||||||
///
|
///
|
||||||
/// Usage: `oxlint -c oxlintrc.json`
|
/// Usage: `oxlint -c oxlintrc.json --import-plugin`
|
||||||
///
|
///
|
||||||
/// ::: danger NOTE
|
/// ::: danger NOTE
|
||||||
///
|
///
|
||||||
|
|
@ -49,7 +49,8 @@ use crate::{
|
||||||
/// "settings": {
|
/// "settings": {
|
||||||
/// },
|
/// },
|
||||||
/// "rules": {
|
/// "rules": {
|
||||||
/// "eqeqeq": "warn"
|
/// "eqeqeq": "warn",
|
||||||
|
/// "import/no-cycle": "error"
|
||||||
/// }
|
/// }
|
||||||
/// }
|
/// }
|
||||||
/// ```
|
/// ```
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue