Georgii Dolzhykov
9a2dc517ad
Fix yarn.lock
2021-02-16 13:23:14 +02:00
Lipis
7caba77666
chore: Check for updates every Sunday ( #10313 )
2021-02-16 12:44:31 +02:00
dependabot[bot]
0acf76b33c
Build(deps-dev): Bump webpack from 5.21.2 to 5.22.0 ( #10327 )
...
Bumps [webpack](https://github.com/webpack/webpack ) from 5.21.2 to 5.22.0.
- [Release notes](https://github.com/webpack/webpack/releases )
- [Commits](https://github.com/webpack/webpack/compare/v5.21.2...v5.22.0 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-16 10:27:33 +02:00
dependabot[bot]
98df271961
Build(deps-dev): Bump webpack from 5.21.2 to 5.22.0 in /website ( #10329 )
...
Bumps [webpack](https://github.com/webpack/webpack ) from 5.21.2 to 5.22.0.
- [Release notes](https://github.com/webpack/webpack/releases )
- [Commits](https://github.com/webpack/webpack/compare/v5.21.2...v5.22.0 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-16 10:27:16 +02:00
dependabot[bot]
091df1c7b9
Build(deps-dev): Bump eslint-plugin-unicorn from 28.0.0 to 28.0.1 ( #10330 )
...
Bumps [eslint-plugin-unicorn](https://github.com/sindresorhus/eslint-plugin-unicorn ) from 28.0.0 to 28.0.1.
- [Release notes](https://github.com/sindresorhus/eslint-plugin-unicorn/releases )
- [Commits](https://github.com/sindresorhus/eslint-plugin-unicorn/compare/v28.0.0...v28.0.1 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-16 10:27:01 +02:00
dependabot[bot]
739aa19bb0
Build(deps): Bump @typescript-eslint/typescript-estree from 4.15.0 to 4.15.1 ( #10328 )
...
Bumps [@typescript-eslint/typescript-estree](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-estree ) from 4.15.0 to 4.15.1.
- [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/v4.15.1/packages/typescript-estree )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-16 10:26:47 +02:00
dependabot[bot]
eb84e9e371
Build(deps-dev): Bump @typescript-eslint/types from 4.15.0 to 4.15.1 ( #10326 )
...
Bumps [@typescript-eslint/types](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/visitor-keys ) from 4.15.0 to 4.15.1.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/visitor-keys/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.15.1/packages/visitor-keys )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-16 10:26:35 +02:00
Georgii Dolzhykov and fisker Cheung
2d1186995d
Refine CONTRIBUTING.md ( #10324 )
...
* Slightly refine CONTRIBUTING.md
* Write more about run_spec
* Wording
* Deeper tests is an advanced topic. Move to bottom
* Mention prettier-regression-testing
* Fix the type for snippets
* Typo
* Add 'Advanced topics' heading
* Fix run_spec types
* Minor edits
* Add link
* Wording around yarn fix
* Update CONTRIBUTING.md
Co-authored-by: fisker Cheung <lionkay@gmail.com >
2021-02-16 08:56:32 +02:00
Georgii Dolzhykov
3a73f48a0e
Don't use smart quotes for JSON5 with --quote-props=preserve ( #10323 )
2021-02-15 19:13:33 +02:00
Georgii Dolzhykov
81e6208e63
Allow arg hugging for non-concise arrow functions with return type ( #10316 )
2021-02-15 19:13:09 +02:00
Georgii Dolzhykov
a322cf152a
Disable Babel error recovery for invalid escaped characters in identifiers ( #10322 )
2021-02-15 16:58:50 +02:00
dependabot[bot]
152b723caa
Build(deps-dev): Bump @rollup/plugin-babel from 5.2.3 to 5.3.0 ( #10320 )
2021-02-15 10:18:00 +00:00
dependabot[bot]
b269a17719
Build(deps): Bump codemirror-graphql from 0.15.2 to 1.0.0 in /website ( #10317 )
...
Bumps [codemirror-graphql](https://github.com/graphql/graphiql ) from 0.15.2 to 1.0.0.
- [Release notes](https://github.com/graphql/graphiql/releases )
- [Changelog](https://github.com/graphql/graphiql/blob/main/CHANGELOG.md )
- [Commits](https://github.com/graphql/graphiql/compare/codemirror-graphql@0.15.2...codemirror-graphql@1.0.0 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-15 10:41:30 +02:00
dependabot[bot]
23e24a09af
Build(deps-dev): Bump @rollup/plugin-node-resolve from 11.1.1 to 11.2.0 ( #10319 )
2021-02-15 06:09:03 +00:00
dependabot[bot]
aca16618c7
Build(deps-dev): Bump eslint from 7.19.0 to 7.20.0 ( #10318 )
2021-02-15 05:55:07 +00:00
dependabot[bot]
4cc2a37cff
Build(deps-dev): Bump rollup from 2.38.5 to 2.39.0 ( #10321 )
2021-02-15 05:53:02 +00:00
fisker Cheung
c3d08c943e
Style: Disallow else if in no-else-return ( #10310 )
2021-02-15 05:29:58 +02:00
Georgii Dolzhykov
7e8f746a4e
website: remove svgo ( #10315 )
2021-02-15 05:29:24 +02:00
Georgii Dolzhykov
ca4a51dcd9
build: fix tree shaking for front matter related functions ( #10314 )
2021-02-15 05:29:15 +02:00
Georgii Dolzhykov
8ba12c9d0d
website: remove js for removed elements
2021-02-15 02:09:07 +02:00
Georgii Dolzhykov
d3757fb6b4
website: add State of JS 2020 ( #10312 )
2021-02-15 00:22:08 +02:00
Sosuke Suzuki
2598803a2a
Improve formatting for React Hooks call ( #10238 )
...
* Add isReactHookCallWithDepsArray
* Improve formatting for React hooks call
* Refactor
* Add changelog
* Use isReactHookCallWithDepsArray in shouldGroupLastArg
* Support general pattern
2021-02-14 23:57:26 +02:00
fisker Cheung
dca2c55ef6
Move embeddedInHtml to language-html/ ( #9739 )
...
* Move `embeddedInHtml` to `language-html/`
* Fix
* Rename to `__embeddedInHtml`
2021-02-13 13:34:31 +08:00
dependabot[bot]
0ba5029ed0
Build(deps): Bump resolve from 1.19.0 to 1.20.0 ( #10307 )
2021-02-12 23:48:43 +00:00
dependabot[bot]
e2d917353c
Build(deps-dev): Bump @babel/preset-env from 7.12.13 to 7.12.16 ( #10306 )
2021-02-12 22:46:47 +00:00
Syu Kato and fisker Cheung
9f9677e6b7
Fix hasFlowShorthandAnnotationComment check ( #5497 )
...
Co-authored-by: fisker Cheung <lionkay@gmail.com >
2021-02-13 05:29:44 +08:00
dependabot[bot]
2e596e33b7
Build(deps): Bump typescript from 4.1.4 to 4.1.5 ( #10299 )
2021-02-12 21:25:37 +00:00
dependabot[bot]
90b588371c
Build(deps): Bump @angular/compiler from 11.1.2 to 11.2.0 ( #10300 )
2021-02-12 21:25:01 +00:00
fisker Cheung
ea63f245d0
Refactor conditionalExpressionChainContainsJsx ( #10282 )
2021-02-13 05:24:06 +08:00
dependabot[bot]
4c92d213e1
Build(deps): Bump meriyah from 4.1.1 to 4.1.2 ( #10302 )
...
Bumps [meriyah](https://github.com/meriyah/meriyah ) from 4.1.1 to 4.1.2.
- [Release notes](https://github.com/meriyah/meriyah/releases )
- [Changelog](https://github.com/meriyah/meriyah/blob/master/CHANGELOG.md )
- [Commits](https://github.com/meriyah/meriyah/compare/v4.1.1...v4.1.2 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-13 05:15:31 +08:00
dependabot[bot]
3f5530dcb3
Build(deps-dev): Bump @babel/core from 7.12.13 to 7.12.16 ( #10309 )
...
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core ) from 7.12.13 to 7.12.16.
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/commits/v7.12.16/packages/babel-core )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-13 05:12:01 +08:00
Sosuke Suzuki and fisker Cheung
7d84c0a5a4
Fix inconsistent indentation for ternary in call expressions ( #10266 )
...
* Refactor with do while
* return false when ternary in CallExpression is not callee
* Update changelog
* For computed member property
* Fix
* Simplify
* Minor tweak
Co-authored-by: fisker Cheung <lionkay@gmail.com >
2021-02-12 08:11:24 +09:00
fisker Cheung
bc30016500
Remove isLineNext ( #10304 )
...
* Replace `isLineNext` with `isLineOrHardlineOrSoftline`
* Remove `isLineNext`
* Use `isEmptyStringOrAnyLine`
* Update condition
2021-02-11 23:06:47 +02:00
dependabot[bot] and fisker Cheung
db2eb50e84
Build(deps-dev): Bump eslint-plugin-unicorn from 27.0.0 to 28.0.0 ( #10301 )
...
* Build(deps-dev): Bump eslint-plugin-unicorn from 27.0.0 to 28.0.0
Bumps [eslint-plugin-unicorn](https://github.com/sindresorhus/eslint-plugin-unicorn ) from 27.0.0 to 28.0.0.
- [Release notes](https://github.com/sindresorhus/eslint-plugin-unicorn/releases )
- [Commits](https://github.com/sindresorhus/eslint-plugin-unicorn/compare/v27.0.0...v28.0.0 )
Signed-off-by: dependabot[bot] <support@github.com >
* Fix problem caught by `prefer-includes`
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: fisker Cheung <lionkay@gmail.com >
2021-02-11 23:06:23 +02:00
Nathan Totten and Georgii Dolzhykov
edf8bceac6
Removed experimental plugins ( #9417 )
...
* Removed experimental plugins
Removing plugins that abuse the plugin api.
* Remove more plugins that use the API in a non-intended way
* Update version-stable
Co-authored-by: Georgii Dolzhykov <thorn.mailbox@gmail.com >
2021-02-11 23:05:49 +02:00
Cyrille David
5aa057b40b
Handlebars: Default --html-whitespace-sensitivity to strict ( #10201 )
...
* Handlebars: Default --html-whitespace-sensitivity to strict
* Record tests other than handlebars
* Trim trailing newlines
* Record tests
* Fix rebase
* Record all tests not only hbs
* Fix the idempotency issue
Adjust dedent for the last child node
* Fix the annoying trailing whitespace
* Trim isolated leading newline
2021-02-11 15:43:07 +02:00
fisker Cheung
37b5b58ea1
Update parse-json
2021-02-11 16:20:41 +08:00
fisker Cheung
cb27432b77
Fix changelog
2021-02-11 16:15:37 +08:00
Sosuke Suzuki
2d97df8ec7
Fix unnecessary line breaks in method type declaration parameters ( #10024 )
2021-02-11 09:49:38 +02:00
fisker Cheung
659d9a1f1f
Add a link to prettier-doc/no-concat ESLint rule ( #10188 )
2021-02-11 04:39:19 +02:00
fisker Cheung
36d3a0c784
Remove isEmpty ( #10295 )
2021-02-11 04:36:10 +02:00
dependabot[bot]
9ff161d482
Build(deps): Bump typescript from 4.1.3 to 4.1.4 ( #10288 )
...
Bumps [typescript](https://github.com/Microsoft/TypeScript ) from 4.1.3 to 4.1.4.
- [Release notes](https://github.com/Microsoft/TypeScript/releases )
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.1.3...v4.1.4 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-11 00:52:59 +08:00
dependabot[bot]
930d73daa6
Build(deps-dev): Bump @typescript-eslint/types from 4.14.2 to 4.15.0 ( #10281 )
...
Bumps [@typescript-eslint/types](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/visitor-keys ) from 4.14.2 to 4.15.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/visitor-keys/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.15.0/packages/visitor-keys )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-11 00:52:37 +08:00
dependabot[bot]
73065806e6
Build(deps): Bump flow-parser from 0.143.1 to 0.144.0 ( #10251 )
...
Bumps [flow-parser](https://github.com/facebook/flow ) from 0.143.1 to 0.144.0.
- [Release notes](https://github.com/facebook/flow/releases )
- [Changelog](https://github.com/facebook/flow/blob/master/Changelog.md )
- [Commits](https://github.com/facebook/flow/compare/v0.143.1...v0.144.0 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-11 00:52:20 +08:00
dependabot[bot] and fisker Cheung
d0829f8b95
Build(deps): Bump meriyah from 4.0.0 to 4.1.1 ( #10283 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: fisker Cheung <lionkay@gmail.com >
2021-02-11 00:51:41 +08:00
fisker Cheung
2f4140ff18
Test: Skip install for standalone test ( #10273 )
2021-02-11 00:50:59 +08:00
Georgii Dolzhykov
662cdb04db
RFC: label doc ( #10275 )
...
* RFC: label doc
* Update functions in doc-utils
2021-02-10 17:08:54 +02:00
dependabot[bot]
91c0d58c4a
Build(deps): Bump @angular/compiler from 11.1.1 to 11.1.2 ( #10242 )
2021-02-10 13:31:20 +00:00
dependabot[bot]
bc2b8fda34
Build(deps-dev): Bump @glimmer/reference from 0.74.2 to 0.75.0 ( #10289 )
2021-02-10 13:19:31 +00:00
Georgii Dolzhykov
f3906d84d4
Refactor: rename FastPath → AstPath ( #10276 )
2021-02-10 13:42:06 +02:00