Georgii Dolzhykov
d83277bdf2
remove code for old Node from jest config
2020-01-10 00:45:51 +02:00
Lipis
3a96c6d542
Merge branch 'master' into next
2020-01-10 00:41:30 +02:00
Georgii Dolzhykov
9868017749
change version to 2.0.0-dev in package.json
2020-01-10 00:39:06 +02:00
Daiki Ihara
209cee6cea
Scss: fix scss variable string concatenation removing spaces ( #7211 )
2020-01-09 23:38:16 +02:00
Georgii Dolzhykov
5f2384e497
use lodash/* instead of lodash.* ( #7235 )
2020-01-09 17:48:02 +02:00
Sosuke Suzuki
76020c3526
Update linguist-languages to support file extensions .cjs and .yaml.sed ( #7210 )
...
* Update linguist-language
* Add changelog
2020-01-09 17:15:17 +02:00
Georgii Dolzhykov
19499ec723
add netlify.toml to override the node version on netlify
2020-01-09 17:01:29 +02:00
Georgii Dolzhykov
773ebd85e8
fix snapshots
2020-01-09 17:01:05 +02:00
Georgii Dolzhykov
42e7f7f1a5
Merge remote-tracking branch 'remotes/upstream/master' into next
2020-01-09 16:55:41 +02:00
Georgii Dolzhykov
ff566879d8
fix build: remove reference to replace-array-includes-with-indexof
2020-01-09 16:45:17 +02:00
Georgii Dolzhykov
9b7f097368
fix snapshots
2020-01-09 16:38:22 +02:00
Sosuke Suzuki
332a55179e
Vue: format sfc jsx ( #7180 )
...
* Modify to enable to format vue jsx sfc
* add changelog
* Modify to avoid cspell checking, "sfcs" -> "SFC"
2020-01-09 05:14:19 +09:00
1e65456960
markdown: fix redundant leading spaces in markdown list ( #7178 )
...
* fix rebundant leading spaces in markdown list
* add test for rebundant leading spaces in markdown_list
* add changelog_unreleased file of pr-7178
* Update changelog_unreleased/markdown/pr-7178.md
Co-Authored-By: Sosuke Suzuki <aosukeke@gmail.com >
* Update changelog_unreleased/markdown/pr-7178.md
Co-Authored-By: Sosuke Suzuki <aosukeke@gmail.com >
* fix minor issues
Co-authored-by: Sosuke Suzuki <aosukeke@gmail.com >
Co-authored-by: Georgii Dolzhykov <thorn.mailbox@gmail.com >
2020-01-08 16:27:28 +02:00
Kohei Ueno
5d165eb850
Fix printing both index signatures without type annotations and… ( #7228 )
2020-01-08 16:19:34 +02:00
Panayiotis Lipiridis
35fe9ccada
Merge with master
2020-01-08 14:43:19 +02:00
Panayiotis Lipiridis
ac6c6fad0c
Merge branch 'next' of github.com:prettier/prettier into next
...
* 'next' of github.com:prettier/prettier:
Optimize some usage of `Array#filter` (#6996 )
Update `jest` to v24 (#6954 )
Replace `trim{Left,Right}` with `trim{Start,End}` (#6994 )
Set `trailingComma` default value to `es5` (#6963 )
Fix `new` usage for builtin objects (#6968 )
Replace `indexOf` with `includes` (#6967 )
fix: tests for empty type parameters in TS (#6960 )
Fix MDX html parsing errors (#6949 )
fix: issue #6813 (Zero-based lists are broken) (#6852 )
Style: use async functions (#6935 )
Disable trailingComma for Angular internal parser (#6912 )
Update `snapshot-diff` to v0.6.1 (#6955 )
Update build scripts to target Node.js 10 (#6908 )
2020-01-08 14:34:06 +02:00
Cyrille David
0bb75fd1b9
handlebars: Fix superfluous line breaks in ConcatStatement ( #7051 )
2020-01-08 14:24:45 +02:00
Daiki Ihara
87d532b1b6
Markdown: fix PR 7181 broke HTML blocks inside list items ( #7220 )
...
* fix PR 7181 broke HTML blocks inside list items
* add test for indented html after list item
* add changelog_unreleased for pr-7220
* update changelog of pr-7181
* fix pointed out
2020-01-07 23:17:52 +02:00
Kohei Ueno and Georgii Dolzhykov
e11b6e8992
Fix adding unnecessary colons on Mapped Types ( #7221 )
...
* fix #7174 by checking typeAnnotation existance
* add changelog for pr-7174
* fix typo
* revert mappedType test in conformance/
* add new directory and tests
* fix missing a line
* Update changelog_unreleased/typescript/pr-7174.md
Co-Authored-By: Georgii Dolzhykov <thorn.mailbox@gmail.com >
Co-authored-by: Georgii Dolzhykov <thorn.mailbox@gmail.com >
2020-01-06 22:25:22 +02:00
Selvazhagan
024f51e5f8
Fixes : #5915 HTML comments in pre tags causes bad formatting o… ( #5959 )
2020-01-06 21:00:09 +02:00
Tim Kendall
1a18cf7fce
GraphQL: Support repeatable directive definition printing (clos… ( #7227 )
2020-01-06 20:20:25 +02:00
Armano and Georgii Dolzhykov
bda0632890
fix: comments for typescript function like nodes ( #7144 )
...
* test: add test cases for method_types comments
* fix: improve handling comments withing typescript function like nodes
* fix: correct position of trailing comments in TSMethodSignature
* fix: allow to use comments on TSAbstractMethodDefinition and fix TSDeclareFunction
* refactor: move real function node type check to function
* refactor: invert if in handleTSFunctionTrailingComments
* refactor: move isRealFunctionLikeNode into end of file
* chore: add changelog
* chore: update changelog
* chore: update changelog
* make changelog more concise
Co-authored-by: Georgii Dolzhykov <thorn.mailbox@gmail.com >
2020-01-06 11:18:10 +02:00
Christian Boehlke
7537f21b1b
docs: Fix broken links ( #7222 )
2020-01-05 18:37:26 +02:00
Cyrille David
c1b6e1c401
handlebars: Improve MustacheStatement printing ( #7157 )
...
* Address https://github.com/prettier/prettier/pull/7051#discussion_r351877770
* Add isParentOfType helper fun
* Add CHANGELOG
* Fix a typo
* CHANGELOG: Remove --print-width option
* Add tests
2020-01-05 18:36:34 +02:00
Daiki Ihara
47ece13d78
Markdown: fix HTML formatting broken if the beginning tag start… ( #7181 )
...
* fix markdown formatting broken if the beginning html tag starts after a list item
* add test for beginning-tag-after-a-list-item in markdown_html
* add changelog_unreleased of pr-7181
* fix test of ast breaking for beginning-tag-after-a-list-item
* update changelog_unreleased pr-7181
* fix changelog_unreleased
* fix beginning tag starts after a list item in markdown
* add test case for beginning-tag-after-a-list-item
* update changelog_unreleased
2020-01-02 14:02:17 +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
Daiki Ihara
9c28478548
add test for ugly array key format ( #7205 )
2019-12-30 12:02:32 +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
Ahmad Al Maaz
f280cc13b5
Fixed ALE installation instruction ( #7166 )
...
* 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
2019-12-23 16:32:44 +02:00
Cyrille David
456041526f
glimmer: Split ElementModifierStatement and MustacheStatement ( #7156 )
2019-12-23 15:32:28 +03:00
Cyrille David
53c1049830
Refactor a few functions in glimmer printer ( #7072 )
2019-12-23 14:52:03 +03: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
fisker Cheung
ac82262abc
Optimize some usage of Array#filter ( #6996 )
2019-12-19 13:06:45 +03: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]
9641a8d32e
Bump rollup from 1.27.12 to 1.27.13 ( #7146 )
...
Bumps [rollup](https://github.com/rollup/rollup ) from 1.27.12 to 1.27.13.
- [Release notes](https://github.com/rollup/rollup/releases )
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rollup/rollup/compare/v1.27.12...v1.27.13 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: null <27856297+dependabot-preview[bot]@users.noreply.github.com>
2019-12-17 18:04:42 +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
Sosuke Suzuki
d1771e8652
JavaScript: Fix moving semi for return to end of line-comment ( #7140 )
...
* Modify to fix semi for return with comment
* Add complex test case
* Add null check
* Add changelog
2019-12-16 20:11:39 +03:00
dependabot-preview[bot]
22782c2e32
Bump eslint-plugin-prettier from 3.1.1 to 3.1.2 ( #7142 )
...
Bumps [eslint-plugin-prettier](https://github.com/prettier/eslint-plugin-prettier ) from 3.1.1 to 3.1.2.
- [Release notes](https://github.com/prettier/eslint-plugin-prettier/releases )
- [Changelog](https://github.com/prettier/eslint-plugin-prettier/blob/master/CHANGELOG.md )
- [Commits](https://github.com/prettier/eslint-plugin-prettier/compare/v3.1.1...v3.1.2 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: null <27856297+dependabot-preview[bot]@users.noreply.github.com>
2019-12-16 18:02:20 +01:00
Brian Kim
64d4b2f49f
revert function composition logic for decorators ( #7138 )
...
fixes #6953
2019-12-14 19:41:15 +02:00
dependabot-preview[bot]
025fcdea95
Bump rollup from 1.27.8 to 1.27.12 ( #7137 )
...
Bumps [rollup](https://github.com/rollup/rollup ) from 1.27.8 to 1.27.12.
- [Release notes](https://github.com/rollup/rollup/releases )
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rollup/rollup/compare/v1.27.8...v1.27.12 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: null <27856297+dependabot-preview[bot]@users.noreply.github.com>
2019-12-13 23:21:24 +01:00
dependabot-preview[bot]
40b05a9019
Bump @babel/parser from 7.7.4 to 7.7.5 ( #7134 )
...
Bumps [@babel/parser](https://github.com/babel/babel ) from 7.7.4 to 7.7.5.
- [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.5 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2019-12-12 13:16:16 +03:00
dependabot-preview[bot]
137efbb7cc
Bump @typescript-eslint/typescript-estree from 2.10.0 to 2.11.0 ( #7127 )
...
Bumps [@typescript-eslint/typescript-estree](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-estree ) from 2.10.0 to 2.11.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/typescript-estree/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v2.11.0/packages/typescript-estree )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
Co-authored-by: null <27856297+dependabot-preview[bot]@users.noreply.github.com>
2019-12-11 17:20:43 +01:00
dependabot-preview[bot]
204752dadb
Bump eslint-plugin-import from 2.18.2 to 2.19.1 ( #7123 )
...
Bumps [eslint-plugin-import](https://github.com/benmosher/eslint-plugin-import ) from 2.18.2 to 2.19.1.
- [Release notes](https://github.com/benmosher/eslint-plugin-import/releases )
- [Changelog](https://github.com/benmosher/eslint-plugin-import/blob/master/CHANGELOG.md )
- [Commits](https://github.com/benmosher/eslint-plugin-import/compare/v2.18.2...v2.19.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 17:40:20 +01:00
Georgii Dolzhykov
1f5e8488fd
tests: "Expected" and "Received" are mixed up in parser verification tests ( #7125 )
2019-12-10 18:37:50 +02: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
Georgii Dolzhykov
db78483df1
refactoring: introduce path.match ( #7108 )
2019-12-10 01:41:03 +02:00
dependabot-preview[bot]
f8928ec32a
Bump terser-webpack-plugin from 2.2.1 to 2.2.2 ( #7113 )
...
Bumps [terser-webpack-plugin](https://github.com/webpack-contrib/terser-webpack-plugin ) from 2.2.1 to 2.2.2.
- [Release notes](https://github.com/webpack-contrib/terser-webpack-plugin/releases )
- [Changelog](https://github.com/webpack-contrib/terser-webpack-plugin/blob/master/CHANGELOG.md )
- [Commits](https://github.com/webpack-contrib/terser-webpack-plugin/compare/v2.2.1...v2.2.2 )
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:36:16 +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