fisker Cheung
|
0cd7e10447
|
Merge branch 'main' into next
# Conflicts:
# docs/browser.md
# src/language-js/print/literal.js
# src/language-js/print/misc.js
# src/language-js/printer-estree.js
# tests/format/markdown/auto-link/jsfmt.spec.js
# yarn.lock
|
2023-01-10 09:38:45 +08:00 |
|
fisker Cheung
|
9e09a78cf5
|
Stop inserting space in LESS property access (#14103)
|
2023-01-07 16:43:15 +08:00 |
|
 Sosuke Suzukiandfisker Cheung
|
0c5d4f3458
|
Fix removing commas from function arguments in maps (#14089)
Co-authored-by: fisker Cheung <lionkay@gmail.com>
|
2023-01-06 17:13:41 +09:00 |
|
fisker Cheung
|
f65768d00a
|
Merge branch 'main' into next
# Conflicts:
# package.json
# scripts/release/yarn.lock
# src/language-css/parser-postcss.js
# src/language-css/printer-postcss.js
# src/language-js/print/jsx.js
# src/language-json/printer-estree-json.js
# website/yarn.lock
# yarn.lock
|
2023-01-04 14:25:53 +08:00 |
|
 Michael Voříšekandfisker Cheung
|
41cee0636e
|
Do not change case of property name if inside a variable declaration in LESS (#14034)
Co-authored-by: fisker Cheung <lionkay@gmail.com>
|
2023-01-03 13:32:00 +08:00 |
|
Michael Voříšek
|
efa6aa68b6
|
Fix semicolon duplicated at the end of LESS file (#14007)
Fix semicolon duplicated at the end of file
|
2022-12-30 17:09:55 +09:00 |
|
fisker Cheung
|
9afa8544eb
|
Merge branch 'main' into next
# Conflicts:
# src/language-js/needs-parens.js
|
2022-12-29 17:50:50 +08:00 |
|
Michael Voříšek
|
4551fe6f6f
|
Fix no space after unary minus when followed by opening parenthesis in LESS (#14008)
|
2022-12-29 10:07:12 +08:00 |
|
fisker Cheung
|
3aaafa7ecf
|
Add ancestors getter and hasAncestor() to AstPath (#14004)
|
2022-12-28 14:48:25 +08:00 |
|
fisker Cheung
|
b9af479919
|
Minor refactor (#14001)
|
2022-12-19 13:18:44 +08:00 |
|
fisker Cheung
|
daeb90f1ca
|
Merge branch 'main' into next
# Conflicts:
# package.json
# src/language-css/printer-postcss.js
# src/language-handlebars/printer-glimmer.js
# src/language-markdown/clean.js
# src/language-markdown/printer-markdown.js
# yarn.lock
|
2022-12-15 19:16:59 +08:00 |
|
 
|
b50dfd1974
|
fix: preserve empty lines between nested SCSS maps (#13931)
Co-authored-by: Jeremy Neander <jeremy.neander@glassdoor.com>
Co-authored-by: fisker Cheung <lionkay@gmail.com>
|
2022-12-15 14:54:47 +08:00 |
|
fisker Cheung
|
9676a23ab7
|
Fix test
|
2022-12-01 16:10:07 +08:00 |
|
fisker Cheung
|
925fa3f8ec
|
Use AstPath getters (#13922)
|
2022-12-01 10:07:41 +08:00 |
|
 renovate[bot]andfisker
|
6959f30a81
|
Update dependency eslint-plugin-unicorn to v45 (#13876)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com>
|
2022-11-21 23:41:27 +08:00 |
|
fisker Cheung
|
68a13957f4
|
Use optional chaining (#13824)
|
2022-11-14 19:43:08 +08:00 |
|
fisker Cheung
|
59eda43d71
|
Use optional chaining where possible (#13773)
|
2022-11-03 14:23:07 +08:00 |
|
fisker Cheung
|
9cf73d3610
|
Use c8 ignore comments (#13683)
|
2022-10-22 23:33:08 +08:00 |
|
 Sosuke Suzukiandfisker Cheung
|
92a6af22e7
|
Remove prefer-ast-path-node and add prefer-ast-path-getters (#13648)
* Support `getParent`
* Fix
* Fix
* Refactor
* Rename rule and add tests
* Fix by rule
* Fix error message
* Add error message tests
* Run Prettier!
* Address review
* Improve error message
* Refactor
* Stricter check & refactor
* Minor tweak
Co-authored-by: fisker Cheung <lionkay@gmail.com>
|
2022-10-18 14:23:13 +09:00 |
|
fisker Cheung
|
a545d6f58d
|
Merge branch 'main' into next
|
2022-10-08 16:23:47 +08:00 |
|
fisker Cheung
|
8c93abf557
|
Enable unicorn/switch-case-braces rule (#13585)
|
2022-10-08 10:44:30 +08:00 |
|
Jed Fox
|
bfb09bf214
|
Format pseudo-selector args like a function call (#13577)
|
2022-10-02 11:11:44 -04:00 |
|
Sosuke Suzuki
|
63be4c7f8b
|
SCSS: Fix formatting string value that includes escape \ (#13487)
* Ignore ignoreing escape for `value-string`
* Revert
* Add changelog
|
2022-09-18 23:42:16 +09:00 |
|
fisker Cheung
|
9bacc75772
|
Use .at() and Object.hasOwn() (#13482)
|
2022-09-18 17:50:14 +08:00 |
|
Sosuke Suzuki
|
e92dcbd1a5
|
Add new ESLint prefer-ast-path-node (#13470)
* Add new lint rule `prefer-path-get-value`
* Add new rule
* Apply fix
* Ingore projects in benchmark
* Add comment
|
2022-09-11 18:39:06 +09:00 |
|
Sosuke Suzuki
|
40af3ed1ca
|
Keep trailing-comma for var function (#13402)
* Keep trailing-comma for last el
* Make hasComma function
* Fix tests
* Add changelog
|
2022-08-31 00:59:34 +09:00 |
|
fisker Cheung
|
f47a852afa
|
Move print pre-check into core (#13400)
|
2022-08-30 22:42:58 +08:00 |
|
fisker Cheung
|
17cb07665f
|
Improve css/yaml embed traverse (#13294)
|
2022-08-30 11:00:12 +08:00 |
|
fisker Cheung
|
8d86bc1a78
|
Add print pre-check to CSS printer (#13398)
|
2022-08-30 10:30:47 +08:00 |
|
fisker Cheung
|
6712071e24
|
Stop passing undefine and null to printer (#13397)
|
2022-08-29 16:10:50 +03:00 |
|
fisker Cheung
|
0b072060b5
|
Merge branch 'main' into next
# Conflicts:
# src/language-js/print/flow.js
# src/language-js/print/literal.js
|
2022-08-26 10:29:09 +08:00 |
|
 José Pereiraandfisker Cheung
|
2d3a274847
|
fix: extra space between '#' and '{' (#13286)
* fix: extra space between '#' and '{'
* Update src/language-css/printer-postcss.js
Co-authored-by: fisker Cheung <lionkay@gmail.com>
* adding changelog
* Update 13286.md
Co-authored-by: fisker Cheung <lionkay@gmail.com>
|
2022-08-17 23:32:29 +09:00 |
|
fisker Cheung
|
5fa0802315
|
Add getVisitorKeys (#13255)
|
2022-08-17 09:47:08 +08:00 |
|
fisker Cheung
|
cdb1494170
|
Revert "Switch print/embed to async (#13104)" (#13210)
|
2022-08-02 18:11:34 +08:00 |
|
fisker Cheung
|
8dae4abf41
|
Switch print/embed to async (#13104)
|
2022-07-17 16:10:06 +08:00 |
|
fisker Cheung
|
e3cb487706
|
Merge branch 'main' into next
# Conflicts:
# .eslintrc.cjs
# package.json
# src/language-yaml/index.js
# yarn.lock
|
2022-07-11 17:03:30 +08:00 |
|
fisker Cheung
|
6bc6914d0b
|
Enable unicorn/prefer-logical-operator-over-ternary rule (#13060)
|
2022-07-09 16:03:46 +09:00 |
|
fisker Cheung
|
2bcee631a2
|
Refactor: Import document/*.js directly (#12739)
|
2022-04-29 14:04:17 +08:00 |
|
fisker Cheung
|
65ce63b4dc
|
Merge branch 'main' into next
# Conflicts:
# package.json
# scripts/vendors/bundle-vendors.mjs
# scripts/vendors/vendor-meta.json
# scripts/vendors/vendors.mjs
# src/language-handlebars/utils.js
# src/language-html/utils/html-elements-attributes.js
# vendors/tempy.js
|
2022-04-01 10:37:35 +08:00 |
|
fisker Cheung
|
b429cee273
|
Fix less/scss format error (#12536)
|
2022-03-29 20:44:28 +08:00 |
|
fisker Cheung
|
8118299c67
|
Merge branch 'main' into next
# Conflicts:
# .github/workflows/validate-vendor-versions.yml
# package.json
# src/language-css/printer-postcss.js
# src/language-js/print/assignment.js
|
2022-03-10 11:30:31 +08:00 |
|
 
|
737dd536c7
|
Fix lowercasing postcss values (#12393)
Co-authored-by: HallvardMM no-reply
Co-authored-by: fisker Cheung <lionkay@gmail.com>
|
2022-03-09 06:36:14 +08:00 |
|
fisker Cheung
|
1caec5de69
|
Migrate CSS language to ES Module (#12341)
|
2022-02-21 14:22:51 +08:00 |
|
fisker Cheung
|
1b6388e9b1
|
Fix
|
2022-02-09 10:08:32 +08:00 |
|
fisker Cheung
|
f0b63f3dff
|
Merge branch 'main' into next
# Conflicts:
# CONTRIBUTING.md
# cspell.json
# docs/options.md
# package.json
# scripts/build/bundler.mjs
# src/language-css/loc.js
# src/language-css/parser-postcss.js
# src/language-css/utils/index.js
# tests/format/js/arrows-bind/jsfmt.spec.js
# tests/format/js/async-do-expressions/jsfmt.spec.js
# tests/format/js/bind-expressions/jsfmt.spec.js
# tests/format/js/classes/top-level-super/jsfmt.spec.js
# tests/format/js/comments-pipeline-own-line/jsfmt.spec.js
# tests/format/js/decorator-comments/jsfmt.spec.js
# tests/format/js/decorators-export/jsfmt.spec.js
# tests/format/js/decorators/jsfmt.spec.js
# tests/format/js/do/jsfmt.spec.js
# tests/format/js/export-default/escaped/jsfmt.spec.js
# tests/format/js/export-extension/jsfmt.spec.js
# tests/format/js/export-star/jsfmt.spec.js
# tests/format/js/exports/jsfmt.spec.js
# tests/format/js/invalid-code/jsfmt.spec.js
# tests/format/js/logical-assignment/jsfmt.spec.js
# tests/format/js/multiparser-invalid/jsfmt.spec.js
# tests/format/js/no-semi-babylon-extensions/jsfmt.spec.js
# tests/format/js/object-property-comment/jsfmt.spec.js
# tests/format/js/partial-application/jsfmt.spec.js
# tests/format/js/pipeline-operator/jsfmt.spec.js
# tests/format/js/private-in/jsfmt.spec.js
# tests/format/js/record/jsfmt.spec.js
# tests/format/js/reserved-word/jsfmt.spec.js
# tests/format/js/strings/jsfmt.spec.js
# tests/format/js/throw_expressions/jsfmt.spec.js
# tests/format/js/trailing-whitespace/jsfmt.spec.js
# tests/format/js/v8_intrinsic/jsfmt.spec.js
# tests/format/misc/errors/js/literal/jsfmt.spec.js
# tests/format/misc/errors/js/object/jsfmt.spec.js
# tests/format/misc/errors/js/variable-declarator/jsfmt.spec.js
# tests/integration/__tests__/bundle.js
# tsconfig.json
# yarn.lock
|
2022-02-09 09:22:32 +08:00 |
|
Lucas Duailibe
|
543aa9abf1
|
Fix printing of SCSS selector() function (#12213)
|
2022-02-03 12:54:10 -03:00 |
|
Lucas Duailibe
|
e22c4911f8
|
Preserve empty lines in CSS/SCSS paren groups (#12210)
|
2022-02-02 07:38:59 -03:00 |
|
Sosuke Suzuki
|
a0cc4ab43b
|
Reduce bundle size of parser-postcss.js (#12204)
* Extract utils
* Move `utils.js` to `utils/index.js`
|
2022-01-31 16:46:47 +09:00 |
|
fisker Cheung
|
3001154f8d
|
Merge branch 'main' into next
# Conflicts:
# package.json
# scripts/build/bundler.mjs
# scripts/build/config.mjs
# yarn.lock
|
2021-11-18 10:40:53 +08:00 |
|
Sosuke Suzuki
|
8f7c2f77a4
|
Respect spacing for between expressions and parentheses in embedded CSS (#11800)
* Fix embedded css formatting
* Add changelog
|
2021-11-12 23:17:29 +09:00 |
|