Prettier 1.14.3
Playground link
Input:
Below code with uncorrectted indent
const a = {
a() {
this.name ||= 'haha'
}
}
Output:
const a = {
a() {
this.name ||= 'haha'
}
}
Expected behavior:
expected format the correct indent
const a = {
a() {
this.name ||= 'haha'
}
}
Prettier 1.14.3
Playground link
Input:
Below code with uncorrectted indent
Output:
Expected behavior:
expected format the correct indent