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

Merge additional changes from adalinesimonian/merge-prettier-2.3.1 #603

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1972 commits
Select commit Hold shift + click to select a range
08fb7af
Mark formatting improvements in changelog
thorn0 Apr 20, 2021
c7b6116
Mark formatting improvements in changelog
thorn0 Apr 20, 2021
4d4c001
Edit changelog
thorn0 Apr 21, 2021
dacb23b
docs: fix command in install.md (#10740)
unrealapex Apr 21, 2021
7ed1f01
Run test on Node.js v16 (#10741)
fisker Apr 21, 2021
916693c
Update release script (#9418)
fisker Apr 21, 2021
1a7cef9
Build(deps-dev): Bump eslint-plugin-unicorn from 29.0.0 to 30.0.0 (#1…
dependabot[bot] Apr 23, 2021
493262c
Build(deps-dev): Bump webpack from 5.33.2 to 5.35.0 (#10751)
dependabot[bot] Apr 23, 2021
b38bcae
Build(deps): Bump chalk from 4.1.0 to 4.1.1 (#10748)
dependabot[bot] Apr 23, 2021
78990fb
Build(deps-dev): Bump @babel/core from 7.13.15 to 7.13.16 (#10746)
dependabot[bot] Apr 23, 2021
3b7eb01
Build(deps): Bump mem from 8.1.0 to 8.1.1 (#10749)
dependabot[bot] Apr 23, 2021
0e833ac
Build(deps): Bump chalk from 4.1.0 to 4.1.1 in /scripts/release (#10743)
dependabot[bot] Apr 23, 2021
8280260
Build(deps): Bump semver from 7.3.4 to 7.3.5 in /scripts/release (#10…
dependabot[bot] Apr 23, 2021
d459722
Build(deps-dev): Bump @babel/types from 7.13.14 to 7.13.17 (#10754)
dependabot[bot] Apr 23, 2021
f1bb968
Build(deps-dev): Bump eslint from 7.24.0 to 7.25.0 (#10764)
dependabot[bot] Apr 25, 2021
3a10135
Build(deps-dev): Bump jest-watch-typeahead from 0.6.2 to 0.6.3 (#10770)
dependabot[bot] Apr 25, 2021
0e7faad
Build(deps-dev): Bump webpack from 5.35.0 to 5.35.1 (#10769)
dependabot[bot] Apr 25, 2021
c3413e3
Build(deps-dev): Bump eslint-plugin-unicorn from 30.0.0 to 31.0.0 (#1…
dependabot[bot] Apr 25, 2021
7c54637
Build(deps-dev): Bump @glimmer/reference from 0.78.0 to 0.78.2 (#10772)
dependabot[bot] Apr 25, 2021
65feaa2
Build(deps-dev): Bump eslint-config-prettier from 8.2.0 to 8.3.0 (#10…
dependabot[bot] Apr 25, 2021
7f3ed45
Build(deps-dev): Bump webpack from 5.34.0 to 5.35.1 in /website (#10765)
dependabot[bot] Apr 25, 2021
5d1ba82
Build(deps): Bump @babel/parser from 7.13.15 to 7.13.16 (#10750)
dependabot[bot] Apr 25, 2021
ece9368
Restructure test files (#10415)
fisker Apr 25, 2021
2dfa06b
Add #102415 to `.git-blame-ignore-revs`
fisker Apr 25, 2021
8279a84
Build(deps): Bump @glimmer/syntax from 0.78.0 to 0.78.2 (#10767)
dependabot[bot] Apr 25, 2021
1d752a8
Build(deps): Bump @angular/compiler from 11.2.10 to 11.2.11 (#10766)
dependabot[bot] Apr 25, 2021
21d4f4e
Build(deps): Bump linguist-languages from 7.13.0 to 7.14.0 (#10755)
dependabot[bot] Apr 25, 2021
66feb01
docs: update git hooks instructions in install.md (#10763)
thorn0 Apr 25, 2021
7e4f4d5
Exclude @keyframes params from being parsed as a Less variable (#10773)
tmazeika Apr 25, 2021
5c44f71
Fix `.prettierignore`
fisker Apr 26, 2021
6b20419
Improve formatting for Module Blocks Proposal (#10758)
sosukesuzuki Apr 27, 2021
28e67a2
Add `no-conflicting-comment-check-flags` rule (#10775)
fisker Apr 27, 2021
067826b
Remove dead code (#10784)
fisker Apr 29, 2021
69212bc
Build(deps-dev): Bump jest-snapshot-serializer-raw from 1.1.0 to 1.2.…
dependabot[bot] Apr 30, 2021
57e8048
Build(deps-dev): Bump eslint-plugin-jest from 24.3.5 to 24.3.6 (#10797)
dependabot[bot] Apr 30, 2021
2871ffd
Build(deps-dev): Bump rollup from 2.45.2 to 2.46.0 (#10800)
dependabot[bot] Apr 30, 2021
8f866dc
Build(deps): Bump @glimmer/syntax from 0.78.2 to 0.79.0 (#10799)
dependabot[bot] Apr 30, 2021
685003f
Build(deps-dev): Bump @types/node from 14.14.0 to 15.0.1 (#10793)
dependabot[bot] Apr 30, 2021
0400a33
Build(deps-dev): Bump webpack from 5.35.1 to 5.36.1 (#10794)
dependabot[bot] Apr 30, 2021
e540139
Build(deps-dev): Bump @babel/core from 7.13.16 to 7.14.0 (#10798)
dependabot[bot] Apr 30, 2021
e8c3789
Build(deps): Bump @angular/compiler from 11.2.11 to 11.2.12 (#10791)
dependabot[bot] Apr 30, 2021
4ab421d
Build(deps-dev): Bump @glimmer/reference from 0.78.2 to 0.79.0 (#10790)
dependabot[bot] Apr 30, 2021
7a05805
Build(deps-dev): Bump @babel/types from 7.13.17 to 7.14.0 (#10801)
dependabot[bot] Apr 30, 2021
f12ccb4
Build(deps-dev): Bump @babel/preset-env from 7.13.15 to 7.14.0 (#10792)
dependabot[bot] Apr 30, 2021
63c7448
Update babel parser (#10802)
sosukesuzuki May 3, 2021
1bcaf61
Support for Flow's Optional Indexed Access type (#10788)
gkz May 3, 2021
faa2412
Build(deps-dev): Bump @rollup/plugin-commonjs from 18.0.0 to 18.1.0 (…
dependabot[bot] May 4, 2021
e29457c
Build(deps): Bump @babel/parser from 7.14.0 to 7.14.1 (#10819)
dependabot[bot] May 5, 2021
3a1512f
Add tests for indexed access via Babel (#10812)
sosukesuzuki May 5, 2021
68b158b
Build(deps-dev): Bump @babel/preset-env from 7.14.0 to 7.14.1 (#10818)
dependabot[bot] May 5, 2021
edc7a30
Support async do expressions proposal (#10813)
sosukesuzuki May 5, 2021
711c6d0
Support typescript 4.3 via babel (#10811)
sosukesuzuki May 5, 2021
e9aca5c
Build(deps-dev): Bump @babel/types from 7.14.0 to 7.14.1 (#10820)
dependabot[bot] May 5, 2021
8ef5054
Build(deps-dev): Bump rollup from 2.46.0 to 2.47.0 (#10815)
dependabot[bot] May 6, 2021
958c53c
Build(deps-dev): Bump @rollup/plugin-node-resolve from 11.2.1 to 13.0…
dependabot[bot] May 6, 2021
4eade27
Build(deps-dev): Bump webpack from 5.36.1 to 5.36.2 (#10810)
dependabot[bot] May 6, 2021
7a6af71
Build(deps-dev): Bump webpack from 5.35.1 to 5.36.2 in /website (#10809)
dependabot[bot] May 6, 2021
877e64c
Fix missing parentheses on `async` inside `for..of` (#10781)
fisker May 6, 2021
8beca47
Skip test on Node.js v15 (#10829)
fisker May 6, 2021
387fce4
Minor formatting tweaks (#10807)
Zearin May 6, 2021
1bfab3d
Build(deps-dev): Bump eslint from 7.25.0 to 7.26.0 (#10840)
dependabot[bot] May 9, 2021
9e09845
Build(deps): Bump @angular/compiler from 11.2.12 to 11.2.13 (#10838)
dependabot[bot] May 9, 2021
d3e7e2f
Build(deps): Bump codecov/codecov-action from v1.4.1 to v1.5.0 (#10833)
dependabot[bot] May 9, 2021
164a6e2
Switch CLI to async (#10804)
fisker May 9, 2021
69fae9c
Build(deps): Bump flow-parser from 0.150.0 to 0.150.1 (#10839)
dependabot[bot] May 9, 2021
6506e0f
Build(deps-dev): Bump webpack-cli from 4.6.0 to 4.7.0 in /website (#1…
dependabot[bot] May 9, 2021
c8c02b4
Build(deps-dev): Bump concurrently from 6.0.2 to 6.1.0 in /website (#…
dependabot[bot] May 9, 2021
7cfa9aa
Fix pre-commit hook setup command (#10710)
bokub May 9, 2021
2afc3b9
Release 2.3.0
thorn0 May 9, 2021
3d8dc61
Bump Prettier dependency to 2.3.0
thorn0 May 9, 2021
f7de292
Git blame ignore 2.3.0
thorn0 May 9, 2021
e0610b0
Update dependents count
thorn0 May 9, 2021
06409b8
Fix release script
thorn0 May 9, 2021
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
ab24b38
[prettierx] start prettierx-update-branch-001
Jun 14, 2021
f51d12c
[prettierx-update-branch-001] merge Prettier 2.3.1
Jun 14, 2021
3aaec48
prettierx tests: tests/scss/atrule -> tests/format/scss
Jun 14, 2021
acc2b2b
[prettierx] update some PostCSS dependencies (...)
Jun 14, 2021
c29efec
prettierx fix(dependencies): use @brodybits/remark-parse@8
Jun 15, 2021
b5ef976
prettierx fix(GitHub): remove items not wanted
Jun 15, 2021
c1fc6fc
prettierx: apply language-js features based on Prettier 2.3.1
Jun 15, 2021
e8bfaf2
[prettierx-update-branch-001] remove some package fields
Jun 15, 2021
cddc5c1
[prettierx-update-branch-001] rename bin & test config items
Jun 15, 2021
dc32d36
[prettierx-update-branch-001] add babel-flow to some tests
Jun 15, 2021
e8d64cb
prettierx test: move & rename some prettierX tests
Jun 15, 2021
b4e9601
prettierx test: move some prettierX-specific test variations
Jun 15, 2021
b9138d5
prettierx: move & rename a Yaml test with comments & spaces
Jun 15, 2021
d62b1ec
prettierx test: move an export default into its own module
Jun 16, 2021
dc89cf5
prettierx: set version to 0.19.0-dev
Jun 16, 2021
cfaefc9
prettierx test: revert some Babel parser test updates
Jun 16, 2021
0270333
Merge branch 'prettierx-update-branch-001' into dev
Jun 16, 2021
a8eb7bd
update formatting test snapshots
Jun 16, 2021
7ef1484
update integration test snapshots
Jun 16, 2021
44f7a0c
SQUASH-FIX-UP CHANGELOG.md
Jun 16, 2021
a3e6e50
prettierx-update-branch-001 chore: website -> extra/website
Jun 16, 2021
4eb23ca
fixup! prettierx-update-branch-001 chore: website -> extra/website
Jun 16, 2021
898e0c1
Merge branch 'prettierx-update-branch-001' into dev-update-wip
Jun 16, 2021
b38a758
quick workaround re: Unknown word (dirpath)
Jun 16, 2021
b00df97
prettierx test: skip round-trip testing in some cases
Jun 16, 2021
c4371da
fix: use build-extra-dist script
adalinesimonian Jun 16, 2021
945c857
fix: bin-prettier.js → bin-prettierx.js
adalinesimonian Jun 16, 2021
86a902c
refactor: move prettier version to package.json
adalinesimonian Jun 16, 2021
ac59434
fix: support npm for dev install
adalinesimonian Jun 16, 2021
9af7189
chore: website → extra/website
adalinesimonian Jun 16, 2021
d199079
fix: update yarn lockfile
adalinesimonian Jun 16, 2021
e0ca2e2
fix: use babel as main parser for break calls test
adalinesimonian Jun 16, 2021
dcdbd96
refactor: install script optional dep support
adalinesimonian Jun 16, 2021
e918727
refactor: reorganise tests, respect parser rules
adalinesimonian Jun 17, 2021
deb7801
prettierx fix: Update globby -> 11.0.4 - dependency (#602)
renovate[bot] Jun 16, 2021
b31e595
prettierx chore: Update rollup -> 2.52.0 - devDependency (#601)
renovate[bot] Jun 16, 2021
6635f7d
prettierx fix(perf): use build-extra-dist script
Jun 17, 2021
5d98c3e
prettierx chore: Update rollup -> 2.52.1 - devDependency (#607)
renovate[bot] Jun 17, 2021
ff5bf26
prettierx chore: Update snapshot-diff -> 0.9.0 - devDependency (#608)
renovate[bot] Jun 17, 2021
9f15fce
fix: update @babel/code-frame transitive dep
adalinesimonian Jun 17, 2021
edd886f
Merge branch 'dev' into adalinesimonian/merge-prettier-2.3.1-dev-upda…
adalinesimonian Jun 17, 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.
3 changes: 2 additions & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ insert_final_newline = true

[cspell.json]
indent_size = 4
insert_final_newline = false

[website/blog/*.md]
[extra/website/blog/*.md]
trim_trailing_whitespace = false
19 changes: 11 additions & 8 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -1,14 +1,17 @@
!/*.js
/tests/**/*.js
!/tests/**/jsfmt.spec.js
/tests/format/**/*.js
# prettierx
/tests/x-format/**/*.js
/tests/integration/cli/
!/tests/format/**/jsfmt.spec.js
# prettierx
!/tests/x-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/
/extra/website/build/
/extra/website/static/playground.js
/extra/website/static/lib/
231 changes: 231 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,231 @@
"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-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,
},
],
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",
// [prettierx]
"tests/x-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: {
// [prettierx]
formatRoot: false,
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.

42 changes: 42 additions & 0 deletions .git-blame-ignore-revs
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# 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.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