Skip to content

Commit ac2625d

Browse files
committed
Update formatter.md
1 parent c3e87fb commit ac2625d

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

src/docs/guide/usage/formatter.md

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -128,16 +128,23 @@ Also you can specify your ignore file by `--ignore-path your.ignore` flag.
128128

129129
VCS directories like `.git` and `.svn` are always ignored. Also global and nested ignores are not respected.
130130

131+
In addition, `.oxfmtrc.json(c)` also supports `ignorePatterns` field.
132+
131133
## Notable limitations
132134

133135
These will (or will not) be implemented in the future.
134136

135137
- Only JS and TS files are supported
136-
- Embedded parts like css-in-js are partially supported
138+
- Embedded parts like css-in-js are partially supported, but disabled by default
137139
- Stdin and stdout are not supported
138-
- Configuration is not supported for
140+
- You need `oxc_language_server` via `oxlint` to get editor support for now
141+
- Configuration NOT supported for:
139142
- `prettier` field in `package.json`
140-
- Extensions other than `.json(c)`
143+
- File formats other than `.json(c)`
144+
- Nested configs in sub directories
145+
- Respect `.editorconfig`
146+
- Inline CLI flags like `--no-semi`
147+
- `experimentalTernaries` option
141148
- Globs in positional paths are not expanded
142149
- But it works in `!` prefixed exclude paths
143150
- Plugins are not supported

0 commit comments

Comments
 (0)