Commit Graph
21 Commits
Author SHA1 Message Date
Georgii Dolzhykov 5a33fec904 RFC: indentIfBreak (#10221) 2021-02-05 01:03:40 +02:00
Georgii Dolzhykov 53b59d2d39 Fix lineSuffixBoundary (#10122) 2021-01-28 00:29:34 +02:00
fisker Cheung ce26805e84 Enable unicorn/prefer-spread (#10129) 2021-01-26 09:46:14 +08:00
fisker Cheung dd606d9ce1 Enable unicorn/no-array-push-push (#10111)
* Enable rule

* Apply auto-fix

* Manual fix
2021-01-23 22:37:01 +02:00
fisker Cheung 0009e0d276 Enable unicorn/prefer-regexp-test (#10045) 2021-01-12 20:37:05 +08:00
fisker Cheung 181a325c1c Enable unicorn/explicit-length-check (#9975) 2021-01-04 10:11:57 +08:00
fisker CheungandGeorgii Dolzhykov 9d9c0e2b6f Add Doc[] as Doc (#9733)
Co-authored-by: Georgii Dolzhykov <thorn.mailbox@gmail.com>
2021-01-04 10:04:30 +08:00
fisker Cheung f0f18d3090 Enable unicorn/prefer-number-properties (#9935) 2020-12-21 17:09:20 +08:00
fisker Cheung 125492818c printDocToString: Don't check existance before replacing newLine (#9775) 2020-11-25 22:03:34 +08:00
Dang Mai 9d06174d55 Fix #9702 - Flush line suffix contents at the end of document (#9703)
* Failing test case for flushing line-suffix contents

* Flush remaining line-suffix contents at the end of document
2020-11-18 12:58:46 +02:00
fisker Cheung 6ae716cd69 Rewrite a deep nested ternary makeAlign (#8931)
* Rewrite a deep nested ternary `makeAlign`

* Rename `ind`
2020-08-10 00:07:24 +08:00
fisker Cheung f0207e6850 Enable unicorn/better-regex (#7991)
* Enable `unicorn/better-regex`

* Spellcheck ignore regex
2020-04-10 21:20:40 +08:00
Sidharth Vinod 04e4ef3758 Uniform line endings for multi line strings/comments (#7891) 2020-04-05 13:51:29 +03:00
Georgii Dolzhykov 9dad95b35f Bump Prettier dependency to 2.0.0 2020-03-21 22:09:54 +02:00
Shinigami 59e15ec744 Use spread syntax (convert to es2015) (#6317) 2020-02-25 03:05:49 +02:00
Georgii Dolzhykov 37a7e9cd42 Merge branch 'master' into next 2020-01-22 14:55:22 +02:00
James George f93a763f8c chore(doc-printer): Fixed minor typo (#7347) 2020-01-20 20:56:57 +02:00
fisker Cheung 278efbe104 Fix prefer-object-spread in src/document (#7353) 2020-01-19 00:57:54 +02:00
fisker Cheung 4abd19ae14 Use array destructuring for some simple case (#7330)
* Use array destructuring for some simple case

* Revert [0]
2020-01-15 19:24:52 +02:00
Georgii Dolzhykov 7e3c0c73b3 Merge branch 'master' into next 2020-01-14 20:36:21 +02:00
fisker Cheung c68d6e3c2b Move doc directory to document (#7272) 2020-01-14 13:58:42 +03:00