prettier/tests_integration
Alexander Kachkaev bc78541274 Improve plugin resolution when path does not start with ./ (#4451)
* Fix plugin resolution when path does not start with ./

* Minor consistency fix: use "if (resolvedPluginSearchDir) {...}" in load-plugins

* Use more appropriate quotes in plugin-resolution.js

* Try both local paths and node modules when resolving plugins manually

* Test bespoke plugin loading by node module name

* Simplify getFileInfo() as suggested by @j-f1

https://github.com/prettier/prettier/pull/4341#discussion_r187112707
2018-05-10 10:27:41 +10:00
..
__tests__ Improve plugin resolution when path does not start with ./ (#4451) 2018-05-10 10:27:41 +10:00
cli feat: split out JSON5 (#4367) 2018-04-25 22:10:22 +08:00
custom-parsers Implement custom parser API (#1783) 2017-06-12 16:51:12 +10:00
plugins Improve plugin resolution when path does not start with ./ (#4451) 2018-05-10 10:27:41 +10:00
.eslintrc.yml Convert eslint config and users/languages/editors files to YAML (#3516) 2017-12-18 21:55:10 +11:00
path-serializer.js Fix unit tests on Windows (#2922) 2017-09-28 19:30:51 +10:00
runPrettier.js Fix plugin API in globally installed Prettier and introduce optional --plugin-search-dir (#4192) 2018-05-09 19:17:12 +08:00