Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[prettierx] include Prettier 2.3.2 & PostCSS 8 updates #630

Merged
merged 2,045 commits into from
Jul 6, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
2045 commits
Select commit Hold shift + click to select a range
ba1a833
Add 2.3 blog post (#10659)
thorn0 May 9, 2021
171b1ee
Clean changelog_unlreleased
thorn0 May 9, 2021
4a8f5b8
Fix a link in the blog post
thorn0 May 10, 2021
8c93ef5
Remove `.prettierrc` parser override (#10845)
fisker May 10, 2021
6e71422
Use async APIs in CLI (#10841)
fisker May 10, 2021
b798397
Drop Node.js 10 support for development "build" (#10842)
fisker May 11, 2021
98abb99
Use `Object.fromEntries()`, `Array#flat()` and `Array#flatMap()` (#10…
fisker May 11, 2021
e161350
Use fsPromises in CLI (#10852)
fisker May 11, 2021
2eb2df6
Update babel config (#10855)
fisker May 12, 2021
572e0ed
Fix `.eslintignore` (#10875)
fisker May 13, 2021
1005b4b
Update commands.md
thorn0 May 13, 2021
bcd6254
Fix #5599, long yaml keys trigger explicit mapping (#10874)
pdavies May 15, 2021
383f622
Style: Remove useless flags (#10861)
fisker May 15, 2021
f4a6232
Switch some scripts to ESM (#10867)
fisker May 15, 2021
c91a8cb
Build(deps-dev): Bump @babel/preset-env from 7.14.1 to 7.14.2 (#10897)
dependabot[bot] May 16, 2021
b53840d
Build(deps-dev): Bump eslint-plugin-import from 2.22.1 to 2.23.2 (#10…
dependabot[bot] May 16, 2021
c829143
Build(deps-dev): Bump webpack from 5.36.2 to 5.37.0 (#10891)
dependabot[bot] May 16, 2021
8868f07
Build(deps-dev): Bump esm-utils from 1.0.1 to 1.1.0 (#10883)
dependabot[bot] May 16, 2021
223eef6
Build(deps): Bump @glimmer/syntax from 0.79.0 to 0.79.1 (#10894)
dependabot[bot] May 16, 2021
0b3fabd
Build(deps): Bump flow-parser from 0.150.1 to 0.151.0 (#10899)
dependabot[bot] May 16, 2021
a9c3960
Remove dead code (#10869)
fisker May 16, 2021
213a825
Use `join` in `replaceNewlinesWithLiterallines` (#10860)
fisker May 16, 2021
90ea7e4
Use fsPromise in `getFileContentOrNull` (#10859)
fisker May 16, 2021
2e1021c
Reduce use of `Array#reduce()` (#10863)
fisker May 16, 2021
ce396ff
Build(deps-dev): Bump @babel/core from 7.14.0 to 7.14.2 (#10896)
dependabot[bot] May 16, 2021
10fbda5
Build(deps-dev): Bump eslint-plugin-unicorn from 31.0.0 to 32.0.1 (#1…
dependabot[bot] May 16, 2021
7adb43b
Build(deps-dev): Bump terser-webpack-plugin from 5.1.1 to 5.1.2 (#10900)
dependabot[bot] May 16, 2021
ff0b4f9
Build(deps): Bump find-parent-dir from 0.3.0 to 0.3.1 (#10887)
dependabot[bot] May 16, 2021
ab3d040
Build(deps-dev): Bump @babel/types from 7.14.1 to 7.14.2 (#10885)
dependabot[bot] May 16, 2021
85c1aab
Build(deps-dev): Bump rollup from 2.47.0 to 2.48.0 (#10895)
dependabot[bot] May 16, 2021
53bd6b5
Build(deps): Bump @angular/compiler from 11.2.13 to 11.2.14 (#10888)
dependabot[bot] May 16, 2021
2348ecc
Build(deps-dev): Bump @glimmer/reference from 0.79.0 to 0.79.1 (#10889)
dependabot[bot] May 16, 2021
bea85be
Build(deps-dev): Bump webpack from 5.36.2 to 5.37.0 in /website (#10884)
dependabot[bot] May 17, 2021
a7dbbb9
Build(deps): Bump @typescript-eslint/typescript-estree (#10892)
dependabot[bot] May 17, 2021
cedf480
Add JSDoc type for isNonEmptyArray (#10902)
sosukesuzuki May 17, 2021
085e38b
Move `replaceEndOfLineWith` to `docUtils` (#10862)
fisker May 17, 2021
9b7ba8a
Style: Use `dotAll` regexp (#10864)
fisker May 17, 2021
a3466f7
Build(deps): Bump @babel/parser from 7.14.1 to 7.14.3 (#10908)
dependabot[bot] May 18, 2021
4b9e881
Add heuristics to detect type aliases that has complex typeparameters…
sosukesuzuki May 19, 2021
4d37ac4
Add `__babel_estree` parser (#10910)
fisker May 19, 2021
8f17187
Reduce `parser-graphql` size (#10903)
fisker May 19, 2021
6dcc20c
docs: make "A note on formatting reversibility" linkable
thorn0 May 20, 2021
b84bc95
Update CONTRIBUTING.md
thorn0 May 20, 2021
8410e0d
Update CONTRIBUTING.md
thorn0 May 21, 2021
fbca25c
Allow `:` as class prefix-delimeter (#10906)
tkalmar May 21, 2021
326ea12
Build(deps-dev): Bump eslint from 7.26.0 to 7.27.0 (#10932)
dependabot[bot] May 23, 2021
eb20ab9
Build(deps-dev): Bump @babel/core from 7.14.2 to 7.14.3 (#10935)
dependabot[bot] May 23, 2021
474c6e6
Build(deps): Bump @glimmer/syntax from 0.79.1 to 0.79.2 (#10931)
dependabot[bot] May 23, 2021
0ce5b3d
Build(deps-dev): Bump webpack from 5.37.0 to 5.37.1 in /website (#10930)
dependabot[bot] May 23, 2021
60f678c
Build(deps-dev): Bump eslint-plugin-import from 2.23.2 to 2.23.3 (#10…
dependabot[bot] May 23, 2021
7e7159f
Build(deps): Bump @typescript-eslint/typescript-estree (#10934)
dependabot[bot] May 23, 2021
1f9cbe4
Build(deps-dev): Bump @glimmer/reference from 0.79.1 to 0.79.2 (#10933)
dependabot[bot] May 23, 2021
261bb03
Fix repositioning the cursor at the end of a range format (#10938)
j-f1 May 23, 2021
f8cb785
Support stylelintrc (#10924)
SevenOutman May 23, 2021
c40a0cf
Add heuristics to detect assignments whose id has complex type annota…
sosukesuzuki May 23, 2021
c286d84
Remove more `Array#reduce()` (#10907)
fisker May 23, 2021
7073520
Build(deps-dev): Bump webpack from 5.37.0 to 5.37.1 (#10936)
dependabot[bot] May 24, 2021
f1e0f63
refactor: Add isObjectProperty util function (#10942)
sosukesuzuki May 25, 2021
06065bf
Support TypeScript 4.3 (#10945)
sosukesuzuki May 25, 2021
3616182
Fix incorrectly wrapped arrow functions with return types (#10940)
thorn0 May 25, 2021
2783bb4
Update `jest` to v27 (#10947)
fisker May 26, 2021
d3b777d
Update build script (#10946)
fisker May 27, 2021
40cd8c9
Move `flow` node to `flow.js` (#10449)
fisker May 27, 2021
81a1c46
Minor tweak to js printer (#10954)
fisker May 27, 2021
84f72be
Avoid to break after assignment for call expression that has complex …
sosukesuzuki May 28, 2021
9d53f64
Update to TypeScript 4.3 (#10959)
sosukesuzuki May 28, 2021
4b45d42
Build(deps): Bump jest-docblock from 26.0.0 to 27.0.1 (#10985)
dependabot[bot] May 30, 2021
2924f34
Build(deps-dev): Bump core-js from 3.12.1 to 3.13.1 (#10983)
dependabot[bot] May 30, 2021
ece990a
Build(deps): Bump ci-info from 3.1.1 to 3.2.0 (#10977)
dependabot[bot] May 30, 2021
fa6ea41
Build(deps-dev): Bump jest-watch-typeahead from 0.6.3 to 0.6.4 (#10972)
dependabot[bot] May 30, 2021
fabe787
Build(deps-dev): Bump eslint-plugin-import from 2.23.3 to 2.23.4 (#10…
dependabot[bot] May 30, 2021
fe1330e
Build(deps): Bump @glimmer/syntax from 0.79.2 to 0.79.3 (#10986)
dependabot[bot] May 30, 2021
9169b3b
Build(deps): Bump flow-parser from 0.151.0 to 0.152.0 (#10984)
dependabot[bot] May 30, 2021
f0bbdf0
Build(deps-dev): Bump webpack from 5.37.1 to 5.38.1 (#10981)
dependabot[bot] May 30, 2021
3141e72
Build(deps-dev): Bump babel-jest from 27.0.1 to 27.0.2 (#10980)
dependabot[bot] May 30, 2021
524223d
Build(deps-dev): Bump @babel/preset-env from 7.14.2 to 7.14.4 (#10978)
dependabot[bot] May 30, 2021
0c3ed50
Build(deps): Bump actions/cache from 2.1.5 to 2.1.6 (#10965)
dependabot[bot] May 30, 2021
5bfe2fc
Build(deps-dev): Bump eslint-plugin-regexp from 0.10.0 to 0.11.0 (#10…
dependabot[bot] May 30, 2021
b4b71d7
Build(deps-dev): Bump jest from 27.0.1 to 27.0.3 (#10976)
dependabot[bot] May 30, 2021
3ec9414
Fix order of override modifiers (#10961)
sosukesuzuki May 30, 2021
206716a
Build(deps): Bump @babel/parser from 7.14.3 to 7.14.4 (#10975)
dependabot[bot] May 31, 2021
2aef43c
Build(deps-dev): Bump @glimmer/reference from 0.79.2 to 0.79.3 (#10970)
dependabot[bot] May 31, 2021
b390ce9
Build(deps-dev): Bump eslint-plugin-react from 7.23.2 to 7.24.0 (#10967)
dependabot[bot] May 31, 2021
b4d2c3c
Build(deps-dev): Bump concurrently from 6.1.0 to 6.2.0 in /website (#…
dependabot[bot] May 31, 2021
e502559
Build(deps): Bump codemirror-graphql from 1.0.1 to 1.0.2 in /website …
dependabot[bot] May 31, 2021
856c0f0
Build(deps-dev): Bump @babel/types from 7.14.2 to 7.14.4 (#10974)
dependabot[bot] May 31, 2021
049533d
Build(deps-dev): Bump webpack from 5.37.1 to 5.38.1 in /website (#10973)
dependabot[bot] May 31, 2021
21ce278
Build(deps): Bump angular-estree-parser from 2.3.0 to 2.4.0 (#10992)
dependabot[bot] May 31, 2021
f69d147
Build(deps-dev): Bump execa from 5.0.0 to 5.0.1 (#10993)
dependabot[bot] May 31, 2021
3a71791
Build(deps): Bump @angular/compiler from 11.2.14 to 12.0.2 (#10995)
dependabot[bot] May 31, 2021
c8133f8
Fix `StringLiteral` print (#10997)
fisker Jun 1, 2021
ddcfdd4
Build(deps): Bump linguist-languages from 7.14.0 to 7.15.0 (#10990)
dependabot[bot] Jun 1, 2021
1d69549
Update v2.3 blog post (#11002)
aliaksandrsen Jun 2, 2021
cedaec3
Fix docs urls for internal lint rules (#11011)
adalinesimonian Jun 4, 2021
4b4aeaf
Fix a typo (#11009)
Jun 4, 2021
c3c300d
Remove `@types/node` package (#10994)
fisker Jun 4, 2021
3cd28ca
Preserve attributes order for element node (#10958)
dcyriller Jun 4, 2021
09d65c3
Revert features for minor (#11016)
sosukesuzuki Jun 5, 2021
d770f49
Release 2.3.1
sosukesuzuki Jun 5, 2021
a34b4a7
Bump Prettier dependency to 2.3.1
sosukesuzuki Jun 5, 2021
13d4d8b
Git blame ignore 2.3.1
sosukesuzuki Jun 5, 2021
d426741
Fix bump script
sosukesuzuki Jun 5, 2021
79a9c1e
Update dependents count
sosukesuzuki Jun 5, 2021
4b4499a
Move TS4.3 section to top of CHANGELOG
sosukesuzuki Jun 5, 2021
531c008
Build(deps): Bump execa from 5.0.0 to 5.1.1 in /scripts/release (#11030)
dependabot[bot] Jun 6, 2021
69b6649
Build(deps-dev): Bump @types/estree from 0.0.47 to 0.0.48 (#11028)
dependabot[bot] Jun 6, 2021
792218a
Build(deps-dev): Bump execa from 5.0.1 to 5.1.1 (#11026)
dependabot[bot] Jun 6, 2021
4e08d24
Build(deps): Bump @angular/compiler from 12.0.2 to 12.0.3 (#11027)
dependabot[bot] Jun 6, 2021
681f51b
Build(deps-dev): Bump eslint-plugin-unicorn from 32.0.1 to 33.0.1 (#1…
dependabot[bot] Jun 6, 2021
3254e67
Build(deps-dev): Bump core-js from 3.13.1 to 3.14.0 (#11019)
dependabot[bot] Jun 6, 2021
c6d3f55
Build(deps-dev): Bump eslint from 7.27.0 to 7.28.0 (#11022)
dependabot[bot] Jun 6, 2021
12dbc9b
Build(deps-dev): Bump jest from 27.0.3 to 27.0.4 (#11021)
dependabot[bot] Jun 6, 2021
829e5d1
Build(deps): Bump @typescript-eslint/typescript-estree (#11020)
dependabot[bot] Jun 6, 2021
4847f31
Build(deps-dev): Bump terser-webpack-plugin from 5.1.2 to 5.1.3 (#11029)
dependabot[bot] Jun 6, 2021
321f736
Retry "npm publish" when to enter OTP is faeild (#11031)
sosukesuzuki Jun 7, 2021
32b13b3
Small detail in tests config (#11034)
Janther Jun 7, 2021
b5eba94
remove tests folder from path (#11035)
Janther Jun 7, 2021
4c64fbd
Fix lint:deps script (#11038)
adalinesimonian Jun 7, 2021
e2694e2
Clean changelog_unreleased (#11033)
sosukesuzuki Jun 9, 2021
ce96e48
CLI: Fix failure on dir with trailing slash (#11000)
fisker Jun 11, 2021
3332a28
Update generate-schema script (#11043)
sosukesuzuki Jun 11, 2021
1aa188e
Enable `no-console` rule on CI (#11045)
fisker Jun 11, 2021
14188ae
Fix handling of parenthesis with {Optional}IndexedAccess (#11051)
gkz Jun 12, 2021
efd8e3c
Build(deps): Bump codecov/codecov-action from 1.5.0 to 1.5.2 (#11055)
dependabot[bot] Jun 13, 2021
71b4e1b
Build(deps-dev): Bump @babel/preset-env from 7.14.4 to 7.14.5 (#11061)
dependabot[bot] Jun 13, 2021
a8f3bb2
Build(deps-dev): Bump eslint-plugin-regexp from 0.11.0 to 0.12.0 (#11…
dependabot[bot] Jun 13, 2021
09dd2b4
Build(deps): Bump @angular/compiler from 12.0.3 to 12.0.4 (#11060)
dependabot[bot] Jun 13, 2021
cc4e242
Build(deps): Bump @typescript-eslint/typescript-estree (#11062)
dependabot[bot] Jun 13, 2021
cd86d1c
Build(deps-dev): Bump webpack-cli from 4.7.0 to 4.7.2 in /website (#1…
dependabot[bot] Jun 13, 2021
18b3da0
Build(deps-dev): Bump @babel/preset-react in /website (#11059)
dependabot[bot] Jun 13, 2021
e4a22e6
Build(deps-dev): Bump @babel/core from 7.14.3 to 7.14.5 (#11066)
dependabot[bot] Jun 13, 2021
68b1e20
Build(deps-dev): Bump @babel/types from 7.14.4 to 7.14.5 (#11056)
dependabot[bot] Jun 13, 2021
216985a
Build(deps): Bump @babel/code-frame from 7.12.13 to 7.14.5 (#11058)
dependabot[bot] Jun 13, 2021
4672b21
Build(deps): Bump @babel/parser from 7.14.4 to 7.14.5 (#11065)
dependabot[bot] Jun 13, 2021
acf9242
Update transitive dependencies in yarn.lock (#11047)
Jun 13, 2021
17d8cb5
Add PR and users link (#11072)
sosukesuzuki Jun 14, 2021
82687f1
Print override modifier for parameter property (#11074)
sosukesuzuki Jun 15, 2021
57616ad
Enable `no-return-await` and `require-await` rule, fix `clean-cspell`…
fisker Jun 16, 2021
bcdc895
chore(editorcfg): keep eol whitespace in tests (#11007)
adalinesimonian Jun 16, 2021
5384a94
Build(deps-dev): Bump webpack from 5.38.1 to 5.39.1 in /website (#11089)
dependabot[bot] Jun 20, 2021
9d39fbb
Build(deps-dev): Bump rollup from 2.48.0 to 2.52.1 (#11088)
dependabot[bot] Jun 20, 2021
e477286
Build(deps-dev): Bump eslint-plugin-regexp from 0.12.0 to 0.12.1 (#11…
dependabot[bot] Jun 20, 2021
0c79b99
Build(deps): Bump globby from 11.0.3 to 11.0.4 (#11094)
dependabot[bot] Jun 20, 2021
bb57a27
Build(deps-dev): Bump webpack from 5.38.1 to 5.39.1 (#11087)
dependabot[bot] Jun 20, 2021
fc46f1b
Build(deps-dev): Bump eslint from 7.28.0 to 7.29.0 (#11096)
dependabot[bot] Jun 20, 2021
ca6f2d4
Build(deps-dev): Bump @babel/core from 7.14.5 to 7.14.6 (#11097)
dependabot[bot] Jun 20, 2021
31d9c50
Build(deps-dev): Bump snapshot-diff from 0.8.1 to 0.9.0 (#11091)
dependabot[bot] Jun 20, 2021
40329ce
Build(deps): Bump typescript from 4.3.2 to 4.3.4 (#11093)
dependabot[bot] Jun 21, 2021
0b5a795
Build(deps): Bump flow-parser from 0.152.0 to 0.153.0 (#11095)
dependabot[bot] Jun 21, 2021
9a61bf3
Build(deps): Bump @angular/compiler from 12.0.4 to 12.0.5 (#11092)
dependabot[bot] Jun 21, 2021
2faf01b
Add changelog-for-patch script (#11052)
sosukesuzuki Jun 26, 2021
9a8b579
Release 2.3.2
sosukesuzuki Jun 26, 2021
0747d92
Bump Prettier dependency to 2.3.2
sosukesuzuki Jun 26, 2021
d345f17
Git blame ignore 2.3.2
sosukesuzuki Jun 26, 2021
1a535de
Clean changelog unreleased (#11111)
sosukesuzuki Jun 26, 2021
7f2a897
Build(deps): Bump @babel/parser from 7.14.6 to 7.14.7 (#11125)
dependabot[bot] Jun 28, 2021
fc0e3e1
Build(deps-dev): Bump webpack from 5.39.1 to 5.40.0 (#11127)
dependabot[bot] Jun 28, 2021
431b219
Build(deps): Bump graphql from 15.5.0 to 15.5.1 (#11126)
dependabot[bot] Jun 28, 2021
d1898f7
Build(deps-dev): Bump babel-jest from 27.0.2 to 27.0.5 (#11122)
dependabot[bot] Jun 28, 2021
04c17ca
Build(deps): Bump preactjs/compressed-size-action from 2.1.0 to 2.3.0…
dependabot[bot] Jun 28, 2021
a3aa887
Build(deps-dev): Bump core-js from 3.14.0 to 3.15.1 (#11115)
dependabot[bot] Jun 28, 2021
d3ed4d7
Build(deps): Bump @glimmer/syntax from 0.79.3 to 0.79.4 (#11124)
dependabot[bot] Jun 28, 2021
3c363a3
Build(deps-dev): Bump terser-webpack-plugin from 5.1.3 to 5.1.4 (#11120)
dependabot[bot] Jun 28, 2021
8b0789b
Build(deps-dev): Bump rollup from 2.52.1 to 2.52.3 (#11116)
dependabot[bot] Jun 28, 2021
ab6a84e
Build(deps): Bump flow-parser from 0.153.0 to 0.154.0 (#11121)
dependabot[bot] Jun 28, 2021
20a60ea
Build(deps): Bump @typescript-eslint/typescript-estree (#11123)
dependabot[bot] Jun 28, 2021
d9691b6
Build(deps-dev): Bump webpack from 5.39.1 to 5.40.0 in /website (#11117)
dependabot[bot] Jun 28, 2021
aba3d64
Build(deps-dev): Bump jest from 27.0.4 to 27.0.5 (#11119)
dependabot[bot] Jun 28, 2021
7785340
Build(deps-dev): Bump @glimmer/reference from 0.79.3 to 0.79.4 (#11114)
dependabot[bot] Jun 28, 2021
1004d37
Build(deps-dev): Bump @babel/preset-env from 7.14.5 to 7.14.7 (#11118)
dependabot[bot] Jun 28, 2021
e0bc7c7
[prettierx] start prettierx-rebase-branch-001
Jun 28, 2021
dbe90b6
[prettierx-rebase-branch-001] move PostCSS-related tests
Jun 28, 2021
f0c11cf
[prettierx-rebase-branch-001] merge Prettier 2.3.2 (...)
Jun 28, 2021
f7fea49
prettierx chore: remove more GitHub items not wanted
Jun 28, 2021
cd2ad92
[prettierx-rebase-branch-001] rename & update changelog item
Jun 28, 2021
efec00c
[prettierx-rebase-branch-001] rename PostCSS error tests
Jun 28, 2021
ae01c93
[prettierx-rebase-branch-001] update PostCSS test snapshots
Jun 28, 2021
fda5ec1
prettierx test: fix early exit test to use fork name
Jun 28, 2021
f7ede4b
prettierx refactor: read prettier version from package.json
Jun 28, 2021
f6ed67f
prettierx ci: support npm dev-package-test
Jun 28, 2021
abaec89
prettierx ci: restore dev-package-test with pnpm
Jun 28, 2021
ee0bbf2
prettierx test arrows with Flow & babel-flow
Jun 28, 2021
e9dc2c3
[prettierx] test function-parentheses with babel-flow
Jun 28, 2021
f3baefc
[prettierx] test no-semi on all ES parsers
Jun 28, 2021
57f8eec
Website: Add `mode` to webpack command (#11131)
fisker Jun 29, 2021
e3b1f2b
[prettierx] test even more cases on all Babel parsers
Jun 29, 2021
aab40ed
prettierx fix(dependencies): use @brodybits/remark-parse@8
Jun 29, 2021
c4c4fc8
[prettierx-rebase-branch-001] rename bin & test config items
Jun 29, 2021
b4ba8cf
[prettierx-rebase-branch-001] fix help text
Jun 30, 2021
e79ea2c
[prettierx] chore: start 0.19.0-01-update-branch
Jun 30, 2021
ef71a67
[prettierx] fix: update postcss (to 8.2.15 for now)
Jun 30, 2021
a08bc1f
[prettierx] test: export __typescript_estree (...)
Jun 30, 2021
a6cf807
[prettierx] chore: website -> x-unsupported/website
Jul 1, 2021
a0eb2be
[prettierx] feat: apply language-js features (...)
Jul 1, 2021
d6e21f3
[prettierx] merge into 0.19.0-01-update-branch
Jul 1, 2021
fc3cb3b
[prettierx] test fix: tests/format/yaml/flow-mapping
Jul 1, 2021
e17feae
[prettierx] test: --no-graphql-curly-spacing snapshot
Jul 1, 2021
d822aed
[prettierx] test: fix prettierX-specific test variations
Jul 1, 2021
f333acd
[prettierx] test: arrows-with-inner-spacing snapshots
Jul 1, 2021
c69d0d8
change map to walk in html/print-preprocess (#11108)
ryoha000 Jul 1, 2021
fbf86e5
[prettierx] test: binary-expressions inner-spacing snapshots
Jul 1, 2021
bd9fc17
[prettierx] test: babel as main parser for break calls test
Jul 1, 2021
cfa9d0a
[prettierx] test: break-calls-with-inner-spacing snapshots
Jul 1, 2021
ab8f5df
[prettierx] test snapshots - comments-closure-typecast ...
Jul 1, 2021
cffb36d
[prettierx] test: empty-statement inner spacing snapshots
Jul 1, 2021
badeef5
[prettierx] test: method-chain-with-inner-spacing snapshots
Jul 1, 2021
0bd5bfe
[prettierx] test: template-with-inner-spacing snapshot
Jul 1, 2021
f5c6dfe
[prettierx] test: __typescript_estree verify parser (...)
Jul 1, 2021
c19cefd
[prettierx] test: skip babel-ts in ternaries variations
Jul 1, 2021
fd86eaa
[prettierx] test: snapshots for ternaries variations
Jul 1, 2021
a76c9fb
[prettierx] test: test-declarations inner-spacing snapshot
Jul 1, 2021
df07e1c
[prettierx] test: update jsx-with-inner-spacing snapshot
Jul 1, 2021
d3de1b5
[prettierx] test: update scss-with-inner-spacing snapshot
Jul 1, 2021
cd6d67f
[prettierx] test: conditional-types balanced-formatting ...
Jul 1, 2021
fb5dcab
[prettierx] test: snapshots for other prettierX variations
Jul 1, 2021
daaa5f6
[prettierx] test: update tests/format/x/html/html-void-tags
Jul 1, 2021
fa9d38f
[prettierx] test: skip babel-ts in standard (...)
Jul 1, 2021
c0ef5c8
[prettierx] test: use bogus options in some prettierX tests
Jul 1, 2021
ef96e78
[prettierx] test: update snapshots in tests/format/x
Jul 1, 2021
e20ec01
[prettierx] update tests/integration (...)
Jul 1, 2021
f91abcb
[prettierx] chore: regenerate yarn.lock (...)
Jul 1, 2021
b3d0bf9
[prettierx] update snapshot for a third-party test
Jul 1, 2021
d99a0f4
[prettierx] chore: merge dev into 0.19.0-01-update-branch
Jul 2, 2021
c20b84f
[prettierx] test: function-parentheses test updates
Jul 2, 2021
a8f5ed6
[prettierx] test: improve testing of --html-void-tags
Jul 2, 2021
dfab68f
[prettierx] fix(package.json): fix description, etc.
Jul 2, 2021
e2beca5
[prettierx] test: update spacing option name in comments
Jul 2, 2021
dfb7ebb
[prettierx] refactor re: property alignment & spacing
Jul 2, 2021
eccd58e
[prettierx] refactor: update const names & comments
Jul 2, 2021
caa823a
Build(deps): Bump actions/setup-node from 2.1.5 to 2.2.0 (#11149)
dependabot[bot] Jul 4, 2021
64189b6
Build(deps): Bump @glimmer/syntax from 0.79.4 to 0.80.0 (#11150)
dependabot[bot] Jul 4, 2021
8933d80
Build(deps-dev): Bump eslint-plugin-regexp from 0.12.1 to 0.13.0 (#11…
dependabot[bot] Jul 4, 2021
7732a0a
Build(deps-dev): Bump rollup from 2.52.3 to 2.52.7 (#11155)
dependabot[bot] Jul 4, 2021
56a108a
Build(deps-dev): Bump babel-jest from 27.0.5 to 27.0.6 (#11159)
dependabot[bot] Jul 4, 2021
f3f55a4
Build(deps-dev): Bump webpack from 5.40.0 to 5.42.0 (#11161)
dependabot[bot] Jul 4, 2021
5310dd3
Build(deps-dev): Bump core-js from 3.15.1 to 3.15.2 (#11164)
dependabot[bot] Jul 4, 2021
06a7ffb
Build(deps): Bump jest-docblock from 27.0.1 to 27.0.6 (#11165)
dependabot[bot] Jul 4, 2021
50addfa
Build(deps-dev): Bump @glimmer/reference from 0.79.4 to 0.80.0 (#11153)
dependabot[bot] Jul 4, 2021
a2b2eac
Build(deps): Bump @typescript-eslint/typescript-estree (#11166)
dependabot[bot] Jul 4, 2021
1fd627f
Build(deps-dev): Bump eslint-plugin-unicorn from 33.0.1 to 34.0.1 (#1…
dependabot[bot] Jul 4, 2021
4889b17
Build(deps-dev): Bump @types/estree from 0.0.48 to 0.0.49 (#11160)
dependabot[bot] Jul 4, 2021
6c57261
Build(deps-dev): Bump webpack from 5.40.0 to 5.42.0 in /website (#11152)
dependabot[bot] Jul 4, 2021
840a9db
Build(deps): Bump typescript from 4.3.4 to 4.3.5 (#11158)
dependabot[bot] Jul 4, 2021
159fc3d
Build(deps-dev): Bump eslint from 7.29.0 to 7.30.0 (#11156)
dependabot[bot] Jul 4, 2021
bf5c9dd
[prettierx] fix-up re: apply language-js features (...)
Jul 4, 2021
cf90dda
[prettierx] Merge branch 'dev' into 0.19.0-01-update-branch
Jul 5, 2021
c10ae7e
[prettierx] test: update html-tags-with-void-tags (...)
Jul 5, 2021
eaa31de
[prettierx] docs: combine 7933.md into CHANGELOG.md
Jul 5, 2021
d4e08c9
[prettierx] merge updates from Prettier main branch
Jul 5, 2021
f7c4bb6
[prettierx] chore: update CHANGELOG.md re: 0.19.0-01 (...)
Jul 6, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
9 changes: 8 additions & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,13 @@ insert_final_newline = true

[cspell.json]
indent_size = 4
insert_final_newline = false

[website/blog/*.md]
[x-unsupported/website/blog/*.md]
trim_trailing_whitespace = false

[tests/{**/__snapshots__/*, tests/format/**/*}]
trim_trailing_whitespace = false

[tests/format/**/jsfmt.spec.js]
trim_trailing_whitespace = true
15 changes: 7 additions & 8 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
!/*.js
/tests/**/*.js
!/tests/**/jsfmt.spec.js
/tests/format/**/*.js
/tests/integration/cli/
!/tests/format/**/jsfmt.spec.js
!/**/.eslintrc.js
/test*.js
/scripts/build/shims
/test*.*
/scripts/release/node_modules
/coverage/
/dist/
**/node_modules/**
/website/build/
/website/static/playground.js
/website/static/lib/
/tests_integration/cli/
/x-unsupported/website/build/
/x-unsupported/website/static/playground.js
/x-unsupported/website/static/lib/
229 changes: 229 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,229 @@
"use strict";
const { isCI } = require("ci-info");

module.exports = {
root: true,
env: {
es2020: true,
node: true,
},
extends: ["eslint:recommended", "prettier"],
plugins: ["prettier-internal-rules", "import", "regexp", "unicorn"],
settings: {
"import/internal-regex": "^linguist-languages/",
},
rules: {
"arrow-body-style": ["error", "as-needed"],
curly: "error",
"dot-notation": "error",
eqeqeq: "error",
"import/no-extraneous-dependencies": [
"error",
{
devDependencies: ["tests*/**", "scripts/**"],
},
],
"import/order": "error",
"no-console": isCI ? "error" : "off",
"no-else-return": [
"error",
{
allowElseIf: false,
},
],
"no-implicit-coercion": "error",
"no-inner-declarations": "error",
"no-restricted-syntax": [
"error",
// `!foo === bar` and `!foo !== bar`
'BinaryExpression[operator=/^[!=]==$/] > UnaryExpression.left[operator="!"]',
],
"no-return-await": "error",
"no-unneeded-ternary": "error",
"no-useless-return": "error",
"no-unused-vars": [
"error",
{
ignoreRestSiblings: true,
},
],
"no-var": "error",
"object-shorthand": "error",
"one-var": ["error", "never"],
"prefer-arrow-callback": "error",
"prefer-const": [
"error",
{
destructuring: "all",
},
],
"prefer-destructuring": [
"error",
{
VariableDeclarator: {
array: false,
object: true,
},
AssignmentExpression: {
array: false,
object: false,
},
},
{
enforceForRenamedProperties: false,
},
],
"prefer-object-spread": "error",
"prefer-rest-params": "error",
"prefer-spread": "error",
"prettier-internal-rules/jsx-identifier-case": "error",
"prettier-internal-rules/require-json-extensions": "error",
"prettier-internal-rules/no-identifier-n": "error",
quotes: [
"error",
"double",
{
avoidEscape: true,
},
],
"require-await": "error",
strict: "error",
"symbol-description": "error",
yoda: [
"error",
"never",
{
exceptRange: true,
},
],
"regexp/match-any": [
"error",
{
allows: ["dotAll"],
},
],
"regexp/no-useless-flag": "error",
"unicorn/better-regex": "error",
"unicorn/explicit-length-check": "error",
"unicorn/new-for-builtins": "error",
"unicorn/no-array-for-each": "error",
"unicorn/no-array-push-push": "error",
"unicorn/no-useless-undefined": "error",
"unicorn/prefer-array-flat": [
"error",
{
functions: ["flat", "flatten"],
},
],
"unicorn/prefer-array-flat-map": "error",
"unicorn/prefer-includes": "error",
"unicorn/prefer-number-properties": "error",
"unicorn/prefer-optional-catch-binding": "error",
"unicorn/prefer-regexp-test": "error",
"unicorn/prefer-spread": "error",
"unicorn/prefer-string-slice": "error",
},
overrides: [
{
files: ["scripts/**/*.js", "scripts/**/*.mjs"],
rules: {
"no-console": "off",
},
},
{
files: ["**/*.mjs"],
parserOptions: {
sourceType: "module",
},
rules: {
"unicorn/prefer-module": "error",
"unicorn/prefer-node-protocol": "error",
},
},
{
files: [
"tests/format/**/jsfmt.spec.js",
"tests/config/**/*.js",
"tests/integration/**/*.js",
],
env: {
jest: true,
},
plugins: ["jest"],
rules: {
"jest/valid-expect": [
"error",
{
alwaysAwait: true,
},
],
},
},
{
files: ["tests/**/*.js"],
rules: {
strict: "off",
"unicorn/prefer-array-flat": "off",
"unicorn/prefer-array-flat-map": "off",
},
globals: {
run_spec: false,
},
},
{
files: ["src/cli/**/*.js"],
rules: {
"no-restricted-modules": [
"error",
{
patterns: [".."],
},
],
},
},
{
files: "src/language-js/needs-parens.js",
rules: {
"prettier-internal-rules/better-parent-property-check-in-needs-parens":
"error",
},
},
{
files: "src/**/*.js",
rules: {
"prettier-internal-rules/consistent-negative-index-access": "error",
"prettier-internal-rules/flat-ast-path-call": "error",
"prettier-internal-rules/no-conflicting-comment-check-flags": "error",
"prettier-internal-rules/no-doc-builder-concat": "error",
"prettier-internal-rules/no-empty-flat-contents-for-if-break": "error",
"prettier-internal-rules/no-unnecessary-ast-path-call": "error",
"prettier-internal-rules/prefer-ast-path-each": "error",
"prettier-internal-rules/prefer-indent-if-break": "error",
"prettier-internal-rules/prefer-is-non-empty-array": "error",
},
},
{
files: ["src/language-*/**/*.js"],
rules: {
"prettier-internal-rules/directly-loc-start-end": "error",
},
},
{
files: ["src/language-js/**/*.js"],
rules: {
"prettier-internal-rules/no-node-comments": [
"error",
{
file: "src/language-js/utils.js",
functions: ["hasComment", "getComments"],
},
"src/language-js/parse-postprocess.js",
"src/language-js/parser-babel.js",
"src/language-js/parser-meriyah.js",
"src/language-js/pragma.js",
"src/language-js/parser/json.js",
],
},
},
],
};
76 changes: 0 additions & 76 deletions .eslintrc.yml

This file was deleted.

4 changes: 0 additions & 4 deletions .flowconfig

This file was deleted.

44 changes: 44 additions & 0 deletions .git-blame-ignore-revs
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
# git-blame ignored revisions
# To configure, run
# git config blame.ignoreRevsFile .git-blame-ignore-revs
# Requires Git > 2.23
# See https://git-scm.com/docs/git-blame#Documentation/git-blame.txt---ignore-revs-fileltfilegt

# Prettier bump after release
# 2.3.2
0747d9204113ee4bb4e3c2bab113dc3772a5e8d9
# 2.3.1
a34b4a711ed9928f8809bed3f4c8572dc3a40efb
# 2.3.0
3d8dc612b54cef741a1c31da1011a2d48748a1dd
# 2.2.1
80961835a68e3de1b14819a7b77583a54d2b63d7
# 2.2.0
cf354c205de9841a2d306387473dac369359ca2b
# 2.1.2
c4d3014b95122f4ad19c319a9b3f5f9625d6003f
# 2.1.1
a8363197118e530d948978da6e5c414a765ba9c0
# 2.1.0
cef4bcafc7867050582d3107632bde7e722575d1
# 2.0.5
d33f8a3e2c0a59cb9f383ddec5bbf8d296bb1a23
# 2.0.4
592149791e4fea656d8c5fa34c25d4d19076a07a
# 2.0.3
64b3ac9e8e933a09f049b7cace540ee526f4d5a4
# 2.0.2
c1dd17cf383b78fd8fd43442bb5db59b51900410
# 2.0.1
f56d620be529b60c13032681446c1eb76e0fb088
# 2.0.0
9dad95b35f935edce4c3d6cfa45c79a0b9c82b9f

# Restructure test files (#10415)
ece93681f1010796e7d8eb4394196ccaef0cbc9c

# Categorize tests (#8239 #8248 #8249 #8251)
b585bd6fa4d750a98e277303c428edfc48fea3f4
f8c5b1fd1da4d67bc09d12bc3411b70d0fa4f4a1
b6225788966a4a6b49e652044337436642dcd627
7ad515111e79a3f304d5480d6586314222052333
Loading