Commit Graph

2143 Commits (8f6a32853cb53fe3e7d31189f91912fb69c2713f)

Author SHA1 Message Date
Christopher Chedeau 9ba0d69cb9
Upgrade flow to 0.64 (#3899)
* Upgrade flow to 0.64

This also enables spread operator on jsx on the flow parser:

```js
<div>{...list}</div>
```

I had no idea it was even a thing.

I had to comment out a flow test that no longer parses, but it's no longer in the flow repo and the comment said that it shouldn't be working anyway so I don't think it's going to be a problem.

* Fix build script
2018-02-06 09:01:58 -08:00
Lipis 4f2b3eb98b
Cleanup unused script (& sort) (#3908) 2018-02-06 17:59:22 +01:00
Lipis b67f2563d9 Normalize SVGs using svgo (#3907) 2018-02-06 09:25:05 -07:00
Netanel Draiman cd1d7f7102 Updated Webstorm instructions for File-Watcher (#3900)
* Updated webstorm.md with file-watcher dialog changes

Changed `Immediate file synchronization` file watcher options with the updated syntax in new Webstorm version: `Auto-save edited files to trigger the watcher`

* docs(webstorm): updated file-watcher dialog image

updated Webstorm's file-watcher dialog example pic with the dialog in the latest versions of Webstorm.
2018-02-06 09:21:30 -07:00
Evilebot Tnawi a6ab8a7e32
refactor(tests): restructure `at rules` tests (#3892) 2018-02-06 19:03:36 +03:00
Evilebot Tnawi 0bdceaa158
tests(css): declaration comments (#3906) 2018-02-06 18:48:24 +03:00
Evilebot Tnawi 1b13dc8974
fix(css): declaration comments (#3897) 2018-02-06 18:09:42 +03:00
Lipis 89508462bb
60,000+ dependencies (#3901) 2018-02-06 12:35:32 +01:00
Lucas Azzola 047363a1f4
Revamp landing page (#3718)
* Begin landing page revamp

* Break the editor integrations onto their own lines

* Add template string

* Add editor line breaks

* Make logo clickable

* Add more docs links

* Don’t split the editor list items into paragraphs

* Break plugin onto its own line

* Move the “Why” button to the bottom of the block

* Use suggested font

* Change font

* Change footer color

* Add assets from @orta

* Fix fonts

* Use new editor assets

* Add npm/yarn button

* Switch to npx

* Minor mobile tweaks

* Add dependants

* Lots of zeros are cooler to look at than a “k”

* Improve button sizes, respect prefers-reduced-motion

* Fixup media breakpoints for Get Started section

* Increase padding of editors

* CSS fixes from code review

* Prevent repeatedly clicking on the logo from selecting nearby text

* dependant -> dependent

* Various CSS tightening

* Set flex-basis on editors

* Add new languages panel

* Improve layout of languages

* Cleanup grouping code

* Fix users layout

* Fix language image widths

* space-evenly -> space-between

* Fix typo

* Remove unused var

* Various CSS fixes

* Set overflow-x: auto on code

* Improve languages layout

* Add silly cursor

* Make logo 'draggable'

* [Site] Margins and paddings (#2)

* [Site] Margins and paddings

* [Site] Bring back the link to why, that's a good guide worth linking to

* Improve logo mobile usage

* Improve responsive layout of editors

* Use static SVG for the moment (#3)

* Use the static logo for the moment

* Fix the broken JS, from going static, and make overscroll the right color

* Fix padding
2018-02-06 20:52:39 +11:00
Lipis 125868c083
Remove commented out code (#3886) 2018-02-05 22:59:38 +01:00
Lipis 2310c4070f
feat: Add support for no-response-bot (#3873)
good luck
2018-02-05 22:33:20 +01:00
Evilebot Tnawi ebf83a9138
refactor(printer-postcss): use `node` name and implement helper functions (#3893) 2018-02-05 16:42:32 +03:00
Evilebot Tnawi 0e8f3acb59
tests(css): custom media (#3879) 2018-02-03 18:04:59 +03:00
Kevin Peters d8ecf26ef6 Add 3YOURMIND to users.yml (#3881) 2018-02-03 09:35:14 -05:00
Evilebot Tnawi ed2a9be58e
fix(css): stringify unquoted data urls (#3877) 2018-02-02 20:39:53 +03:00
Evilebot Tnawi f5e74cd70a
fix(css): at rules improve formatting and tests (#3828) 2018-02-02 18:06:47 +03:00
Simon Lydell e591b00005
Add option philosophy to docs (#3855) 2018-02-02 08:07:58 +01:00
Sam Horton 67bf3e51df docs: add information about precise-commits (#3818)
* docs: add information about precise-commits

* docs: add use case info to precommit documentation
2018-02-02 14:46:17 +11:00
Lipis 487e6074e4 Remove redundant quotes from image links in .yml files (#3860)
* Remove redundant quotes from image links in .yml files

* Moar

* Moar
2018-02-01 16:38:03 -05:00
tobenna 13112d6784 Adding LoyaltyLion to users (#3869) 2018-02-01 19:48:16 +01:00
Florent Dubost 93fb2de30d Add M6Web user (#3863) 2018-02-01 15:20:01 +01:00
Adrien HARNAY ff32edc4ad Add Brigad to list of users (#3862)
* Add image

* fix

* Fixed format
2018-02-01 13:34:40 +01:00
chrisbianca 3f2714c17f Add React Native Firebase to the list of users (#3859) 2018-02-01 12:17:06 +01:00
Martin Brännstrand f23546800b Added Lifesum to list of users (#3858)
* Added LIfesum logo

* Added LIfesum to list of users
2018-02-01 01:41:30 -07:00
Adishwar Rishi cba0a4778e Add Escrow to the list of users (#3857) 2018-02-01 01:40:23 -07:00
Simon Lydell 0c6253d1cf
Tweak rationale.md and remove outdated/incorrect stuff (#3853) 2018-02-01 07:47:05 +01:00
Lachlan Campbell 8d5863f408 Add Hack Club to user showcase (#3856)
* Add logo

* Add Hack Club to user showcase
2018-02-01 14:03:38 +08:00
Lipis 0424733f72 docs: Same format for both options (#3849) 2018-01-31 19:46:27 -05:00
Andrew Boyton d51b76855d Add Freelancer to the list of users (#3854)
We love Prettier and have been using it for a while now.
2018-01-31 16:58:28 -05:00
Lucas Duailibe aac38fca49 Force break if comment in return argument (#3665)
* Force break if comment in return argument

* add test case
2018-01-31 12:00:29 -05:00
Vlad Holubiev a3b973c245 Add Shelf to Users Page (#3851) 2018-01-31 15:47:21 +01:00
Lipis 7a7eb17082
fix: Proper case for Prettier, JavaScript, TypeScript, GitHub, Less (#3848) 2018-01-31 11:56:05 +01:00
Lipis 8641a9a9c5 Ignore package-lock.json (#3840)
* Ignore package-lock.json and yarn-error.log
2018-01-31 19:51:03 +11:00
Evilebot Tnawi ed5f68844f
fix(css): scss `global` flag (#3844) 2018-01-30 17:53:37 +03:00
Evilebot Tnawi 22ba2bcb64
fix(css): don't remove semicolon in `less` ruleset declaration (#3841) 2018-01-30 14:16:07 +03:00
Evilebot Tnawi 386e2a9bd4
tests(css): attr function (#3825) 2018-01-30 14:06:52 +03:00
Salem 8c792121f2 Treat define calls like require (#3830)
* Treat define calls like require

See issue #3829. This commit keeps define calls as a unit when possible,
to prevent an extra indent in the body of an AMD-style define.

Rather than adding the "define" check in the same case as the existing
"require" check, I added a separate condition to explicitly call out the
fact that this checks for both AMD and CommonJS modules.

`yarn test -u` yields no changes, and `yarn lint` passes successfully.

* Added tests for define and require amd formatting

This tests the solution for issue #3829.

* Add babylon interpreter to require-amd test

* Merge require and define checks
2018-01-29 16:44:32 -05:00
Ika 84c603623d
feat: support external options (#3775)
* refactor: wrap

* refactor: replace

* refactor: replace

* refactor: replace

* refactor: extract

* refactor: logger

* refactor

* refactor: extract

* refactor: extract

* refactor: extract

* refactor: extract

* feat(support): add `showInternal` option

* refactor: use internal

* refactor

* refactor: extract

* refactor: extract

* refactor

* refactor: extract

* refactor: extract

* refactor: extract

* refactor: extract

* refactor: extract

* refactor: extract

* refactor: extract

* refactor: extract

* refactor: extract

* refactor: extract

* refactor: extract

* refactor: extract

* refactor: extract

* refactor: reorder

* refactor: remove unnecessary

* refactor: reorder

* refactor: move

* refactor

* refactor

* refactor

* refactor: remove unnecessary

* feat: external options from CLI

* refactor: push/pop plugins

* feat: external options from config file

* refactor: remove unnecessary

* refactor

* refactor

* refactor

* fix: use `json-stable-stringify`

* refactor: extract

* refactor: extract

* refactor: extract

* refactor: extract

* refactor: extract

* refactor: extract

* refactor: extract

* refactor: extract

* refactor: extract

* refactor: extract

* refactor: extract

* refactor: extract

* refactor: extract

* refactor: extract

* refactor: move

* refactor: extract

* refactor: extract

* refactor: extract

* refactor: extract

* refactor: extract

* refactor: move

* refactor: extract

* docs: add comments

* refactor: sort

* refactor: sort

* refactor: rename

* refactor: remove unnecessary

* style: remove trailing whitespace
2018-01-28 00:24:25 +08:00
Ika b529c634d1
fix(markdown): print multiline content correctly in footnoteDefinition (#3787)
* fix(markdown): print multiline content correctly in footnoteDefinition

* refactor: replace `ifBreak(line)` with `softline`

* refactor: fix linting
2018-01-27 00:48:47 +08:00
Evilebot Tnawi 640ffa949d
tests(css): `font-face` at rule (#3826) 2018-01-26 15:53:08 +03:00
Evilebot Tnawi e3369db2c1
fix(css): handle namespace in attribute selector (#3810) 2018-01-26 13:00:20 +03:00
Ika 03292a6488
fix(javascript): ternary with `--use-tabs` (#3745)
* test: add test cases

* test: add test cases

* fix(javascript): ternary with `--use-tabs`

* chore: add istanbul ignore comment

* fix: remove unnecessary condition

* docs(commands): update `align`

* fix: do not transform the middle part

* refactor: markAsRoot

* fix: print tabs in sub-ternaries

* docs(commands): update

* test: add a cool test case
2018-01-26 10:02:42 +08:00
Evilebot Tnawi acf5e66408
tests(css): prefixes property (#3822) 2018-01-25 15:56:28 +03:00
Evilebot Tnawi e90f766459
tests(css): `viewport` at rule (#3817) 2018-01-25 14:59:38 +03:00
Evilebot Tnawi ca949a46d2
tests(css): `supports` at rule (#3816) 2018-01-25 12:53:34 +03:00
Zach Gawlik 5e43ff9ac2 Fix malapropism in commands docs (#3820) 2018-01-24 23:55:58 -07:00
Evilebot Tnawi a3bf378259
fix: handle YAML front matter block (#3802) 2018-01-24 19:44:09 +03:00
Evilebot Tnawi 5008836dc2
fix(css): remove whitespaces before ":" in scss maps (#3814) 2018-01-24 18:48:54 +03:00
Evilebot Tnawi b48fb2015a
tests(css): variables (#3813) 2018-01-24 17:00:02 +03:00
Evilebot Tnawi 2b300a0f40
tests(css): namespace at rule (#3811) 2018-01-24 16:27:02 +03:00