Skip to content

Commit

Permalink
docs(linter): add plugin usage to example with configuration
Browse files Browse the repository at this point in the history
closes #5400
  • Loading branch information
Boshen committed Sep 11, 2024
1 parent 608b7d3 commit 64f9575
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions crates/oxc_linter/src/config/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ use crate::{
///
/// 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
///
Expand All @@ -41,15 +41,16 @@ use crate::{
/// ```json
/// {
/// "env": {
/// "browser": true
/// "browser": true
/// },
/// "globals": {
/// "foo": "readonly"
/// },
/// "settings": {
/// },
/// "rules": {
/// "eqeqeq": "warn"
/// "eqeqeq": "warn",
/// "import/no-cycle": "error"
/// }
/// }
/// ```
Expand Down

0 comments on commit 64f9575

Please sign in to comment.