* Add docs on using prettier with git-format-staged in a pre-commit hook
* wording change to use case description
* Add "unstage" and "unstaged" to cspell dictionary
* add note about Python requirement
* 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
* feat: add new parser `babel-ts` to parse TypeScript syntaxes via Babel
* docs: document parser babel-ts
* chore: enable babel-ts in markdown and worker.js
* verify all TS tests against babel-ts except disabled by disableBabelTS
* support for TSDeclareMethod; fix abstract properties and methods
* fix embedded angular templates and styles
* fix TSImportType
* simplify babel options combinations
* fix method decorators
* fix ranges
* work around loc inconsistencies for SequenceExpression
* don't print trailing comma in type parameters (unsupported in TS < 3.3)
* preserve quotes for class properties
* align printing of single-parameter functions
* fix comments in degenerate single-element unions and intersections
* fix comments for methods
* fix comments for mapped types
* edit docs, change 'since' to 2.0.0
* add changelog
* fix code sample on playground
* update snapshots after rebase
Co-authored-by: Georgii Dolzhykov <thorn.mailbox@gmail.com>
* 'master' of github.com:prettier/prettier:
Clarify API docs (#7402)
Fix typo (#7425)
[docs] Add Tidelift to cspell.json
website: add Tidelift enterprise language (#7424)
Use BOM string instead of BOM charCode (#7420)
* Towards changing default value for endOfLine
* Update tests and snapshots
* Add placeholder for changelog_unreleased
* Add CHANGELOG
* Undo adding snapshot tests for auto as it does not play well on Windows in CI
* Tweak changelog
* Update jest snapshot
* Clarify API docs
It is not immediately obvious how to set the language (parser), hopefully this will save others time.
* improve wording
Co-authored-by: Georgii Dolzhykov <thorn.mailbox@gmail.com>
* Fixed ALE installation instruction
Since the author of the Vim plugin ALE moved the repository to an organization account, the command used to download the plugin has changed from `Plug 'w0rp/ale'` to `Plug 'dense-analysis/ale'`
* Fixed ALE urls
Fixed all ALE urls in this document
* JSDoc type added in `src/common/util.js`
* skip can return false
* Add TBD for false - 1 not allowed
* Define typedef SkipOptions
* Use method generic for node param
* Define node param for setLocStart and setLocEnd
* Copy idx param to local variable
* Add @returns false
* Update Utility functions docs
* hasNewline param index: allow only number
* Add condition
* Add function keyword to docs
* Add prettier-ignore
* Improve condition
* Remove TBD comment
* Use single quotes
* Add type to oldIndex
* Use singleline JSDocs