c240f3a6b3
* feat: add skip_macro_names option * [review] update configuration documentation * [review] fix docstring * [feat] implement wildcard macro invocation skip * commit missed files * [review] test override skip macro names * [review] skip_macro_names -> skip_macro_invocations * [review] expand doc configuration * [review] add lots more tests * [review] add use alias test examples * [review] add link to standard macro behaviour
17 lines
251 B
Rust
17 lines
251 B
Rust
// rustfmt-skip_macro_invocations: ["foo","bar"]
|
|
|
|
// Should skip this invocation
|
|
foo!(
|
|
const _: u8 = 0;
|
|
);
|
|
|
|
// Should skip this invocation
|
|
bar!(
|
|
const _: u8 = 0;
|
|
);
|
|
|
|
// Should not skip this invocation
|
|
baz!(
|
|
const _: u8 = 0;
|
|
);
|