Commit Graph

3 Commits

Author SHA1 Message Date
Aaron Shafovaloff bf5e4fbad2 Use trailing commas where valid in ES5
This will (long-term) reduce noise in out git diffs.

flag=none

Test plan:
  - Automated tests pass

Change-Id: Ie2f52c253e3be005c05bd9c13df7f0536d721089
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/301728
Reviewed-by: Isaac Moore <isaac.moore@instructure.com>
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
QA-Review: Aaron Shafovaloff <ashafovaloff@instructure.com>
Product-Review: Cameron Ray <cameron.ray@instructure.com>
2022-09-23 19:05:01 +00:00
Michael Brewer-Davis 500954bb68 restore prettier rules to match pre-2.0 defaults
Change-Id: I8078161303b1e88934972b65a7aaff2ef16707e1
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/258429
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Brian Watson <bwatson@instructure.com>
Reviewed-by: Aaron Shafovaloff <ashafovaloff@instructure.com>
Reviewed-by: Rob Orton <rob@instructure.com>
QA-Review: Michael Brewer-Davis <mbd@instructure.com>
Product-Review: Michael Brewer-Davis <mbd@instructure.com>
2021-02-09 17:03:14 +00:00
Ryan Shaw 87ca029f20 Add .prettierrc so it matches our existing code
This is so that people that are using prettier to
Auto format their code output code that matches
all of our existing code. It will not affect
Anyone that is not using prettier

Test plan:
* run prettier on a file, it should work

Change-Id: Ia396a5ab8953180f0b1b274d50190d0f943a2610
Reviewed-on: https://gerrit.instructure.com/131772
Reviewed-by: Dan Minkevitch <dan@instructure.com>
Tested-by: Jenkins
Product-Review: Ryan Shaw <ryan@instructure.com>
QA-Review: Ryan Shaw <ryan@instructure.com>
2017-11-03 16:21:50 +00:00