mirror of https://github.com/Evolix/chexpire.git
Improve rubocop (#28)
Add good settings for Rubocop from DNSimple blog : https://blog.dnsimple.com/2018/06/quick-tips-for-practical-rubocop-workflow/ Add Rubocop command in INSTALL.md
This commit is contained in:
parent
c2f561f2ea
commit
2530264708
|
@ -1,4 +1,7 @@
|
|||
AllCops:
|
||||
DisplayCopNames: true
|
||||
DisplayStyleGuide: true
|
||||
ExtraDetails: false
|
||||
TargetRubyVersion: 2.5
|
||||
Exclude:
|
||||
- 'node_modules/**/*'
|
||||
|
@ -29,7 +32,6 @@ Metrics/BlockLength:
|
|||
Exclude:
|
||||
- lib/tasks/**/*
|
||||
|
||||
|
||||
AsciiComments:
|
||||
Enabled: false
|
||||
|
||||
|
|
|
@ -72,6 +72,8 @@ This will also generate a code coverage report in `coverage/index.html`.
|
|||
|
||||
With `# bundle exec guard` your test suite is run completely a first time, then once for each file you change and save. Take a look at https://guardgem.org for more information.
|
||||
|
||||
To execute Rubocop (the style-guide linter for Ruby), run `# bundle exec rubocop`.
|
||||
|
||||
## Local execution
|
||||
|
||||
If you want to start the Rails application manually, with a simple Puma configuration, you have to execute `# bundle exec rails server`. You will be able to open http://127.0.0.1:3000 in your browser and see Chexpire in action.
|
||||
|
|
Loading…
Reference in New Issue