Files
test-repo/tests/quote_props/classes.js
T
Lucas Azzola f526c47b1e Add an option to modify when Prettier quotes object properties (#5934)
* Implement quote-props=preserve

* Implement quote-props=consistent

* Add tests

* Enable quoteProps in playground

* Add documentation

* Cache objectHasStringProp calculations

* Fixup changelog
2019-03-06 20:33:08 +11:00

18 lines
130 B
JavaScript

class A {
a = "a"
};
class B {
'b' = "b"
};
class C {
c1 = "c1"
'c2' = "c2"
};
class D {
d1 = "d1"
'd-2' = "d2"
};