Skip to content

Commit 3134b41

Browse files
committed
Add a path agnostic requirement to the formatter spec
This is an alternative to implementing a stdin sepcification (#573).
1 parent b007d53 commit 3134b41

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

docs/site/reference/formatter-spec.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,3 +68,8 @@ outputs.
6868
### 5. Reliable
6969

7070
We expect the formatter to be reliable and not break the semantics of the formatted files.
71+
72+
### 6. Path agnostic
73+
74+
The formatter **MUST** be path agnostic (formatting **MUST NOT** depend on the
75+
path of the file being formatted).

0 commit comments

Comments
 (0)