prettier/tests_integration/plugins/automatic
Christian Zosel d05a29da05 Allow plugins to override default options (#3991)
* refactor(cli): defer default value applying

* Allow plugins to override default options

* Move "defaultOptions" to top level of plugin

* Simplify implementation

* Attach plugin name

* Add pluginOptions to cli help

* Update snapshots

* Code review (immutable style)

* Add test for help output

* Use snapshot test, fix Object.assign

* Refactor to immutable style

* Add test case for automatic plugin resolution

* Add tests for applying and overriding default opts

* Remove "since" option

* Only set defaults for CLI args when no pluginDefaults are present

* Revert workaround, rebase to #4045

* Add basic documentation for `options` and `defaultOptions`
2018-02-28 00:20:02 +11:00
..
node_modules Allow plugins to override default options (#3991) 2018-02-28 00:20:02 +11:00
file.txt Automatically load plugins from package.json (#3624) 2018-01-05 21:09:51 +11:00
package.json Automatically load plugins from package.json (#3624) 2018-01-05 21:09:51 +11:00