Skip to content

Commit

Permalink
Update config
Browse files Browse the repository at this point in the history
  • Loading branch information
sue445 committed Jan 3, 2022
1 parent 42e7f4b commit 1a0d123
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 11 deletions.
6 changes: 3 additions & 3 deletions config/default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,6 @@ Isucon/Sinatra/DisableLogging:
VersionAdded: '0.1.0'

Isucon/Sinatra/ServeStaticFile:
Description: 'TODO: Write a description of the cop.'
Enabled: pending
VersionAdded: '<<next>>'
Description: 'Serve static files on front server (e.g. nginx)'
Enabled: true
VersionAdded: '0.1.0'
9 changes: 1 addition & 8 deletions lib/rubocop/cop/isucon/sinatra/serve_static_file.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,7 @@ module RuboCop
module Cop
module Isucon
module Sinatra
# TODO: Write cop description and example of bad / good code. For every
# `SupportedStyle` and unique configuration, there needs to be examples.
# Examples must have valid Ruby syntax. Do not use upticks.
#
# @safety
# Delete this section if the cop is not unsafe (`Safe: false` or
# `SafeAutoCorrect: false`), or use it to explain how the cop is
# unsafe.
# Serve static files on front server (e.g. nginx)
#
# @example EnforcedStyle: bar (default)
# # Description of the `bar` style.
Expand Down

0 comments on commit 1a0d123

Please sign in to comment.