Commit Graph
492 Commits
Author SHA1 Message Date
JounQinandGeorgii Dolzhykov c1937cb1b8 feat: add new parser babel-ts to parse TypeScript syntaxes via Babel (#6400)
* 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>
2020-01-29 14:11:16 +02:00
Panayiotis Lipiridis 0c51368d33 Merge branch 'master' of github.com:prettier/prettier into next
* '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)
2020-01-29 13:45:45 +02:00
dependabot-preview[bot] 6fe115b791 Bump concurrently from 5.0.2 to 5.1.0 in /website (#7451)
Bumps [concurrently](https://github.com/kimmobrunfeldt/concurrently) from 5.0.2 to 5.1.0.
- [Release notes](https://github.com/kimmobrunfeldt/concurrently/releases)
- [Commits](https://github.com/kimmobrunfeldt/concurrently/compare/v5.0.2...v5.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-28 18:37:03 +02:00
Alex Grover 0089ad5c43 Fix typo (#7425) 2020-01-25 16:19:10 +02:00
Blaine Bublitz b7571ad017 website: add Tidelift enterprise language (#7424) 2020-01-23 18:52:24 -03:00
fisker Cheung c0517441b2 Enable unicorn/prefer-string-slice (#7251) 2020-01-23 15:15:28 +03:00
Georgii Dolzhykov 37a7e9cd42 Merge branch 'master' into next 2020-01-22 14:55:22 +02:00
fisker Cheung 07b9465dcf website: remove eslint-disable in landing.js (#7329) 2020-01-21 22:23:45 +02:00
dependabot-preview[bot] 4a8ffe8269 Bump codemirror from 5.50.2 to 5.51.0 in /website (#7404)
Bumps [codemirror](https://github.com/codemirror/CodeMirror) from 5.50.2 to 5.51.0.
- [Release notes](https://github.com/codemirror/CodeMirror/releases)
- [Changelog](https://github.com/codemirror/CodeMirror/blob/master/CHANGELOG.md)
- [Commits](https://github.com/codemirror/CodeMirror/compare/5.50.2...5.51.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-21 10:34:41 +02:00
fisker Cheung 4ba0fc7b3c Add title to the /en/users/ page (#7379) 2020-01-20 23:43:27 +02:00
fisker Cheung 7264566d55 Move React ESLint rules to "/website" (#7332) 2020-01-20 13:51:40 +03:00
fisker Cheung afd3e5d101 Fix some String#repeat (#7335) 2020-01-19 00:48:04 +02:00
Sosuke Suzuki ac72cd3e94 Merge branch 'master' into next 2020-01-18 06:49:52 +09:00
Vinoth Kumar bc4b367fad Update overrides.css (#7348)
* Update overrides.css

* Update overrides.css

* Update index.js

* Update overrides.css
2020-01-15 23:07:56 +02:00
fisker Cheung 4abd19ae14 Use array destructuring for some simple case (#7330)
* Use array destructuring for some simple case

* Revert [0]
2020-01-15 19:24:52 +02:00
fisker Cheung f805388d65 Fix prefer-object-spread in /website (#7338) 2020-01-15 18:27:46 +02:00
Georgii Dolzhykov 7e3c0c73b3 Merge branch 'master' into next 2020-01-14 20:36:21 +02:00
fisker CheungandGeorgii Dolzhykov d456b158e0 Style: use object destructuring (#7325)
* Style: use object destructuring

* Update versions.js

* Update sync-flow-tests.js

* Update core.js

Co-authored-by: Georgii Dolzhykov <thorn.mailbox@gmail.com>
2020-01-14 17:30:18 +02:00
dependabot-preview[bot] 0ca35afc64 Bump @babel/preset-react from 7.8.0 to 7.8.3 in /website (#7311)
Bumps [@babel/preset-react](https://github.com/babel/babel) from 7.8.0 to 7.8.3.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/compare/v7.8.0...v7.8.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-14 16:07:20 +02:00
dependabot-preview[bot] dff405963c Bump @babel/preset-env from 7.8.2 to 7.8.3 in /website (#7309)
Bumps [@babel/preset-env](https://github.com/babel/babel) from 7.8.2 to 7.8.3.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/compare/v7.8.2...v7.8.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-14 14:06:02 +02:00
fisker Cheung 85eefb918e Style: enable object-shorthand (#7322) 2020-01-14 14:25:24 +03:00
dependabot-preview[bot] 617d3d6b1e Bump @babel/preset-react from 7.7.4 to 7.8.0 in /website (#7277)
Bumps [@babel/preset-react](https://github.com/babel/babel) from 7.7.4 to 7.8.0.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/compare/v7.7.4...v7.8.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-13 17:28:31 +02:00
dependabot-preview[bot] 9e433ffcb0 Bump docusaurus from 1.14.3 to 1.14.4 in /website (#7290)
Bumps [docusaurus](https://github.com/facebook/docusaurus) from 1.14.3 to 1.14.4.
- [Release notes](https://github.com/facebook/docusaurus/releases)
- [Changelog](https://github.com/facebook/docusaurus/blob/master/CHANGELOG.md)
- [Commits](https://github.com/facebook/docusaurus/compare/v1.14.3...v1.14.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-13 16:26:37 +02:00
dependabot-preview[bot] 4e0ef927db Bump @babel/preset-env from 7.7.7 to 7.8.2 in /website (#7291)
Bumps [@babel/preset-env](https://github.com/babel/babel) from 7.7.7 to 7.8.2.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/compare/v7.7.7...v7.8.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-13 16:26:22 +02:00
fisker Cheung 5e254b45c3 Update codemirror-graphql to v0.11.6 (#7298) 2020-01-13 15:39:12 +02:00
Jed Fox c90fd77db6 Add a Netlify badge to the footer (#7289)
* Add a Netlify badge to the footer

* Change badge as suggested by @vjeux
2020-01-12 16:22:48 -05:00
Lipis 3a96c6d542 Merge branch 'master' into next 2020-01-10 00:41:30 +02:00
Georgii Dolzhykov 5f2384e497 use lodash/* instead of lodash.* (#7235) 2020-01-09 17:48:02 +02:00
Panayiotis Lipiridis 35fe9ccada Merge with master 2020-01-08 14:43:19 +02:00
dependabot-preview[bot] cffdd1d4f9 Bump codemirror from 5.50.0 to 5.50.2 in /website (#7214)
Bumps [codemirror](https://github.com/codemirror/CodeMirror) from 5.50.0 to 5.50.2.
- [Release notes](https://github.com/codemirror/CodeMirror/releases)
- [Changelog](https://github.com/codemirror/CodeMirror/blob/master/CHANGELOG.md)
- [Commits](https://github.com/codemirror/CodeMirror/compare/5.50.0...5.50.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: null <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-01-02 08:26:51 +01:00
dependabot-preview[bot] 07c6deea7d Bump webpack from 4.41.4 to 4.41.5 in /website (#7206)
Bumps [webpack](https://github.com/webpack/webpack) from 4.41.4 to 4.41.5.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v4.41.4...v4.41.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: null <27856297+dependabot-preview[bot]@users.noreply.github.com>
2019-12-30 11:17:19 +01:00
dependabot-preview[bot] 3bdd21dbf3 Bump codemirror from 5.49.2 to 5.50.0 in /website (#7169)
Bumps [codemirror](https://github.com/codemirror/CodeMirror) from 5.49.2 to 5.50.0.
- [Release notes](https://github.com/codemirror/CodeMirror/releases)
- [Changelog](https://github.com/codemirror/CodeMirror/blob/master/CHANGELOG.md)
- [Commits](https://github.com/codemirror/CodeMirror/compare/5.49.2...5.50.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: null <27856297+dependabot-preview[bot]@users.noreply.github.com>
2019-12-23 09:11:25 +01:00
dependabot-preview[bot] 45b1bb702c Bump webpack from 4.41.3 to 4.41.4 in /website (#7164)
Bumps [webpack](https://github.com/webpack/webpack) from 4.41.3 to 4.41.4.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v4.41.3...v4.41.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: null <27856297+dependabot-preview[bot]@users.noreply.github.com>
2019-12-20 15:33:11 +01:00
dependabot-preview[bot] ddcb1f963c Bump @babel/preset-env from 7.7.6 to 7.7.7 in /website (#7158)
Bumps [@babel/preset-env](https://github.com/babel/babel) from 7.7.6 to 7.7.7.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/compare/v7.7.6...v7.7.7)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: null <27856297+dependabot-preview[bot]@users.noreply.github.com>
2019-12-19 08:40:38 +01:00
dependabot-preview[bot] dfa36bacbb Bump concurrently from 5.0.1 to 5.0.2 in /website (#7149)
Bumps [concurrently](https://github.com/kimmobrunfeldt/concurrently) from 5.0.1 to 5.0.2.
- [Release notes](https://github.com/kimmobrunfeldt/concurrently/releases)
- [Commits](https://github.com/kimmobrunfeldt/concurrently/compare/v5.0.1...v5.0.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: null <27856297+dependabot-preview[bot]@users.noreply.github.com>
2019-12-18 08:06:56 +01:00
dependabot-preview[bot] c3b3eb5dda Bump webpack from 4.41.2 to 4.41.3 in /website (#7145)
Bumps [webpack](https://github.com/webpack/webpack) from 4.41.2 to 4.41.3.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v4.41.2...v4.41.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-17 16:30:38 +03:00
dependabot-preview[bot] 823616fdce Bump concurrently from 5.0.0 to 5.0.1 in /website (#7121)
Bumps [concurrently](https://github.com/kimmobrunfeldt/concurrently) from 5.0.0 to 5.0.1.
- [Release notes](https://github.com/kimmobrunfeldt/concurrently/releases)
- [Commits](https://github.com/kimmobrunfeldt/concurrently/compare/v5.0.0...v5.0.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: null <27856297+dependabot-preview[bot]@users.noreply.github.com>
2019-12-10 08:09:49 +01:00
dependabot-preview[bot] 8110e1f72a Bump @babel/preset-env from 7.7.4 to 7.7.6 in /website (#7112)
Bumps [@babel/preset-env](https://github.com/babel/babel) from 7.7.4 to 7.7.6.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/compare/v7.7.4...v7.7.6)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: null <27856297+dependabot-preview[bot]@users.noreply.github.com>
2019-12-09 22:34:31 +01:00
dependabot-preview[bot] c6f4add134 Bump docusaurus from 1.14.2 to 1.14.3 in /website (#7076)
Bumps [docusaurus](https://github.com/facebook/docusaurus) from 1.14.2 to 1.14.3.
- [Release notes](https://github.com/facebook/docusaurus/releases)
- [Changelog](https://github.com/facebook/docusaurus/blob/master/CHANGELOG.md)
- [Commits](https://github.com/facebook/docusaurus/compare/v1.14.2...v1.14.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: null <27856297+dependabot-preview[bot]@users.noreply.github.com>
2019-12-02 16:04:18 +01:00
imgbot[bot] 77a12672aa [ImgBot] Optimize images (#7056) 2019-11-27 17:52:38 +01:00
dependabot-preview[bot] 674f13123d Bump @babel/preset-react from 7.7.0 to 7.7.4 in /website (#7044)
Bumps [@babel/preset-react](https://github.com/babel/babel) from 7.7.0 to 7.7.4.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/compare/v7.7.0...v7.7.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-25 13:16:30 +03:00
dependabot-preview[bot] b43bb40400 Bump @babel/preset-env from 7.7.1 to 7.7.4 in /website (#7045)
Bumps [@babel/preset-env](https://github.com/babel/babel) from 7.7.1 to 7.7.4.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/compare/v7.7.1...v7.7.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: null <27856297+dependabot-preview[bot]@users.noreply.github.com>
2019-11-25 10:12:12 +01:00
dependabot-preview[bot] a8794373ec Bump docusaurus from 1.14.1 to 1.14.2 in /website (#7030)
Bumps [docusaurus](https://github.com/facebook/docusaurus) from 1.14.1 to 1.14.2.
- [Release notes](https://github.com/facebook/docusaurus/releases)
- [Changelog](https://github.com/facebook/docusaurus/blob/master/CHANGELOG.md)
- [Commits](https://github.com/facebook/docusaurus/compare/v1.14.1...v1.14.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-22 15:29:06 +03:00
dependabot-preview[bot] 31842ec068 Bump docusaurus from 1.14.0 to 1.14.1 in /website (#7023)
Bumps [docusaurus](https://github.com/facebook/docusaurus) from 1.14.0 to 1.14.1.
- [Release notes](https://github.com/facebook/docusaurus/releases)
- [Changelog](https://github.com/facebook/docusaurus/blob/master/CHANGELOG.md)
- [Commits](https://github.com/facebook/docusaurus/compare/v1.14.0...v1.14.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: null <27856297+dependabot-preview[bot]@users.noreply.github.com>
2019-11-21 08:23:56 +01:00
fisker Cheung eac6fba2c3 Fix new usage for builtin objects (#6968) 2019-11-17 11:36:21 +01:00
fisker Cheung 57f0dd56dd Replace indexOf with includes (#6967)
* Replace `indexOf` with `includes`

* Add `unicorn/prefer-includes`
2019-11-17 11:06:14 +01:00
dependabot-preview[bot] 21ad05d3c8 Bump react from 16.11.0 to 16.12.0 in /website (#6959)
Bumps [react](https://github.com/facebook/react/tree/HEAD/packages/react) from 16.11.0 to 16.12.0.
- [Release notes](https://github.com/facebook/react/releases)
- [Changelog](https://github.com/facebook/react/blob/master/CHANGELOG.md)
- [Commits](https://github.com/facebook/react/commits/v16.12.0/packages/react)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: null <27856297+dependabot-preview[bot]@users.noreply.github.com>
2019-11-16 12:49:42 +01:00
Simon Lydell 992e410aa7 Update stable docs 2019-11-16 12:29:06 +01:00
dependabot-preview[bot] 59e1ef5074 Bump react-dom from 16.11.0 to 16.12.0 in /website (#6958)
Bumps [react-dom](https://github.com/facebook/react/tree/HEAD/packages/react-dom) from 16.11.0 to 16.12.0.
- [Release notes](https://github.com/facebook/react/releases)
- [Changelog](https://github.com/facebook/react/blob/master/CHANGELOG.md)
- [Commits](https://github.com/facebook/react/commits/v16.12.0/packages/react-dom)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: null <27856297+dependabot-preview[bot]@users.noreply.github.com>
2019-11-16 12:03:35 +01:00
Kevin Deisz a3078a4a61 Add the XML plugin to the docs (#6944) 2019-11-13 09:51:11 +01:00