Skip to content

Commit

Permalink
feat(#297): add RULES.md doc
Browse files Browse the repository at this point in the history
  • Loading branch information
Milán Bór authored and Milán Bór committed Sep 10, 2024
1 parent c45581e commit 3aef3ee
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
1 change: 1 addition & 0 deletions RULES.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ identified with `(since ...)` for convenience purposes.
- [State Record and Type](doc_rules/elvis_style/state_record_and_type.md)
- [Used Ignored Variable](doc_rules/elvis_style/used_ignored_variable.md)
- [Variable Naming Convention](doc_rules/elvis_style/variable_naming_convention.md)
- [Prefer Unquoted Atoms](doc_rules/elvis_style/prefer_unquoted_atoms.md)

## Project rules

Expand Down
15 changes: 15 additions & 0 deletions doc_rules/elvis_style/prefer_unquoted_atoms.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Prefer unquoted atoms

Do not use quotes on atoms that are not need it.

> Works on `.beam` file? No.
## Options

- None.

## Example

```erlang
{elvis_style, prefer_unquoted_atoms, #{}}
```

0 comments on commit 3aef3ee

Please sign in to comment.