api: remove the version parameter of getSupportInfo (#7620)
* api: remove the version parameter of getSupportInfo * add changelog entry * remove mapDeprecated * Update pr-7620.md * remove the first parameter completely * Update api.md * add default value for opts just to be on the safe side
This commit is contained in:
1 parent
863a92c9c8
commit
cf3d9f0b80
14 files changed
+254
-765
No files matched your search
+1
-1
@@ -68,7 +68,7 @@ Prettier plugins are regular JavaScript modules with five exports:
|
||||
|
||||
### `languages`
|
||||
|
||||
Languages is an array of language definitions that your plugin will contribute to Prettier. It can include all of the fields specified in [`prettier.getSupportInfo()`](api.md#prettiergetsupportinfo-version).
|
||||
Languages is an array of language definitions that your plugin will contribute to Prettier. It can include all of the fields specified in [`prettier.getSupportInfo()`](api.md#prettiergetsupportinfo).
|
||||
|
||||
It **must** include `name` and `parsers`.
|
||||
|
||||
|
||||
Reference in new issue
Block a user