This repository has been archived by the owner on Aug 10, 2021. It is now read-only.
forked from pero-ict-solutions/spree-static-content
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
12 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,21 @@ | ||
--- | ||
# Too picky. | ||
LineLength: | ||
Metrics/LineLength: | ||
Enabled: false | ||
|
||
# This should truly be on for well documented gems. | ||
Documentation: | ||
Style/Documentation: | ||
Enabled: false | ||
|
||
# Neatly aligned code is to swell. | ||
SingleSpaceBeforeFirstArg: | ||
Style/SingleSpaceBeforeFirstArg: | ||
Enabled: false | ||
|
||
# Don't mess with RSpec DSL. | ||
Blocks: | ||
Style/BlockDelimiters: | ||
Exclude: | ||
- 'spec/**/*' | ||
|
||
# Avoid contradictory style rules by enforce single quotes. | ||
StringLiterals: | ||
Style/StringLiterals: | ||
EnforcedStyle: single_quotes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
Deface::Override.new(:virtual_path => "spree/shared/_main_nav_bar", | ||
:name => "pages_in_header", | ||
:insert_bottom => "#main-nav-bar > ul:first-child", | ||
:partial => "spree/static_content/static_content_header", | ||
:disabled => false) | ||
Deface::Override.new( | ||
virtual_path: 'spree/shared/_main_nav_bar', | ||
name: 'pages_in_header', | ||
insert_bottom: '#main-nav-bar > ul:first-child', | ||
partial: 'spree/static_content/static_content_header' | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters