Skip to content

Commit

Permalink
[patch] remove node_modules path from config example
Browse files Browse the repository at this point in the history
  • Loading branch information
electrovir committed Feb 1, 2024
1 parent 3b43046 commit c8b36ea
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Add this config to your prettierrc file:
module.exports = {
plugins: [
// relative paths are usually required, in my experience, so Prettier can find the plugin
'./node_modules/prettier-plugin-multiline-arrays',
'prettier-plugin-multiline-arrays',
],
};
```
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "prettier-plugin-multiline-arrays",
"version": "3.0.1",
"version": "3.0.2",
"description": "Prettier plugin to force all arrays to be multiline.",
"keywords": [
"array",
Expand Down
2 changes: 1 addition & 1 deletion src/readme-examples/prettier-options.example.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module.exports = {
plugins: [
// relative paths are usually required, in my experience, so Prettier can find the plugin
'./node_modules/prettier-plugin-multiline-arrays',
'prettier-plugin-multiline-arrays',
],
};

0 comments on commit c8b36ea

Please sign in to comment.