Skip to content

Commit 70c83ea

Browse files
committed
docs: rulesdir (#231)
1 parent 1f902d2 commit 70c83ea

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,8 @@ are also supported. Here is how it looks like:
5353
- [🦚 Formatters](#-formatters)
5454
- [🦉 Configuration](#-configuration)
5555
- [🧬 Plugins API](#-plugins-api)
56-
- [🛴 Codemods](#-codemods)
56+
- [🛴 codemods](#-codemods)
57+
- [💾 rulesdir](#-rulesdir)
5758
- [⏣ Integration with ESLint](#-integration-with-eslint)
5859
- [☄️ Integration with Babel](#%EF%B8%8F-integration-with-babel)
5960
- [🐈 Integration with Yarn](#-integration-with-yarn)
@@ -2684,7 +2685,7 @@ Where `plugins` is an `array` that contains `[name, implementation]` `tuples`.
26842685

26852686
🐊**Putout** supports `codemodes` in the similar to plugins way, just create a directory `~/.putout` and put your plugins there. Here is example: [convert-tape-to-supertape](https://github.com/coderaiser/putout/tree/v12.0.0/codemods/convert-tape-to-supertape#install) and [this is example of work](https://github.com/coderaiser/putout/commit/ad02cebc344ce73cdee668cffc5078bf08830d52).
26862687

2687-
### `rulesdir`
2688+
## 💾 Rulesdir
26882689

26892690
When you have plugins related to your project and you don't want to publish them (because it cannot be reused right now). Use [`rulesdir`](https://github.com/coderaiser/putout/tree/master/rules):
26902691

0 commit comments

Comments
 (0)