Skip to content

Commit 4737c6c

Browse files
authored
Ported test suite: plugin-resolution (#42)
- We currently don't support loading plugins with implicit relative paths (missing starting dot)
1 parent a3e797b commit 4737c6c

File tree

28 files changed

+446
-0
lines changed

28 files changed

+446
-0
lines changed
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
import path from 'node:path'
2+
3+
export default {
4+
plugins: [
5+
path.resolve('../../../../../config/prettier-plugins/prettier-plugin-uppercase-rocks/index.js')
6+
]
7+
}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
contents

test/__fixtures__/plugins/automatic/node_modules/@prettier/plugin-foo/index.js

Lines changed: 24 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

test/__fixtures__/plugins/automatic/node_modules/@prettier/plugin-foo/package.json

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

test/__fixtures__/plugins/automatic/node_modules/@user/prettier-plugin-foobar/index.js

Lines changed: 24 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

test/__fixtures__/plugins/automatic/node_modules/@user/prettier-plugin-foobar/package.json

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

test/__fixtures__/plugins/automatic/node_modules/prettier-plugin-bar/index.js

Lines changed: 26 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

test/__fixtures__/plugins/automatic/node_modules/prettier-plugin-bar/package.json

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

test/__fixtures__/plugins/automatic/node_modules/prettier-plugin-baz.js/index.js

Lines changed: 30 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

test/__fixtures__/plugins/automatic/node_modules/prettier-plugin-baz.js/package.json

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)