-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add forbidden regex * fix line length in md * fix error message * add forbidden for enclosed ones too * Update doc_rules/elvis_style/atom_naming_convention.md Co-authored-by: Brujo Benavides <[email protected]> * Update src/elvis_style.erl Co-authored-by: Brujo Benavides <[email protected]> * test for same * fix markdown * fix markdown * Update src/elvis_style.erl Co-authored-by: Brujo Benavides <[email protected]> * refactor andalso * add same to the doc * Update doc_rules/elvis_style/atom_naming_convention.md Co-authored-by: Paulo F. Oliveira <[email protected]> * Update doc_rules/elvis_style/function_naming_convention.md Co-authored-by: Paulo F. Oliveira <[email protected]> * Update doc_rules/elvis_style/module_naming_convention.md Co-authored-by: Paulo F. Oliveira <[email protected]> * Update doc_rules/elvis_style/variable_naming_convention.md Co-authored-by: Paulo F. Oliveira <[email protected]> * fix regexes * change messages --------- Co-authored-by: Brujo Benavides <[email protected]> Co-authored-by: Paulo F. Oliveira <[email protected]>
- Loading branch information
1 parent
e81a9d5
commit ecc035a
Showing
10 changed files
with
281 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
-module(forbidden_atom_naming_convention). | ||
|
||
-export([for_test/0]). | ||
|
||
for_test() -> | ||
this_is_an_ok_atom, | ||
'and_so_is_this', | ||
'and_this_1_too', | ||
non_200, | ||
'_', % used by ets/mnesia/etc. | ||
non200, % valid, even without underscores | ||
valid_200even_if_numb3rs_appear_between_letters, | ||
blahblah_SUITE, | ||
x. |
Oops, something went wrong.