Skip to content

Commit

Permalink
Update doc_rules/elvis_style/atom_naming_convention.md
Browse files Browse the repository at this point in the history
Co-authored-by: Paulo F. Oliveira <[email protected]>
  • Loading branch information
bormilan and paulo-ferraz-oliveira authored Dec 9, 2024
1 parent 1802540 commit d3d9c0b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc_rules/elvis_style/atom_naming_convention.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

(since [1.0.0](https://github.com/inaka/elvis_core/releases/tag/1.0.0))

All atoms should be named according to the regular expression provided.
Except if it matches with a defined `forbidden_regex`.
All atoms should be named according to the provided regular expression,
except if they match with a defined `forbidden_regex`.
Atoms enclosed in apostrophes have special meaning and are thus handled
by a different configuration option (use `same` if you want the same value as `regex`).
To define forbidden enclosed atoms (like the ones in `forbidden_regex` apply for `regex`),
Expand Down

0 comments on commit d3d9c0b

Please sign in to comment.