Skip to content

Commit

Permalink
Include standardrb's config in rubocop.yml (#66)
Browse files Browse the repository at this point in the history
* Include standardrb's config in rubocop.yml

* Update changelog

* Fix offenses in bin files

* Revert formatter changes
  • Loading branch information
arielj authored Oct 10, 2023
1 parent 3ecffb9 commit afab984
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 74 deletions.
6 changes: 5 additions & 1 deletion .rubocop.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
inherit_from: .rubocop_todo.yml
require:
- standard

inherit_gem:
standard: config/base.yml

AllCops:
NewCops: disable
59 changes: 0 additions & 59 deletions .rubocop_todo.yml

This file was deleted.

19 changes: 10 additions & 9 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# main [(unreleased)](https://github.com/fastruby/dotenv_validator/compare/v1.3.0...main)

* [FEATURE: Support defining validations in the .env.template file](https://github.com/fastruby/dotenv_validator/pull/65)
* [DX: Use Standardrb's config for RuboCop](https://github.com/fastruby/dotenv_validator/pull/66)

# v1.3.0 /2023-01-03 [(commits)](https://github.com/fastruby/dotenv_validator/compare/v1.2.0...v1.3.0)

Expand All @@ -14,16 +15,16 @@
* [FEATURE: Add boolean format](https://github.com/fastruby/dotenv_validator/pull/38)

# v1.1.0 /2021-09-14 [(commits)](https://github.com/fastruby/dotenv_validator/compare/v1.0.0...v1.1.0)
- [Implement overcommit + styleguide](https://github.com/fastruby/dotenv_validator/pull/18)
- [Add sponsorship section and logo to the README](https://github.com/fastruby/dotenv_validator/pull/19)
- [BUGFIX: Make sure that we properly calculate the root for the sample file](https://github.com/fastruby/dotenv_validator/pull/22)
- [BUGFIX: Added CHANGELOG doc](https://github.com/fastruby/dotenv_validator/pull/26)
- [BUGFIX: Fix string format validation](https://github.com/fastruby/dotenv_validator/pull/29)
- [Namespace the version file on the file system](https://github.com/fastruby/dotenv_validator/pull/30)
- [BUGFIX: Explicitly require "pathname" from the stdlib](https://github.com/fastruby/dotenv_validator/pull/31)
- [BUGFIX: Drop dependency on dotenv](https://github.com/fastruby/dotenv_validator/pull/32)

* [Implement overcommit + styleguide](https://github.com/fastruby/dotenv_validator/pull/18)
* [Add sponsorship section and logo to the README](https://github.com/fastruby/dotenv_validator/pull/19)
* [BUGFIX: Make sure that we properly calculate the root for the sample file](https://github.com/fastruby/dotenv_validator/pull/22)
* [BUGFIX: Added CHANGELOG doc](https://github.com/fastruby/dotenv_validator/pull/26)
* [BUGFIX: Fix string format validation](https://github.com/fastruby/dotenv_validator/pull/29)
* [Namespace the version file on the file system](https://github.com/fastruby/dotenv_validator/pull/30)
* [BUGFIX: Explicitly require "pathname" from the stdlib](https://github.com/fastruby/dotenv_validator/pull/31)
* [BUGFIX: Drop dependency on dotenv](https://github.com/fastruby/dotenv_validator/pull/32)

# v1.0.0 / 2021-07-29 [(commits)](https://github.com/fastruby/dotenv_validator/tree/v1.0.0)

* Official Release

6 changes: 3 additions & 3 deletions bin/console
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env ruby

require 'bundler/setup'
require 'dotenv_validator'
require "bundler/setup"
require "dotenv_validator"

require 'irb'
require "irb"
IRB.start(__FILE__)
4 changes: 2 additions & 2 deletions bin/setup
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env ruby

system('bundle')
system('overcommit --install')
system("bundle")
system("overcommit --install")

0 comments on commit afab984

Please sign in to comment.