Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ef47fb4
commit 7511a51
Showing
1 changed file
with
14 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# ChunkyPNG uses and enforces standard.rb as code style (see https://github.com/testdouble/standard). | ||
# For backwards compatilibity and idiosyncratic preferences of the main author, | ||
# there are some minor differences listed in here. | ||
|
||
ignore: | ||
- lib/chunky_png/**/*.rb: | ||
# We allow `for` loops in the codebase, especially in hot paths, | ||
# because they perform better than `each` blocks. | ||
- "Style/For" | ||
|
||
- spec/chunky_png/**/*.rb: | ||
# In RSpec, having to follow this rule will cause expectations to | ||
# be less readable, specifically blocks for the `change` matcher. | ||
- "Lint/AmbiguousBlockAssociation" |