mirror of
https://github.com/Evolix/chexpire.git
synced 2024-05-03 17:25:09 +02:00
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:
|
AllCops:
|
||||||
|
DisplayCopNames: true
|
||||||
|
DisplayStyleGuide: true
|
||||||
|
ExtraDetails: false
|
||||||
TargetRubyVersion: 2.5
|
TargetRubyVersion: 2.5
|
||||||
Exclude:
|
Exclude:
|
||||||
- 'node_modules/**/*'
|
- 'node_modules/**/*'
|
||||||
|
@ -29,7 +32,6 @@ Metrics/BlockLength:
|
||||||
Exclude:
|
Exclude:
|
||||||
- lib/tasks/**/*
|
- lib/tasks/**/*
|
||||||
|
|
||||||
|
|
||||||
AsciiComments:
|
AsciiComments:
|
||||||
Enabled: false
|
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.
|
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
|
## 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.
|
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 a new issue