Georgii Dolzhykov
80260555c9
ts: fix optional computed methods ( #6673 )
2019-10-17 14:23:14 +03:00
Georgii Dolzhykov
4ba0d4e36d
fix spelling, wording, markup issues in CHANGELOG.unreleased.md ( #6672 )
2019-10-16 23:18:53 +03:00
dependabot-preview[bot]
f28faf9c04
Bump webpack from 4.41.1 to 4.41.2 in /website ( #6671 )
...
Bumps [webpack](https://github.com/webpack/webpack ) from 4.41.1 to 4.41.2.
- [Release notes](https://github.com/webpack/webpack/releases )
- [Commits](https://github.com/webpack/webpack/compare/v4.41.1...v4.41.2 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: null <27856297+dependabot-preview[bot]@users.noreply.github.com>
2019-10-16 20:11:51 +02:00
Sosuke Suzuki
60d6f139a9
Docs: update docs to follow #6665 ( #6670 )
2019-10-16 18:53:01 +02:00
fisker Cheung
4750b1c25a
Fix an expired todo test ( #6665 )
...
* Fix a expired todo test
* only check TypeError
* Throw a specific TypeError
* fix async expect
* use return
2019-10-16 15:09:39 +02:00
Eric Sakmar
10bd71e478
fix(js): Object destructuring in method shorthand #6515 ( #6646 )
2019-10-16 10:46:20 +03:00
fisker Cheung
d52021ecbf
Minor tweaks for build configs ( #6663 )
...
* Minor tweaks for build configs
* fix `@angular/compiler` path
2019-10-16 07:08:30 +02:00
fisker Cheung
b5cc13a5df
Remove usage of `require.extensions` in `parser-glimmer.js` ( #6658 )
...
* Fix usage of `require.extensions`
* try cjs build
* update comment
2019-10-15 18:00:32 +02:00
Georgii Dolzhykov
d4537dc5f2
enable the allowUndeclaredExports Babel option ( #6660 )
2019-10-15 18:32:46 +03:00
Georgii Dolzhykov
ab598e6e23
tests: rename duplicate bindings to be ready for #6400 ( #6662 )
2019-10-15 18:27:39 +03:00
Sosuke Suzuki
3a998df02e
TSX: Fix incorrectly removing parentheses around jsx elements being accessed in tsx file ( #6640 )
...
* Modify to wrap jsx element used with member-expression in tsx
* Add tests
* Update CHANGELOG.unreleased.md
* Modify to support no-inline jsx element
* Add pr number
* Fix from lint-docs
* Modify to rename isTsx => isTSXFile
* Modify to no considering file ext
* Support JSXFragment and add tests
* Update CHANGELOG.unreleased.md
2019-10-16 00:11:48 +09:00
fisker Cheung
c949f5ba20
Use `babel` plugin replace `includes` ( #6659 )
2019-10-15 13:48:56 +02:00
dependabot-preview[bot]
aa4c1cad5b
Bump @babel/preset-react from 7.0.0 to 7.6.3 in /website ( #6648 )
...
Bumps [@babel/preset-react](https://github.com/babel/babel ) from 7.0.0 to 7.6.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.0.0...v7.6.3 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: null <27856297+dependabot-preview[bot]@users.noreply.github.com>
2019-10-14 19:25:54 +02:00
Georgii Dolzhykov
3a8ebae57d
refactoring: unify code for printing methods, remove isNodeStar… ( #6637 )
...
* unify code for printing methods, remove isNodeStartingWithDeclare hacks
* body is BlockStatement, not an array
* getters and setters can't be async
* unify printPropertyKey calls
2019-10-14 17:39:36 +02:00
dependabot-preview[bot]
1e93fabae5
Bump webpack from 4.41.0 to 4.41.1 in /website ( #6649 )
...
Bumps [webpack](https://github.com/webpack/webpack ) from 4.41.0 to 4.41.1.
- [Release notes](https://github.com/webpack/webpack/releases )
- [Commits](https://github.com/webpack/webpack/compare/v4.41.0...v4.41.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: null <27856297+dependabot-preview[bot]@users.noreply.github.com>
2019-10-14 17:23:23 +02:00
dependabot-preview[bot]
6ca2a1842c
Bump @babel/preset-env from 7.6.2 to 7.6.3 in /website ( #6650 )
...
Bumps [@babel/preset-env](https://github.com/babel/babel ) from 7.6.2 to 7.6.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.6.2...v7.6.3 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: null <27856297+dependabot-preview[bot]@users.noreply.github.com>
2019-10-14 17:23:12 +02:00
Georgii Dolzhykov
977b828666
Get rid of TSParenthesizedType nodes before proceeding with formatting ( #6605 )
...
* get rid of TSParenthesizedType nodes before proceeding with formatting
* fix parens for TSIndexedAccessType, TSFunctionType, TSConditionalType
fixes #6603
* workaround edge cases with one-item unions and intersections
* fix parens for TSInferType
* fix parens for rest elements in tuple types
* refactoring
* fix function types in conditional types
* move tests for rest and optional tuple elements
* fix comment issues
* tests for unions and intersections
* add parens around multiline unions in tuple
* move the parens check for TS nodes closer to the one for Flow nodes
* update CHANGELOG.unreleased.md
* remove dead code
* fix parens for TSConstructorType
* better wording in CHANGELOG.unreleased.md
2019-10-14 15:00:21 +03:00
Georgii Dolzhykov
f8a4a61a62
fix typos ( #6642 )
2019-10-13 21:51:58 +02:00
Sosuke Suzuki
02ec2337b8
Modify to follow #6638 ( #6645 )
2019-10-13 21:51:02 +02:00
Flavyoo
43247c88c2
Added image for Estalee and updates users.yml ( #6629 )
...
* Added image for Estalee and updates users.yml
* Update users.yml
* Ran SVGO
* Ran SVGO
2019-10-13 19:15:04 +02:00
David Lechner
1435b2756c
docs/configuration: specify order of precedence ( #6638 )
...
This updates the docs to show the search order of the config files.
Order comes from: 3805034bdf/src/config/resolve-config.js (L35-L44)
2019-10-12 19:26:07 +02:00
fisker Cheung
5118fc21f3
Update `yaml-unist-parser` to support yaml@1.7.1 ( #6632 )
2019-10-10 12:04:38 +02:00
fisker Cheung
4769f1139a
Remove useless `rollup-plugin-node-builtins` ( #6635 )
2019-10-10 12:03:28 +02:00
Kyle Scully
297be7cc31
docs(website): add build.com to users ( #6633 )
2019-10-09 19:01:05 +02:00
fisker Cheung
9805496c4d
Add code sample for `babel-flow` parser ( #6631 )
2019-10-09 18:10:24 +02:00
Ingvar Stepanyan
282d1017f3
Add support for V8 intrinsics via Babel ( #6496 )
...
This plugin was recently added on Babel side and allows to parse custom syntax for V8 intrinsics.
They don't clash with any real-world JavaScript syntax, so adding this option should be as safe as any other plugin, and would allow to format JavaScript that uses such intrinsics (e.g. code inside Node.js or V8 itself).
2019-10-09 07:29:37 -07:00
fisker Cheung
1cc92752e5
Update `@babel/core` & `@babel/preset-env` to v7.6.3 ( #6628 )
2019-10-09 14:13:13 +02:00
fisker Cheung
179943ccba
Update `@babel/parser` to v7.6.3 ( #6386 )
...
* fix flow_function_parentheses
* fix directives
* fix classes
* fix flow_method
* fix `do`
* fix `decorators`
* fix `comments_closure_typecast`
* fix `comments`
* fix `flow_internal_slot`
* fix `flow_comments`
* fix `flow_type_declarations`
* fix `flow_type_spread`
* fix `functional_composition`
* fix `multiparser_js_css`
* fix `no-semi`
* fix `objects`
* fix `template`
* fix `yield`
* update `flow_method` snap
* fix `empty_paren_comment`
* fix `mdx`
* fix `object_property_comment`
* Update `@babel/parser`
* Update @babel/parser to v7.6.2
* Update yarn.lock
* fix `nullish_coalescing` test
* fix `flow_class_field` test
* fix snapshot
* @babel/parser v7.6.3
* fix tests
* update snap
2019-10-09 14:52:11 +03:00
fisker Cheung
7daf06f4ca
Update `eslint` to v6.5.1 ( #6627 )
2019-10-08 20:21:31 +03:00
Martin Donath
385c2dcc4f
[typescript, flow]: double indent for unions inside of tuples ( #6381 )
2019-10-08 17:37:40 +03:00
Sosuke Suzuki
02cbd15ec2
TypeScript: Fix incorrectly removes double parentheses around types ( #6604 )
2019-10-08 16:56:08 +03:00
dependabot-preview[bot]
affa24ce76
Bump codemirror-graphql from 0.9.0 to 0.11.1 in /website ( #6615 )
...
Bumps [codemirror-graphql](https://github.com/graphql/graphiql ) from 0.9.0 to 0.11.1.
- [Release notes](https://github.com/graphql/graphiql/releases )
- [Changelog](https://github.com/graphql/graphiql/blob/master/CHANGELOG.md )
- [Commits](https://github.com/graphql/graphiql/compare/v0.9.0...codemirror-graphql@0.11.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-07 18:15:15 +02:00
dependabot-preview[bot]
6b1e0b29f3
Bump concurrently from 4.1.2 to 5.0.0 in /website ( #6614 )
...
Bumps [concurrently](https://github.com/kimmobrunfeldt/concurrently ) from 4.1.2 to 5.0.0.
- [Release notes](https://github.com/kimmobrunfeldt/concurrently/releases )
- [Commits](https://github.com/kimmobrunfeldt/concurrently/compare/v4.1.2...v5.0.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: null <27856297+dependabot-preview[bot]@users.noreply.github.com>
2019-10-07 18:14:19 +02:00
dependabot-preview[bot]
64b036f81f
Bump react-dom from 16.10.1 to 16.10.2 in /website ( #6613 )
...
Bumps [react-dom](https://github.com/facebook/react/tree/HEAD/packages/react-dom ) from 16.10.1 to 16.10.2.
- [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.10.2/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-10-07 18:11:57 +02:00
dependabot-preview[bot]
838ca6610d
Bump react from 16.10.1 to 16.10.2 in /website ( #6616 )
...
Bumps [react](https://github.com/facebook/react/tree/HEAD/packages/react ) from 16.10.1 to 16.10.2.
- [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.10.2/packages/react )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: null <27856297+dependabot-preview[bot]@users.noreply.github.com>
2019-10-07 17:35:18 +02:00
dependabot-preview[bot]
ed7c848f3b
Bump eslint-config-prettier from 6.3.0 to 6.4.0 ( #6618 )
...
Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier ) from 6.3.0 to 6.4.0.
- [Release notes](https://github.com/prettier/eslint-config-prettier/releases )
- [Changelog](https://github.com/prettier/eslint-config-prettier/blob/master/CHANGELOG.md )
- [Commits](https://github.com/prettier/eslint-config-prettier/compare/v6.3.0...v6.4.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-07 17:34:49 +02:00
Sosuke Suzuki
13db243935
Update CHANGELOG.unreleased.md ( #6611 )
2019-10-07 17:32:10 +02:00
Sosuke Suzuki
32dd447271
Refactor: Move functions unrelated to printing from printer-estree.js to utils.js ( #6562 )
2019-10-03 17:45:03 +03:00
Evilebot Tnawi
6d4d6a7599
revert: `--only-changed` argument ( #6594 )
2019-10-03 11:21:05 -03:00
fisker Cheung
3f13d2ec1b
Support typescript 3.6 ( #6519 )
2019-10-03 15:24:03 +03:00
fisker Cheung
ce65fc236b
Update all dependencies in `website/` ( #6597 )
2019-10-03 13:37:37 +02:00
Sosuke Suzuki
1aef2b13f4
Website: Update documentation of `resolveConfigFile` ( #6568 )
2019-10-02 17:34:58 +02:00
dependabot-preview[bot]
fced57c1d6
Bump codemirror-graphql from 0.6.12 to 0.9.0 in /website ( #6592 )
...
Bumps [codemirror-graphql](https://github.com/graphql/graphiql ) from 0.6.12 to 0.9.0.
- [Release notes](https://github.com/graphql/graphiql/releases )
- [Changelog](https://github.com/graphql/graphiql/blob/master/CHANGELOG.md )
- [Commits](https://github.com/graphql/graphiql/compare/v0.6.12...v0.9.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-01 16:51:10 +02:00
dependabot-preview[bot]
f4e5d744a9
[Security] Bump remarkable from 1.7.1 to 1.7.4 in /website ( #6589 )
...
Bumps [remarkable](https://github.com/jonschlinkert/remarkable ) from 1.7.1 to 1.7.4. **This update includes security fixes.**
- [Release notes](https://github.com/jonschlinkert/remarkable/releases )
- [Changelog](https://github.com/jonschlinkert/remarkable/blob/master/CHANGELOG.md )
- [Commits](https://github.com/jonschlinkert/remarkable/compare/1.7.1...v1.7.4 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-01 15:22:03 +02:00
dependabot-preview[bot]
d96be47729
Bump babel-preset-env from 1.6.1 to 1.7.0 in /website ( #6588 )
...
Bumps [babel-preset-env](https://github.com/babel/babel-preset-env ) from 1.6.1 to 1.7.0.
- [Release notes](https://github.com/babel/babel-preset-env/releases )
- [Changelog](https://github.com/babel/babel-preset-env/blob/1.x/CHANGELOG.md )
- [Commits](https://github.com/babel/babel-preset-env/compare/v1.6.1...v1.7.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-01 15:21:51 +02:00
dependabot-preview[bot]
68d68d4a43
[Security] Bump extend from 3.0.1 to 3.0.2 in /website ( #6586 )
...
Bumps [extend](https://github.com/justmoon/node-extend ) from 3.0.1 to 3.0.2. **This update includes a security fix.**
- [Release notes](https://github.com/justmoon/node-extend/releases )
- [Changelog](https://github.com/justmoon/node-extend/blob/master/CHANGELOG.md )
- [Commits](https://github.com/justmoon/node-extend/compare/v3.0.1...v3.0.2 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-01 15:12:24 +02:00
dependabot-preview[bot]
b0a13800b7
Bump react-dom from 16.3.3 to 16.10.1 in /website ( #6593 )
...
Bumps [react-dom](https://github.com/facebook/react/tree/HEAD/packages/react-dom ) from 16.3.3 to 16.10.1.
- [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.10.1/packages/react-dom )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-01 15:30:26 +03:00
dependabot-preview[bot]
fb7957dee2
[Security] Bump url-parse from 1.4.1 to 1.4.7 in /website ( #6591 )
...
Bumps [url-parse](https://github.com/unshiftio/url-parse ) from 1.4.1 to 1.4.7. **This update includes security fixes.**
- [Release notes](https://github.com/unshiftio/url-parse/releases )
- [Commits](https://github.com/unshiftio/url-parse/compare/1.4.1...1.4.7 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-01 14:26:09 +02:00
dependabot-preview[bot]
5c82a06141
Bump clipboard from 2.0.0 to 2.0.4 in /website ( #6590 )
...
Bumps [clipboard](https://github.com/zenorocha/clipboard.js ) from 2.0.0 to 2.0.4.
- [Release notes](https://github.com/zenorocha/clipboard.js/releases )
- [Commits](https://github.com/zenorocha/clipboard.js/compare/v2.0.0...v2.0.4 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-01 14:25:49 +02:00
dependabot-preview[bot]
a8d13741fd
Bump concurrently from 3.5.1 to 4.1.2 in /website ( #6585 )
...
Bumps [concurrently](https://github.com/kimmobrunfeldt/concurrently ) from 3.5.1 to 4.1.2.
- [Release notes](https://github.com/kimmobrunfeldt/concurrently/releases )
- [Commits](https://github.com/kimmobrunfeldt/concurrently/compare/3.5.1...v4.1.2 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-01 14:17:12 +02:00