-
-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Comparing changes
Open a pull request
base repository: prettier/prettier
base: 0.13.0
head repository: prettier/prettier
compare: 0.14.0
- 13 commits
- 115 files changed
- 5 contributors
Commits on Jan 28, 2017
-
Adding a 4th arg to foo function for consistency (#499)
When reading the Readme file I noticed that the first `foo` method has only 3 args but every other `foo` method has 4. Therefore, I am adding a 4th arg to the first `foo` method for consistency.
Configuration menu - View commit details
-
Copy full SHA for 56f27a8 - Browse repository at this point
Copy the full SHA 56f27a8View commit details -
Configuration menu - View commit details
-
Copy full SHA for d548ef0 - Browse repository at this point
Copy the full SHA d548ef0View commit details -
Configuration menu - View commit details
-
Copy full SHA for c34013b - Browse repository at this point
Copy the full SHA c34013bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3f776be - Browse repository at this point
Copy the full SHA 3f776beView commit details
Commits on Jan 29, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 17add13 - Browse repository at this point
Copy the full SHA 17add13View commit details
Commits on Jan 30, 2017
-
Remove extra group when printing object values (#502)
It turns out that in an unlikely turn of event, the inner group can be inline and not print the opening paren but the outer group breaks and outputs the closing paren which generates invalid JavaScript. I tried removing the group altogether and no tests failed, so I'm assuming the group wasn't needed in the first place. If it was, we should add tests to cover this. Fixes #501
Configuration menu - View commit details
-
Copy full SHA for 98a052f - Browse repository at this point
Copy the full SHA 98a052fView commit details -
Add documentation for JetBrains products. (#509)
* Add documentation for JetBrains products. * Fix typos in `jetbrains/README.md` * Remove examples with `npm run` and `yarn`
Configuration menu - View commit details
-
Copy full SHA for 8d786e5 - Browse repository at this point
Copy the full SHA 8d786e5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9cfc645 - Browse repository at this point
Copy the full SHA 9cfc645View commit details -
Configuration menu - View commit details
-
Copy full SHA for 94afacd - Browse repository at this point
Copy the full SHA 94afacdView commit details -
[RFC] Keep expanded objects expanded (#495)
Another attempt at solving the issue where objects are not expanded the way people expect. If there's any new line in the original source, it's going to expand it. This gives more control to the user in how the objects should be formatted. Fixes #74
Configuration menu - View commit details
-
Copy full SHA for 959235a - Browse repository at this point
Copy the full SHA 959235aView commit details -
Do not always put an empty lines after directives (#505)
It turns out that I need to call skipNewLine before calling hasNewLine in order to figure out if there's an empty line right after. Oops. Fixes #504
Configuration menu - View commit details
-
Copy full SHA for d5e0fd5 - Browse repository at this point
Copy the full SHA d5e0fd5View commit details -
Print numbers in a uniform way (#498)
* Print numbers in a uniform way - Still preserve the radix (binary, octal, hexadecimal or decimal) used in the original source code. - Still preserve scientific notation. - Add 0 to fractions. `.1` -> `0.1` - Remove trailing dots from integers. `1.` -> `1` - Always print the radix letters lowercase. `0b`, `0o`, `0x` - Always print scientific notation lowercase. `1e1` - Always print hexadecimal digits uppercase. `0x123ABCDEF` - Remove unneeded plus in scientific notation. `1e+1` -> `1e1` - Remove unneeded zeroes in scientific notation. `1e-001` -> `1e-1` - Preserve leading zeroes in non-decimal radix. This can be useful when working in binary, and having both `0b111000` and `0b000111` for example. * Always print numbers lowercase * Remove trailing dot in scientific notation * Update snapshots
Configuration menu - View commit details
-
Copy full SHA for d27482e - Browse repository at this point
Copy the full SHA d27482eView commit details -
Configuration menu - View commit details
-
Copy full SHA for f88c950 - Browse repository at this point
Copy the full SHA f88c950View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff 0.13.0...0.14.0