Skip to content

Commit

Permalink
Update rubocop config
Browse files Browse the repository at this point in the history
  • Loading branch information
hahwul committed Oct 29, 2023
1 parent ccb5e35 commit 5d48020
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,7 @@ jobs:
- uses: actions/checkout@v1
- name: RuboCop Linter
uses: andrewmcodes/rubocop-linter-action@v3.3.0
with:
action_config_path: ".rubocop.yml"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
10 changes: 10 additions & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# The behavior of RuboCop can be controlled via the .rubocop.yml
# configuration file. It makes it possible to enable/disable
# certain cops (checks) and to alter their behavior if they accept
# any parameters. The file can be placed either in your home
# directory or in some project directory.
#
# RuboCop will start looking for the configuration file in the directory
# where the inspected file is and continue its way up to the root directory.
#
# See https://docs.rubocop.org/rubocop/configuration

0 comments on commit 5d48020

Please sign in to comment.