Skip to content

Commit 4c2d507

Browse files
authored
v0.2.1 release (#6)
1 parent 0b29946 commit 4c2d507

3 files changed

Lines changed: 7 additions & 3 deletions

File tree

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog
22

3+
## v0.2.1
4+
5+
* Adds special case for `bytes` and `binary` options. Size should be specified before these types.
6+
37
## v0.2.0
48

59
* Improve AST parser logic to handle 2, 3, and 4 element patterns.

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Add the `:credo_binary_patterns` package to your `mix.exs` dependencies:
1414
```elixir
1515
def deps do
1616
[
17-
{:credo_binary_patterns, "~> 0.2.0", only: [:dev, :test], runtime: false}
17+
{:credo_binary_patterns, "~> 0.2.1", only: [:dev, :test], runtime: false}
1818
]
1919
end
2020
```
@@ -28,7 +28,7 @@ Add the check to your `.credo.exs` configuration file.
2828
This check will raise issues if any binary patterns in your code do not follow the expected ordering or formatting.
2929

3030
```elixir
31-
{CredoBinaryPatterns.Check.Consistency.Patterns}
31+
{CredoBinaryPatterns.Check.Consistency.Pattern}
3232
```
3333

3434
## Conventions

mix.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
defmodule CredoBinaryPatterns.MixProject do
22
use Mix.Project
33

4-
@version "0.2.0"
4+
@version "0.2.1"
55
@source_url "https://github.com/smartrent/credo_binary_patterns"
66

77
def project do

0 commit comments

Comments
 (0)