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: Merge Prettier 2.3.0 updates - draft 1 #549

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
838 commits
Select commit Hold shift + click to select a range
40c92b5
prettierx: Update eslint -> 7.22.0 - devDependency (#498)
renovate[bot] Mar 23, 2021
ae334ac
prettierx: Update @rollup/plugin-replace -> 2.4.2 - devDependency (#500)
renovate[bot] Apr 11, 2021
a9bfe7e
prettierx: Update execa -> 5.0.0 - devDependency (#485)
renovate[bot] Apr 11, 2021
35e38a3
prettierx: Update tempy -> 1.0.1 - devDependency (#491)
renovate[bot] Apr 11, 2021
e984cf9
prettierx: update @babel/core -> 7.13.15 --dev
brodycj Apr 11, 2021
de86fb3
prettierx: update @babel/preset-env -> 7.13.15 --dev
brodycj Apr 11, 2021
abad553
prettierx: update eslint -> 7.24.0 --dev
brodycj Apr 11, 2021
a9fa6f3
prettierx: update eslint-plugin-react -> 7.23.2 --dev
brodycj Apr 11, 2021
e9a1092
prettierx: update jest-watch-typeahead -> 0.6.2 --dev
brodycj Apr 11, 2021
d1d4b76
prettierx: update @babel/code-frame -> 7.12.13 (...)
brodycj Apr 11, 2021
98aa7b3
prettierx: Update ci-info -> 3.1.1 - dependency (#480)
renovate[bot] Apr 11, 2021
70a73ff
prettierx: Update diff -> 5.0.0 - dependency (#482)
renovate[bot] Apr 11, 2021
d2ea597
prettierx: Update globby -> 11.0.3 - dependency (#499)
renovate[bot] Apr 11, 2021
9ac0586
prettierx: Update mem -> 8.1.0 - dependency (#486)
renovate[bot] Apr 12, 2021
148baca
prettierx: Update postcss-less -> 4.0.1 - dependency (#487)
renovate[bot] Apr 12, 2021
af9e719
prettierx: Update semver -> 7.3.5 - dependency (#508)
renovate[bot] Apr 12, 2021
4be76fe
prettierx: Update rollup -> 2.45.1 - devDependency (#507)
renovate[bot] Apr 12, 2021
bb0d7f3
prettierx: no code coverage in GitHub action
brodycj Apr 12, 2021
3c88783
prettierx: Update resolve -> 1.20.0 - dependency (#465)
renovate[bot] Apr 12, 2021
aa12c04
prettierx: remove Prettier website code
brodycj Apr 12, 2021
66f3499
build(deps): bump node-fetch from 2.1.2 to 2.6.1 in /scripts/release …
dependabot[bot] Apr 12, 2021
44343c4
prettierx: Update tslib -> 2.2.0 - dependency (#515)
renovate[bot] Apr 12, 2021
ca0120d
prettierx: Update eslint-plugin-unicorn -> 29.0.0 - devDependency (#510)
renovate[bot] Apr 12, 2021
faf2593
prettierx: tslib back to 1.14.1
brodycj Apr 13, 2021
c5ef079
prettierx: update dependencies notes in package.json
brodycj Apr 13, 2021
5749c8b
prettierx: update yarn.lock --dev (#519)
brodycj Apr 13, 2021
ec29f1c
prettierx: version 0.18.0
brodycj Apr 13, 2021
b2b1aab
prettierx: start 0.18.1-dev
brodycj Apr 13, 2021
1580da4
prettierx: Update rollup -> 2.45.2 - devDependency (#520)
renovate[bot] Apr 13, 2021
c7a9032
prettierx: Update eslint-config-prettier -> 8.2.0 - devDependency (#521)
renovate[bot] Apr 13, 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
b710eb1
Merge tag '2.3.0' into adalinesimonian/merge-prettier-2.3.0
adalinesimonian May 23, 2021
c60eaff
fix(tests): PRETTIER_DIR → PRETTIERX_DIR
adalinesimonian 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
0549c62
FIX-UP: remove flow-parser & typescript from dependencies in package.…
brodycj May 27, 2021
4b4d0ad
feat: add inherited option support
adalinesimonian May 27, 2021
805c304
chore(support): Bump prettier version to 2.3.0
adalinesimonian May 27, 2021
2b22970
fix: pass options to printTemplateExpressions
adalinesimonian May 27, 2021
ab76331
fix(graphql): bracketSpacing → graphqlCurlySpacing
adalinesimonian May 27, 2021
c35420e
fix(modules): bracketSpacing → importCurlySpacing
adalinesimonian 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
a33de90
fix(breakBeforeElse): correct logic
adalinesimonian May 28, 2021
0273991
fix(needs-parens): comment out prettierx changes
adalinesimonian May 28, 2021
c3d9044
fix(spaceInParens): correct logic
adalinesimonian May 28, 2021
3b5c3e5
fix(modules): don't break line when we shouldn't
adalinesimonian May 28, 2021
45642e9
fix(spacing): discern objects, type annotations
adalinesimonian May 28, 2021
0237dd3
fix(properties): pass node instead of path
adalinesimonian May 28, 2021
5142d67
refactor(tests): relocate flow, ts standard tests
adalinesimonian May 28, 2021
10bde82
fix(tests): move jsx spacing test to correct path
adalinesimonian May 28, 2021
2148b22
fix(tests): fix syntax errors blocking tests
adalinesimonian May 28, 2021
b79d068
fix(tests/yaml): ensure parser throws error
adalinesimonian May 28, 2021
88ef44b
chore(editorcfg): keep eol whitespace in tests
adalinesimonian May 28, 2021
cbf5317
fix(tests/integration): add missing properties
adalinesimonian May 28, 2021
e14b03d
fix(tests/integration): update snapshots
adalinesimonian May 28, 2021
39a9160
fix(tests/html): expect vue parser to throw error
adalinesimonian May 28, 2021
fc8e954
test(format): test bracketSpacing option
adalinesimonian May 28, 2021
ba5723d
test(js/function-paren): typeBracketSpacing: false
adalinesimonian May 28, 2021
f05280b
test(js\empty-paren-cmnt): remove duplicate test
adalinesimonian May 28, 2021
7e8c41e
test(fmt/bin-expr/like-regex): expect espree error
adalinesimonian May 28, 2021
687c064
test(fmt/js/empty-paren-cmnt): expect espree error
adalinesimonian May 28, 2021
966bafd
test(fmt/js/cmnt-closure-tc): only test w/ babel
adalinesimonian May 28, 2021
f966940
test: update snapshots
adalinesimonian May 28, 2021
f9d587f
fix(pkg): bin-prettier.js → bin-prettierx.js
adalinesimonian May 28, 2021
bdb427a
chore(lint): fix unknown word lint error
adalinesimonian May 28, 2021
53ccea4
fix(lint): correct env/parserOptions for website
adalinesimonian May 28, 2021
5eced9d
fix(lint): conform to lint rules
adalinesimonian May 28, 2021
868a7c4
fix(test/standalone): prettier → prettierx
adalinesimonian May 28, 2021
97ec549
fix(test/standalone): prettier → prettierx
adalinesimonian May 28, 2021
8e6010e
fix(lint/tests-standalone): fix long line
adalinesimonian May 28, 2021
d0a040d
docs(options): document bracketSpacing inheritance
adalinesimonian May 28, 2021
0968839
chore(pkg): use build script
adalinesimonian May 28, 2021
307b602
[prettierx] docs(CONTRIBUTING): prettier → prettierX etc. (#553)
adalinesimonian May 28, 2021
498fa5c
test: add option inheritance test
adalinesimonian May 28, 2021
deb0753
Merge branch 'dev' of https://github.com/brodybits/prettierx into ada…
adalinesimonian May 28, 2021
f923907
test(config): update snapshots
adalinesimonian 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
b1b05b0
test: use file: link for eslint-plugin-prettier-internal-rules
brodycj May 31, 2021
04f0200
fixup! test: use file: link for eslint-plugin-prettier-internal-rules
brodycj May 31, 2021
3a71791
Build(deps): Bump @angular/compiler from 11.2.14 to 12.0.2 (#10995)
dependabot[bot] May 31, 2021
46955f2
fix(ci/tests): install optional deps when testing
adalinesimonian May 31, 2021
233d313
fix(lint): whoops, add missing semicolon
adalinesimonian May 31, 2021
0f719cb
fix(tests/env): prettier → prettierx
adalinesimonian 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
273dbd1
fix(js/modules): add missing separators to imports
adalinesimonian Jun 1, 2021
f895e02
[XXX TODO] prettierx: set version to 0.19.0-dev
adalinesimonian Jun 1, 2021
d8a42e3
feat(test): disable tests by file, parser, options
adalinesimonian Jun 1, 2021
a20b8ab
Merge branch 'adalinesimonian/merge-prettier-2.3.0' of https://github…
adalinesimonian Jun 1, 2021
5107566
Revert "feat(test): disable tests by file, parser, options"
brodycj Jun 1, 2021
427d816
prettierx: update @babel/parser -> 7.14.4
brodycj Jun 1, 2021
976ac58
feat(test): disable tests by file, parser, options - REAPPLY THIS WOR…
adalinesimonian Jun 1, 2021
d977024
FIX-UP: only skip disabled test in round-trip stage
brodycj Jun 1, 2021
86797d1
feat(test): allow disabling tests for round trips
adalinesimonian Jun 2, 2021
5bed9db
FIX-UP (further refactoring) re: disabling tests for round trips
brodycj Jun 2, 2021
b25965d
Revert "prettierx: update @babel/parser -> 7.14.4" - leaving this for…
brodycj Jun 2, 2021
e18ad0f
FIX-UP: remove tslib from package dependencies, etc.
brodycj Jun 2, 2021
e27da19
FIX-UP: remove json-stable-stringify - now replaced by fast-json-stab…
brodycj Jun 2, 2021
a7f2e9a
add TEMPORARY EXCEPTION to prettierx dependencies notes (...)
brodycj Jun 2, 2021
c4ddd50
FIX-UP: fix CHANGELOG.md
brodycj Jun 2, 2021
1d69549
Update v2.3 blog post (#11002)
aliaksandrsen Jun 2, 2021
b3ff284
chore: use broken-out bracket spacing options
adalinesimonian Jun 2, 2021
14ebd30
FIX-UP: remove strip-ansi from devDependencies ... but strip-ansi MUS…
brodycj Jun 2, 2021
084d790
FIX-UP: remove dedent & srcset NOT NEEDED from package dependencies
brodycj Jun 2, 2021
151e872
FIX-UP: remove some devDependencies not needed
brodycj Jun 2, 2021
0413f56
FIX-UP: add missing [prettierx] comments to jest.config.js
brodycj Jun 2, 2021
5d52503
[FIX-UP] remove dedent from scripts/release/package.json for consiste…
brodycj Jun 2, 2021
382b1e3
[FIX-UP] remove entries not needed from scripts/release/yarn.lock for…
brodycj Jun 2, 2021
8994449
Merge branch 'adalinesimonian/merge-prettier-2.3.0' of https://github…
adalinesimonian Jun 2, 2021
639ca2f
chore: remove option inheritance
adalinesimonian Jun 2, 2021
9016a72
FIX-UP: update tests/format/angular/angular/jsfmt.spec.js to improve …
brodycj Jun 2, 2021
5ecccf9
[FIX-UP] update tests/format/angular/angular/__snapshots__/jsfmt.spec…
brodycj Jun 2, 2021
e3d1522
test(bracket-spacing): only set necessary options
adalinesimonian Jun 2, 2021
1a1763b
Merge branch 'adalinesimonian/merge-prettier-2.3.0' of https://github…
adalinesimonian Jun 2, 2021
04ab758
[FIX-UP] update tests/format/yaml/flow-mapping/jsfmt.spec.js to impro…
brodycj Jun 2, 2021
d5fa43b
[FIX-UP] update tests/format/yaml/flow-mapping/__snapshots__/jsfmt.sp…
brodycj Jun 2, 2021
478256e
[FIX-UP] update tests/format/yaml/flow-sequence/jsfmt.spec.js to impr…
brodycj Jun 2, 2021
95cc0b9
[FIX-UP] update tests/format/yaml/flow-sequence/__snapshots__/jsfmt.s…
brodycj Jun 2, 2021
a4b5edc
prettierx: add another objectCurlySpacing option comment
brodycj Jun 2, 2021
6af363e
Merge branch 'dev' of https://github.com/brodybits/prettierx into ada…
brodycj Jun 2, 2021
3d1b19c
FIX-UP (breakBeforeElse): add prettierx comment
brodycj Jun 2, 2021
a4ef7dc
MERGE FIX-UP: keep src/document/doc-debug.js from Prettier 2.3.0
brodycj Jun 2, 2021
9510335
FIX-UP: remove "PrettierX" entries not needed from cspell.json
brodycj Jun 2, 2021
2254590
[TBD ???] move the new prettierX cspell entries near the end of the w…
brodycj Jun 2, 2021
1912344
FIX-UP: remove inherit property type no longer needed from src/main/c…
brodycj Jun 2, 2021
d361c63
FIX-UP: REVERT my updates to cspell.json - my bad, moved into a separ…
brodycj Jun 2, 2021
4130480
MERGE FIX-UP: add & update some comments for prettierX in src/languag…
brodycj Jun 2, 2021
ac5a23e
MERGE FIX-UP: add prettierx-specific package files entries
brodycj Jun 3, 2021
3dcaab5
prettierx: Update get-stream -> 6.0.1 - dependency (#528)
renovate[bot] Jun 3, 2021
d8683db
prettierx: Update mem -> 8.1.1 - dependency (#537)
renovate[bot] Jun 3, 2021
dd7a64f
prettierx: Update chalk -> 4.1.1 - dependency (#538)
renovate[bot] Jun 3, 2021
77ba89d
prettierx: Update eslint-plugin-prettier -> 3.4.0 - devDependency (#525)
renovate[bot] Jun 3, 2021
65fc169
prettierx: Update eslint -> 7.27.0 - devDependency (#540)
renovate[bot] Jun 3, 2021
e3ba0f6
prettierx: Update jest-watch-typeahead -> 0.6.4 - devDependency (#539)
renovate[bot] Jun 3, 2021
ec3abec
prettierx: version 0.18.1
brodycj Jun 3, 2021
a2f0061
prettierx: start 0.19.0-dev
brodycj Jun 3, 2021
3a44b2d
chore: remove changes that should be made upstream
adalinesimonian Jun 3, 2021
a1f19fb
Merge branch 'adalinesimonian/merge-prettier-2.3.0' of https://github…
adalinesimonian Jun 3, 2021
a0bb1d2
chore: build → build-extra-dist, will separate PR
adalinesimonian Jun 3, 2021
b99c5f6
prettierx: remove GitHub items not wanted from Prettier 2.3.0
brodycj Jun 3, 2021
fa6a377
prettierx: remove GitHub items not wanted from Prettier 2.3.0
brodycj Jun 3, 2021
5f21689
Merge branch 'adalinesimonian/merge-prettier-2.3.0' of https://github…
adalinesimonian Jun 3, 2021
4691934
fix(lint): allow npm install w/ no-node-comments
adalinesimonian Jun 3, 2021
d98427b
chore: revert doc url edit meant for upstream
adalinesimonian Jun 3, 2021
f9dbed6
MERGE FIX-UP: use Babel by default for Flow in src/language-js/index.js
brodycj Jun 4, 2021
be12fbb
MERGE FIX-UP: update tests/integration/__tests__/__snapshots__/suppor…
brodycj Jun 4, 2021
b9de81e
Merge branch 'dev' of https://github.com/brodybits/prettierx into ada…
brodycj Jun 4, 2021
cf1a5ce
FIX-UP: .github items
brodycj Jun 4, 2021
170a460
FIX-UP CHANGELOG.md - my bad
brodycj Jun 4, 2021
d28f2fe
FIX-UP: add details from Prettier 2.3.0 to CONTRIBUTING.md etc.
brodycj Jun 4, 2021
a294aff
[MERGE FIX-UP] improve section headers in CONTRIBUTING.md
brodycj Jun 4, 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
1cd13ca
fix(format): restore --no-indent-chains support
adalinesimonian Jun 7, 2021
586c839
[NIT FIX-UP] add comment in place of code that was moved & updated
brodycj Jun 7, 2021
5541c78
Merge tag '2.3.1' into adalinesimonian/merge-prettier-2.3.0
adalinesimonian Jun 7, 2021
aa453fd
fix(build): util → utils
adalinesimonian Jun 7, 2021
eb73799
fix(support): update prettier version
adalinesimonian Jun 7, 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
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/tests/integration/cli/
!/tests/format/**/jsfmt.spec.js
!/**/.eslintrc.js
/test*.js
/test*.*
/scripts/release/node_modules
/coverage/
/dist/
Expand Down
19 changes: 18 additions & 1 deletion .eslintrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,10 @@ extends:
- eslint:recommended
- prettier
plugins:
- prettier-internal-rules
- import
- regexp
- unicorn
- prettier-internal-rules
settings:
import/internal-regex: ^linguist-languages/
rules:
Expand Down Expand Up @@ -69,12 +70,23 @@ rules:
- 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
Expand All @@ -90,6 +102,9 @@ overrides:
- "**/*.mjs"
parserOptions:
sourceType: module
rules:
unicorn/prefer-module: error
unicorn/prefer-node-protocol: error
- files:
- "tests/format/**/jsfmt.spec.js"
- "tests/config/**/*.js"
Expand All @@ -106,6 +121,8 @@ overrides:
- tests/**/*.js
rules:
strict: off
unicorn/prefer-array-flat: off
unicorn/prefer-array-flat-map: off
globals:
run_spec: false
- files:
Expand Down
2 changes: 2 additions & 0 deletions .git-blame-ignore-revs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
# See https://git-scm.com/docs/git-blame#Documentation/git-blame.txt---ignore-revs-fileltfilegt

# Prettier bump after release
# 2.3.0
3d8dc612b54cef741a1c31da1011a2d48748a1dd
# 2.2.1
80961835a68e3de1b14819a7b77583a54d2b63d7
# 2.2.0
Expand Down
2 changes: 0 additions & 2 deletions .github/FUNDING.yml

This file was deleted.

49 changes: 0 additions & 49 deletions .github/ISSUE_TEMPLATE/formatting.md

This file was deleted.

35 changes: 0 additions & 35 deletions .github/ISSUE_TEMPLATE/integration.md

This file was deleted.

17 changes: 0 additions & 17 deletions .github/PULL_REQUEST_TEMPLATE.md

This file was deleted.

10 changes: 7 additions & 3 deletions .github/SECURITY.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Security Policy
# prettierx security

## Reporting a Vulnerability
- <mailto:[email protected]>
- https://www.linkedin.com/in/chrisbrody/

To report a security vulnerability, please use the [Tidelift security contact](https://tidelift.com/security). Tidelift will coordinate the fix and disclosure.
<!--
Note that .github/SECURITY.md from [email protected] is
not to be merged into prettierx.
-->
10 changes: 0 additions & 10 deletions .github/no-response.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/dev-package-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- "ubuntu-latest"
node:
# Run tests on minimal version we support
- "10"
- "12"
NPM_CLIENT:
- "yarn"
- "npm"
Expand Down
17 changes: 10 additions & 7 deletions .github/workflows/dev-test.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@
name: Dev

on:
# [prettierx ...]
push:
branches:
- main
- patch-release
# - master
# - patch-release
- dev
- dev-*
- prettierx-*
pull_request:

jobs:
Expand All @@ -21,23 +26,19 @@ jobs:
- "16"
- "14"
- "12"
- "10"
include:
# only enable coverage on the fastest job
- os: "ubuntu-latest"
node: "16"
ENABLE_CODE_COVERAGE: true
# [prettierx] code coverage not enabled:
# ENABLE_CODE_COVERAGE: true
FULL_TEST: true
CHECK_TEST_PARSERS: true
exclude:
- os: "macos-latest"
node: "14"
- os: "macos-latest"
node: "12"
- os: "windows-latest"
node: "14"
- os: "windows-latest"
node: "12"
env:
ENABLE_CODE_COVERAGE: ${{ matrix.ENABLE_CODE_COVERAGE }}
FULL_TEST: ${{ matrix.FULL_TEST }}
Expand Down Expand Up @@ -67,6 +68,7 @@ jobs:
if: matrix.os != 'macos-latest'
run: yarn test --maxWorkers=2

# [prettierx] code coverage not enabled (see above)
- name: Upload Coverage
uses: codecov/[email protected]
if: matrix.ENABLE_CODE_COVERAGE
Expand All @@ -79,6 +81,7 @@ jobs:
env:
PRETTIER_FALLBACK_RESOLVE: true

# [prettierx] code coverage not enabled (see above)
- name: Upload Coverage (PRETTIER_FALLBACK_RESOLVE)
uses: codecov/[email protected]
if: matrix.ENABLE_CODE_COVERAGE
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,16 @@
name: Lint

on:
# [prettierx ...]
push:
branches:
- main
- patch-release
# [prettierx ...]
# - master
# - patch-release
- dev
- dev-*
- prettierx-*
pull_request:

jobs:
Expand Down
20 changes: 0 additions & 20 deletions .github/workflows/lock.yml

This file was deleted.

18 changes: 0 additions & 18 deletions .github/workflows/mark-issue-duplicate.yml

This file was deleted.

37 changes: 37 additions & 0 deletions .github/workflows/prettierx-npm-dev-test-nodejs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# This workflow will do a clean install of npm dependencies and
# run tests across different versions of node
# For more information see:
# https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions

name: npm clean dev test

on:
push:
branches:
- dev
- dev-*
- prettierx-*
pull_request:

jobs:
build:
# ref:
# https://help.github.com/en/actions/reference/workflow-syntax-for-github-actions#jobsjob_idstrategymatrix
runs-on: ${{ matrix.os }}

strategy:
matrix:
node-version:
- 14.x
os: [ubuntu-latest, windows-latest]

steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm i
- run: npm test
env:
CI: true
Loading