oxc/tasks/prettier_conformance
Boshen 7d9d04c569
refactor(prettier): align line with prettier (#1559)
This PR alines all the line types with prettier

```
const hardlineWithoutBreakParent = { type: DOC_TYPE_LINE, hard: true };
const literallineWithoutBreakParent = {
  type: DOC_TYPE_LINE,
  hard: true,
  literal: true,
};


const line = { type: DOC_TYPE_LINE };
const softline = { type: DOC_TYPE_LINE, soft: true };
const hardline = [hardlineWithoutBreakParent, breakParent];
const literalline = [literallineWithoutBreakParent, breakParent];
```

101598f94f/src/document/builders.js (L165-L175)
2023-11-27 23:11:53 +08:00
..
prettier@3478719cc0 feat(prettier_conformance): add prettier test runner (#1262) 2023-11-13 20:14:35 +08:00
src chore(prettier_conformance): ignore bind-expressions (#1535) 2023-11-24 20:26:27 +08:00
Cargo.toml refactor(rust): move to workspace lint table (#1444) 2023-11-20 14:38:10 +08:00
prettier.snap.md refactor(prettier): align line with prettier (#1559) 2023-11-27 23:11:53 +08:00
README.md fix(tasks/prettier_conformance): fix incorrect casing in README (#1295) 2023-11-14 13:41:48 +08:00

Prettier Conformance

Run

just watch "run -p oxc_prettier_conformance"