Skip to content

Commit

Permalink
docs: putout: declare-imports-first, declare-after-require
Browse files Browse the repository at this point in the history
  • Loading branch information
coderaiser committed Dec 20, 2024
1 parent 4586abc commit d12d9e5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/plugin-declare-imports-first/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
>
> (c) [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/import)
🐊[**Putout**](https://github.com/coderaiser/putout) plugin adds ability to declare imports first.
🐊[**Putout**](https://github.com/coderaiser/putout) plugin adds ability to declare imports first. For CommonJS use [nodejs/declare-after-require](https://github.com/coderaiser/putout/tree/master/packages/plugin-nodejs#declare-after-require).

Check out in 🐊[**Putout Editor**](https://putout.cloudcmd.io/#/gist/b1c18e5d726afe4ebb69d6b7a7dda82b/8189590815a1b8adb35bb8a846e28228e3c7fadf).

Expand Down
2 changes: 1 addition & 1 deletion packages/plugin-nodejs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ When you want to skip some declaration use `dismiss`:
>
> (c) [Nodejs.org](https://nodejs.org/en/knowledge/getting-started/what-is-require/)
Check out in 🐊[**Putout Editor**](https://putout.cloudcmd.io/#/gist/https://putout.cloudcmd.io/#/gist/ddf5731ae829beec4d3018d4d9ac2150/342738b63337bfa9b4fc08c5b301483ea2b5ba9c).
For ESM use [declare-imports-first](https://github.com/coderaiser/putout/tree/master/packages/plugin-declare-imports-first#readme). Check out in 🐊[**Putout Editor**](https://putout.cloudcmd.io/#/gist/https://putout.cloudcmd.io/#/gist/ddf5731ae829beec4d3018d4d9ac2150/342738b63337bfa9b4fc08c5b301483ea2b5ba9c).
### ❌ Example of incorrect code
Expand Down

0 comments on commit d12d9e5

Please sign in to comment.