Skip to content

Commit

Permalink
cleanup readme
Browse files Browse the repository at this point in the history
  • Loading branch information
dartess committed Oct 20, 2024
1 parent a883383 commit 0d03c33
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/eslint-plugin-mobx/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ module.exports = {

```javascript
// eslint.config.js
import pluginMobx from "eslint-plugin-mobx";
import pluginMobx from "eslint-plugin-mobx"

export default [
// ...
Expand All @@ -45,16 +45,16 @@ export default [

// ...or specify and customize individual rules:
{
plugins: { "mobx": pluginMobx },
plugins: { mobx: pluginMobx },
rules: {
// these values are the same as recommended
"mobx/exhaustive-make-observable": "warn",
"mobx/unconditional-make-observable": "error",
"mobx/missing-make-observable": "error",
"mobx/missing-observer": "warn"
}
},
];
}
]
```

## Rules
Expand Down

0 comments on commit 0d03c33

Please sign in to comment.