chr 0.5.1 → 0.5.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.coffeescript-style.json +98 -0
- data/.hound.yml +16 -0
- data/.ruby-style.yml +239 -0
- data/.scss-style.yml +145 -0
- data/.travis.yml +2 -2
- data/README.md +10 -3
- data/app/assets/javascripts/chr/chr.coffee +4 -25
- data/app/assets/javascripts/chr/chr_router.coffee +2 -14
- data/app/assets/javascripts/chr/item.coffee +2 -19
- data/app/assets/javascripts/chr/list.coffee +6 -18
- data/app/assets/javascripts/chr/list_config.coffee +3 -10
- data/app/assets/javascripts/chr/list_pagination.coffee +1 -9
- data/app/assets/javascripts/chr/list_reorder.coffee +1 -8
- data/app/assets/javascripts/chr/list_search.coffee +2 -10
- data/app/assets/javascripts/chr/list_tabs.coffee +42 -0
- data/app/assets/javascripts/chr/module-categories.coffee +0 -2
- data/app/assets/javascripts/chr/module.coffee +1 -19
- data/app/assets/javascripts/chr/utils.coffee +0 -6
- data/app/assets/javascripts/chr/view.coffee +37 -36
- data/app/assets/javascripts/chr/view_tabs.coffee +19 -8
- data/app/assets/javascripts/stores/rest-array.coffee +23 -36
- data/app/assets/stylesheets/chr/layout.scss +17 -13
- data/app/assets/stylesheets/chr/themes/basic.scss +13 -13
- data/lib/chr/version.rb +1 -1
- data/templates/character_admin.coffee.erb +1 -1
- data/test/integration/article_fullsize_test.rb +5 -5
- data/test/integration/article_test.rb +2 -2
- data/test/integration/magazine_article_test.rb +5 -5
- data/test/integration/restricted_article_test.rb +3 -3
- data/test/integration/sport_article_test.rb +2 -2
- data/test/rails_app/.gitignore +15 -0
- data/test/rails_app/.ruby-version +1 -0
- data/test/rails_app/.sample.env +6 -0
- data/test/rails_app/Procfile +1 -0
- data/test/rails_app/README.md +45 -0
- data/test/rails_app/Rakefile +1 -1
- data/test/rails_app/app/assets/images/.keep +0 -0
- data/test/rails_app/app/assets/javascripts/admin.coffee +82 -102
- data/test/rails_app/app/assets/javascripts/application.coffee +2 -0
- data/test/rails_app/app/assets/stylesheets/admin.scss +4 -1
- data/test/rails_app/app/assets/stylesheets/application.scss +1 -0
- data/test/rails_app/app/controllers/admin/base_controller.rb +5 -0
- data/test/rails_app/app/controllers/admin/devise_overrides/passwords_controller.rb +9 -0
- data/test/rails_app/app/controllers/admin/devise_overrides/sessions_controller.rb +11 -0
- data/test/rails_app/app/controllers/concerns/.keep +0 -0
- data/test/rails_app/app/helpers/body_class_helper.rb +15 -0
- data/test/rails_app/app/mailers/.keep +0 -0
- data/test/rails_app/app/models/.keep +0 -0
- data/test/rails_app/app/models/article.rb +0 -4
- data/test/rails_app/app/models/concerns/.keep +0 -0
- data/test/rails_app/app/uploaders/article_image_uploader.rb +0 -4
- data/test/rails_app/app/views/admin/devise_overrides/passwords/edit.html.erb +31 -0
- data/test/rails_app/app/views/admin/devise_overrides/passwords/new.html.erb +19 -0
- data/test/rails_app/app/views/admin/devise_overrides/sessions/new.html.erb +29 -0
- data/test/rails_app/app/views/admin/index.html.erb +1 -3
- data/test/rails_app/app/views/application/_analytics.html.erb +9 -0
- data/test/rails_app/app/views/application/_flashes.html.erb +7 -0
- data/test/rails_app/app/views/application/_javascript.html.erb +12 -0
- data/test/rails_app/app/views/layouts/admin.html.erb +13 -11
- data/test/rails_app/app/views/layouts/application.html.erb +22 -7
- data/test/rails_app/bin/rails +3 -2
- data/test/rails_app/bin/rake +3 -2
- data/test/rails_app/bin/setup +28 -22
- data/test/rails_app/bin/spring +6 -6
- data/test/rails_app/config/application.rb +12 -1
- data/test/rails_app/config/boot.rb +1 -2
- data/test/rails_app/config/environments/development.rb +2 -0
- data/test/rails_app/config/environments/production.rb +16 -1
- data/test/rails_app/config/environments/staging.rb +9 -0
- data/test/rails_app/config/environments/test.rb +1 -3
- data/test/rails_app/config/initializers/assets.rb +2 -3
- data/test/rails_app/config/initializers/carrierwave.rb +23 -4
- data/test/rails_app/config/initializers/devise.rb +265 -0
- data/test/rails_app/config/initializers/errors.rb +34 -0
- data/test/rails_app/config/initializers/json_encoding.rb +1 -0
- data/test/rails_app/config/locales/devise.en.yml +62 -0
- data/test/rails_app/config/mongoid.yml +131 -8
- data/test/rails_app/config/newrelic.yml +34 -0
- data/test/rails_app/config/puma.rb +18 -0
- data/test/rails_app/config/routes.rb +86 -0
- data/test/rails_app/config/secrets.yml +8 -16
- data/test/rails_app/config/smtp.rb +9 -0
- data/test/rails_app/lib/assets/.keep +0 -0
- data/test/rails_app/lib/tasks/.keep +0 -0
- data/test/rails_app/lib/tasks/bundler_audit.rake +12 -0
- data/test/rails_app/lib/tasks/dev.rake +12 -0
- data/test/rails_app/public/404.html +4 -2
- data/test/rails_app/public/422.html +4 -2
- data/test/rails_app/public/500.html +4 -2
- data/test/rails_app/vendor/assets/javascripts/.keep +0 -0
- data/test/rails_app/vendor/assets/stylesheets/.keep +0 -0
- data/test/support/character_front_end.rb +10 -9
- data/test/support/chr/list_pagination.rb +8 -8
- data/test/support/chr/list_reorder.rb +4 -1
- data/test/support/chr/view.rb +4 -3
- data/test/support/stores/rest-array.rb +3 -3
- data/test/test_helper.rb +13 -7
- metadata +77 -6
- data/test/rails_app/app/assets/javascripts/application.js +0 -1
- data/test/rails_app/app/assets/stylesheets/application.css +0 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 24340247f7ec1570b1e418eb54b9718bcb41cfbc
|
4
|
+
data.tar.gz: df21a18e1f7d76eb496495d2046795e6357ec27d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d59631b9ac7c797bb60b8e7bb53f40491297b39cddc5c2afbe62fb42b8dd77dd1b86dd5039fcec672f6bddd0e74c3ef9b38446dd52f3f89f95ad990f5d191506
|
7
|
+
data.tar.gz: e4c45e6ccc4699a817fae7975c5e7f143b7fea37f9ea4408db1002127e9108c866f6cbe16bd2d192d1937d369c26f1a3f8ab6501a5224041bf07758415ca1397
|
@@ -0,0 +1,98 @@
|
|
1
|
+
{
|
2
|
+
"arrow_spacing": {
|
3
|
+
"level": "error"
|
4
|
+
},
|
5
|
+
"camel_case_classes": {
|
6
|
+
"level": "error"
|
7
|
+
},
|
8
|
+
"coffeescript_error": {
|
9
|
+
"level": "error"
|
10
|
+
},
|
11
|
+
"colon_assignment_spacing": {
|
12
|
+
"level": "error",
|
13
|
+
"spacing": {
|
14
|
+
"left": 0,
|
15
|
+
"right": 1
|
16
|
+
}
|
17
|
+
},
|
18
|
+
"cyclomatic_complexity": {
|
19
|
+
"level": "ignore",
|
20
|
+
"value": 10
|
21
|
+
},
|
22
|
+
"duplicate_key": {
|
23
|
+
"level": "error"
|
24
|
+
},
|
25
|
+
"empty_constructor_needs_parens": {
|
26
|
+
"level": "ignore"
|
27
|
+
},
|
28
|
+
"indentation": {
|
29
|
+
"level": "error",
|
30
|
+
"value": 2
|
31
|
+
},
|
32
|
+
"line_endings": {
|
33
|
+
"level": "ignore",
|
34
|
+
"value": "unix"
|
35
|
+
},
|
36
|
+
"max_line_length": {
|
37
|
+
"level": "error",
|
38
|
+
"value": 80
|
39
|
+
},
|
40
|
+
"missing_fat_arrows": {
|
41
|
+
"level": "ignore"
|
42
|
+
},
|
43
|
+
"newlines_after_classes": {
|
44
|
+
"level": "error",
|
45
|
+
"value": 1
|
46
|
+
},
|
47
|
+
"no_backticks": {
|
48
|
+
"level": "ignore"
|
49
|
+
},
|
50
|
+
"no_debugger": {
|
51
|
+
"level": "error"
|
52
|
+
},
|
53
|
+
"no_empty_functions": {
|
54
|
+
"level": "error"
|
55
|
+
},
|
56
|
+
"no_empty_param_list": {
|
57
|
+
"level": "error"
|
58
|
+
},
|
59
|
+
"no_implicit_braces": {
|
60
|
+
"level": "ignore"
|
61
|
+
},
|
62
|
+
"no_implicit_parens": {
|
63
|
+
"level": "ignore"
|
64
|
+
},
|
65
|
+
"no_interpolation_in_single_quotes": {
|
66
|
+
"level": "error"
|
67
|
+
},
|
68
|
+
"no_plusplus": {
|
69
|
+
"level": "ignore"
|
70
|
+
},
|
71
|
+
"no_stand_alone_at": {
|
72
|
+
"level": "error"
|
73
|
+
},
|
74
|
+
"no_tabs": {
|
75
|
+
"level": "error"
|
76
|
+
},
|
77
|
+
"no_throwing_strings": {
|
78
|
+
"level": "error"
|
79
|
+
},
|
80
|
+
"no_trailing_semicolons": {
|
81
|
+
"level": "error"
|
82
|
+
},
|
83
|
+
"no_trailing_whitespace": {
|
84
|
+
"level": "error"
|
85
|
+
},
|
86
|
+
"no_unnecessary_double_quotes": {
|
87
|
+
"level": "ignore"
|
88
|
+
},
|
89
|
+
"no_unnecessary_fat_arrows": {
|
90
|
+
"level": "error"
|
91
|
+
},
|
92
|
+
"non_empty_constructor_needs_parens": {
|
93
|
+
"level": "ignore"
|
94
|
+
},
|
95
|
+
"space_operators": {
|
96
|
+
"level": "ignore"
|
97
|
+
}
|
98
|
+
}
|
data/.hound.yml
ADDED
@@ -0,0 +1,16 @@
|
|
1
|
+
scss:
|
2
|
+
config_file: .scss-style.yml
|
3
|
+
|
4
|
+
ruby:
|
5
|
+
config_file: .ruby-style.yml
|
6
|
+
|
7
|
+
# javascript:
|
8
|
+
# ignore_file: .javascript_ignore
|
9
|
+
|
10
|
+
javascript:
|
11
|
+
enabled: false
|
12
|
+
|
13
|
+
coffeescript:
|
14
|
+
config_file: .coffeescript-style.json
|
15
|
+
|
16
|
+
fail_on_violations: true
|
data/.ruby-style.yml
ADDED
@@ -0,0 +1,239 @@
|
|
1
|
+
AllCops:
|
2
|
+
Exclude:
|
3
|
+
- "vendor/**/*"
|
4
|
+
- "db/schema.rb"
|
5
|
+
UseCache: false
|
6
|
+
Style/CollectionMethods:
|
7
|
+
Description: Preferred collection methods.
|
8
|
+
StyleGuide: https://github.com/bbatsov/ruby-style-guide#map-find-select-reduce-size
|
9
|
+
Enabled: true
|
10
|
+
PreferredMethods:
|
11
|
+
collect: map
|
12
|
+
collect!: map!
|
13
|
+
find: detect
|
14
|
+
find_all: select
|
15
|
+
reduce: inject
|
16
|
+
Style/DotPosition:
|
17
|
+
Description: Checks the position of the dot in multi-line method calls.
|
18
|
+
StyleGuide: https://github.com/bbatsov/ruby-style-guide#consistent-multi-line-chains
|
19
|
+
Enabled: true
|
20
|
+
EnforcedStyle: trailing
|
21
|
+
SupportedStyles:
|
22
|
+
- leading
|
23
|
+
- trailing
|
24
|
+
Style/FileName:
|
25
|
+
Description: Use snake_case for source file names.
|
26
|
+
StyleGuide: https://github.com/bbatsov/ruby-style-guide#snake-case-files
|
27
|
+
Enabled: false
|
28
|
+
Exclude: []
|
29
|
+
Style/GuardClause:
|
30
|
+
Description: Check for conditionals that can be replaced with guard clauses
|
31
|
+
StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-nested-conditionals
|
32
|
+
Enabled: false
|
33
|
+
MinBodyLength: 1
|
34
|
+
Style/IfUnlessModifier:
|
35
|
+
Description: Favor modifier if/unless usage when you have a single-line body.
|
36
|
+
StyleGuide: https://github.com/bbatsov/ruby-style-guide#if-as-a-modifier
|
37
|
+
Enabled: false
|
38
|
+
MaxLineLength: 80
|
39
|
+
Style/OptionHash:
|
40
|
+
Description: Don't use option hashes when you can use keyword arguments.
|
41
|
+
Enabled: false
|
42
|
+
Style/PercentLiteralDelimiters:
|
43
|
+
Description: Use `%`-literal delimiters consistently
|
44
|
+
StyleGuide: https://github.com/bbatsov/ruby-style-guide#percent-literal-braces
|
45
|
+
Enabled: false
|
46
|
+
PreferredDelimiters:
|
47
|
+
"%": "()"
|
48
|
+
"%i": "()"
|
49
|
+
"%q": "()"
|
50
|
+
"%Q": "()"
|
51
|
+
"%r": "{}"
|
52
|
+
"%s": "()"
|
53
|
+
"%w": "()"
|
54
|
+
"%W": "()"
|
55
|
+
"%x": "()"
|
56
|
+
Style/PredicateName:
|
57
|
+
Description: Check the names of predicate methods.
|
58
|
+
StyleGuide: https://github.com/bbatsov/ruby-style-guide#bool-methods-qmark
|
59
|
+
Enabled: true
|
60
|
+
NamePrefix:
|
61
|
+
- is_
|
62
|
+
- has_
|
63
|
+
- have_
|
64
|
+
NamePrefixBlacklist:
|
65
|
+
- is_
|
66
|
+
Exclude:
|
67
|
+
- spec/**/*
|
68
|
+
Style/RaiseArgs:
|
69
|
+
Description: Checks the arguments passed to raise/fail.
|
70
|
+
StyleGuide: https://github.com/bbatsov/ruby-style-guide#exception-class-messages
|
71
|
+
Enabled: false
|
72
|
+
EnforcedStyle: exploded
|
73
|
+
SupportedStyles:
|
74
|
+
- compact
|
75
|
+
- exploded
|
76
|
+
Style/SignalException:
|
77
|
+
Description: Checks for proper usage of fail and raise.
|
78
|
+
StyleGuide: https://github.com/bbatsov/ruby-style-guide#fail-method
|
79
|
+
Enabled: false
|
80
|
+
EnforcedStyle: semantic
|
81
|
+
SupportedStyles:
|
82
|
+
- only_raise
|
83
|
+
- only_fail
|
84
|
+
- semantic
|
85
|
+
Style/SingleLineBlockParams:
|
86
|
+
Description: Enforces the names of some block params.
|
87
|
+
StyleGuide: https://github.com/bbatsov/ruby-style-guide#reduce-blocks
|
88
|
+
Enabled: false
|
89
|
+
Methods:
|
90
|
+
- reduce:
|
91
|
+
- a
|
92
|
+
- e
|
93
|
+
- inject:
|
94
|
+
- a
|
95
|
+
- e
|
96
|
+
Style/SingleLineMethods:
|
97
|
+
Description: Avoid single-line methods.
|
98
|
+
StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-single-line-methods
|
99
|
+
Enabled: false
|
100
|
+
AllowIfMethodIsEmpty: true
|
101
|
+
Style/StringLiterals:
|
102
|
+
Description: Checks if uses of quotes match the configured preference.
|
103
|
+
StyleGuide: https://github.com/bbatsov/ruby-style-guide#consistent-string-literals
|
104
|
+
Enabled: true
|
105
|
+
EnforcedStyle: double_quotes
|
106
|
+
SupportedStyles:
|
107
|
+
- single_quotes
|
108
|
+
- double_quotes
|
109
|
+
Style/StringLiteralsInInterpolation:
|
110
|
+
Description: Checks if uses of quotes inside expressions in interpolated strings
|
111
|
+
match the configured preference.
|
112
|
+
Enabled: true
|
113
|
+
EnforcedStyle: single_quotes
|
114
|
+
SupportedStyles:
|
115
|
+
- single_quotes
|
116
|
+
- double_quotes
|
117
|
+
Style/TrailingComma:
|
118
|
+
Description: Checks for trailing comma in parameter lists and literals.
|
119
|
+
StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-trailing-array-commas
|
120
|
+
Enabled: false
|
121
|
+
EnforcedStyleForMultiline: no_comma
|
122
|
+
SupportedStyles:
|
123
|
+
- comma
|
124
|
+
- no_comma
|
125
|
+
Metrics/AbcSize:
|
126
|
+
Description: A calculated magnitude based on number of assignments, branches, and
|
127
|
+
conditions.
|
128
|
+
Enabled: false
|
129
|
+
Max: 15
|
130
|
+
Metrics/ClassLength:
|
131
|
+
Description: Avoid classes longer than 100 lines of code.
|
132
|
+
Enabled: false
|
133
|
+
CountComments: false
|
134
|
+
Max: 100
|
135
|
+
Metrics/ModuleLength:
|
136
|
+
CountComments: false
|
137
|
+
Max: 100
|
138
|
+
Description: Avoid modules longer than 100 lines of code.
|
139
|
+
Enabled: false
|
140
|
+
Metrics/CyclomaticComplexity:
|
141
|
+
Description: A complexity metric that is strongly correlated to the number of test
|
142
|
+
cases needed to validate a method.
|
143
|
+
Enabled: false
|
144
|
+
Max: 6
|
145
|
+
Metrics/MethodLength:
|
146
|
+
Description: Avoid methods longer than 10 lines of code.
|
147
|
+
StyleGuide: https://github.com/bbatsov/ruby-style-guide#short-methods
|
148
|
+
Enabled: false
|
149
|
+
CountComments: false
|
150
|
+
Max: 10
|
151
|
+
Metrics/ParameterLists:
|
152
|
+
Description: Avoid parameter lists longer than three or four parameters.
|
153
|
+
StyleGuide: https://github.com/bbatsov/ruby-style-guide#too-many-params
|
154
|
+
Enabled: false
|
155
|
+
Max: 5
|
156
|
+
CountKeywordArgs: true
|
157
|
+
Metrics/PerceivedComplexity:
|
158
|
+
Description: A complexity metric geared towards measuring complexity for a human
|
159
|
+
reader.
|
160
|
+
Enabled: false
|
161
|
+
Max: 7
|
162
|
+
Lint/AssignmentInCondition:
|
163
|
+
Description: Don't use assignment in conditions.
|
164
|
+
StyleGuide: https://github.com/bbatsov/ruby-style-guide#safe-assignment-in-condition
|
165
|
+
Enabled: false
|
166
|
+
AllowSafeAssignment: true
|
167
|
+
Style/InlineComment:
|
168
|
+
Description: Avoid inline comments.
|
169
|
+
Enabled: false
|
170
|
+
Style/AccessorMethodName:
|
171
|
+
Description: Check the naming of accessor methods for get_/set_.
|
172
|
+
Enabled: false
|
173
|
+
Style/Alias:
|
174
|
+
Description: Use alias_method instead of alias.
|
175
|
+
StyleGuide: https://github.com/bbatsov/ruby-style-guide#alias-method
|
176
|
+
Enabled: false
|
177
|
+
Style/Documentation:
|
178
|
+
Description: Document classes and non-namespace modules.
|
179
|
+
Enabled: false
|
180
|
+
Style/DoubleNegation:
|
181
|
+
Description: Checks for uses of double negation (!!).
|
182
|
+
StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-bang-bang
|
183
|
+
Enabled: false
|
184
|
+
Style/EachWithObject:
|
185
|
+
Description: Prefer `each_with_object` over `inject` or `reduce`.
|
186
|
+
Enabled: false
|
187
|
+
Style/EmptyLiteral:
|
188
|
+
Description: Prefer literals to Array.new/Hash.new/String.new.
|
189
|
+
StyleGuide: https://github.com/bbatsov/ruby-style-guide#literal-array-hash
|
190
|
+
Enabled: false
|
191
|
+
Style/ModuleFunction:
|
192
|
+
Description: Checks for usage of `extend self` in modules.
|
193
|
+
StyleGuide: https://github.com/bbatsov/ruby-style-guide#module-function
|
194
|
+
Enabled: false
|
195
|
+
Style/OneLineConditional:
|
196
|
+
Description: Favor the ternary operator(?:) over if/then/else/end constructs.
|
197
|
+
StyleGuide: https://github.com/bbatsov/ruby-style-guide#ternary-operator
|
198
|
+
Enabled: false
|
199
|
+
Style/PerlBackrefs:
|
200
|
+
Description: Avoid Perl-style regex back references.
|
201
|
+
StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-perl-regexp-last-matchers
|
202
|
+
Enabled: false
|
203
|
+
Style/Send:
|
204
|
+
Description: Prefer `Object#__send__` or `Object#public_send` to `send`, as `send`
|
205
|
+
may overlap with existing methods.
|
206
|
+
StyleGuide: https://github.com/bbatsov/ruby-style-guide#prefer-public-send
|
207
|
+
Enabled: false
|
208
|
+
Style/SpecialGlobalVars:
|
209
|
+
Description: Avoid Perl-style global variables.
|
210
|
+
StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-cryptic-perlisms
|
211
|
+
Enabled: false
|
212
|
+
Style/VariableInterpolation:
|
213
|
+
Description: Don't interpolate global, instance and class variables directly in
|
214
|
+
strings.
|
215
|
+
StyleGuide: https://github.com/bbatsov/ruby-style-guide#curlies-interpolate
|
216
|
+
Enabled: false
|
217
|
+
Style/WhenThen:
|
218
|
+
Description: Use when x then ... for one-line cases.
|
219
|
+
StyleGuide: https://github.com/bbatsov/ruby-style-guide#one-line-cases
|
220
|
+
Enabled: false
|
221
|
+
Lint/EachWithObjectArgument:
|
222
|
+
Description: Check for immutable argument given to each_with_object.
|
223
|
+
Enabled: true
|
224
|
+
Lint/HandleExceptions:
|
225
|
+
Description: Don't suppress exception.
|
226
|
+
StyleGuide: https://github.com/bbatsov/ruby-style-guide#dont-hide-exceptions
|
227
|
+
Enabled: false
|
228
|
+
Lint/LiteralInCondition:
|
229
|
+
Description: Checks of literals used in conditions.
|
230
|
+
Enabled: false
|
231
|
+
Lint/LiteralInInterpolation:
|
232
|
+
Description: Checks for literals used in interpolation.
|
233
|
+
Enabled: false
|
234
|
+
Rails/FindBy:
|
235
|
+
Description: 'Prefer find_by over where.first.'
|
236
|
+
Enabled: false
|
237
|
+
Rails/DefaultScope:
|
238
|
+
Description: 'Checks if the argument passed to default_scope is a block.'
|
239
|
+
Enabled: false
|
data/.scss-style.yml
ADDED
@@ -0,0 +1,145 @@
|
|
1
|
+
scss_files: "**/*.scss"
|
2
|
+
linters:
|
3
|
+
BangFormat:
|
4
|
+
enabled: true
|
5
|
+
space_before_bang: true
|
6
|
+
space_after_bang: false
|
7
|
+
BorderZero:
|
8
|
+
enabled: false
|
9
|
+
convention: zero
|
10
|
+
ColorKeyword:
|
11
|
+
enabled: true
|
12
|
+
severity: warning
|
13
|
+
ColorVariable:
|
14
|
+
enabled: true
|
15
|
+
Comment:
|
16
|
+
enabled: true
|
17
|
+
DebugStatement:
|
18
|
+
enabled: true
|
19
|
+
DeclarationOrder:
|
20
|
+
enabled: true
|
21
|
+
DuplicateProperty:
|
22
|
+
enabled: true
|
23
|
+
ElsePlacement:
|
24
|
+
enabled: true
|
25
|
+
style: same_line
|
26
|
+
EmptyLineBetweenBlocks:
|
27
|
+
enabled: true
|
28
|
+
ignore_single_line_blocks: true
|
29
|
+
EmptyRule:
|
30
|
+
enabled: true
|
31
|
+
FinalNewline:
|
32
|
+
enabled: true
|
33
|
+
present: true
|
34
|
+
HexLength:
|
35
|
+
enabled: false
|
36
|
+
style: short
|
37
|
+
HexNotation:
|
38
|
+
enabled: true
|
39
|
+
style: lowercase
|
40
|
+
HexValidation:
|
41
|
+
enabled: true
|
42
|
+
IdSelector:
|
43
|
+
enabled: true
|
44
|
+
ImportantRule:
|
45
|
+
enabled: true
|
46
|
+
ImportPath:
|
47
|
+
enabled: true
|
48
|
+
leading_underscore: false
|
49
|
+
filename_extension: false
|
50
|
+
Indentation:
|
51
|
+
enabled: true
|
52
|
+
allow_non_nested_indentation: false
|
53
|
+
character: space
|
54
|
+
width: 2
|
55
|
+
LeadingZero:
|
56
|
+
enabled: true
|
57
|
+
style: include_zero
|
58
|
+
MergeableSelector:
|
59
|
+
enabled: true
|
60
|
+
force_nesting: true
|
61
|
+
NameFormat:
|
62
|
+
enabled: true
|
63
|
+
allow_leading_underscore: true
|
64
|
+
convention: hyphenated_lowercase
|
65
|
+
NestingDepth:
|
66
|
+
enabled: true
|
67
|
+
max_depth: 4
|
68
|
+
severity: warning
|
69
|
+
PlaceholderInExtend:
|
70
|
+
enabled: false
|
71
|
+
PropertyCount:
|
72
|
+
enabled: true
|
73
|
+
include_nested: false
|
74
|
+
max_properties: 10
|
75
|
+
PropertySortOrder:
|
76
|
+
enabled: true
|
77
|
+
ignore_unspecified: false
|
78
|
+
severity: warning
|
79
|
+
separate_groups: false
|
80
|
+
PropertySpelling:
|
81
|
+
enabled: true
|
82
|
+
extra_properties: []
|
83
|
+
QualifyingElement:
|
84
|
+
enabled: true
|
85
|
+
allow_element_with_attribute: false
|
86
|
+
allow_element_with_class: false
|
87
|
+
allow_element_with_id: false
|
88
|
+
severity: warning
|
89
|
+
SelectorDepth:
|
90
|
+
enabled: true
|
91
|
+
max_depth: 2
|
92
|
+
severity: warning
|
93
|
+
SelectorFormat:
|
94
|
+
enabled: true
|
95
|
+
convention: hyphenated_lowercase
|
96
|
+
Shorthand:
|
97
|
+
enabled: true
|
98
|
+
severity: warning
|
99
|
+
SingleLinePerProperty:
|
100
|
+
enabled: true
|
101
|
+
allow_single_line_rule_sets: true
|
102
|
+
SingleLinePerSelector:
|
103
|
+
enabled: true
|
104
|
+
SpaceAfterComma:
|
105
|
+
enabled: true
|
106
|
+
SpaceAfterPropertyColon:
|
107
|
+
enabled: true
|
108
|
+
style: one_space
|
109
|
+
SpaceAfterPropertyName:
|
110
|
+
enabled: true
|
111
|
+
SpaceBeforeBrace:
|
112
|
+
enabled: true
|
113
|
+
style: space
|
114
|
+
allow_single_line_padding: false
|
115
|
+
SpaceBetweenParens:
|
116
|
+
enabled: true
|
117
|
+
spaces: 0
|
118
|
+
StringQuotes:
|
119
|
+
enabled: true
|
120
|
+
style: double_quotes
|
121
|
+
TrailingSemicolon:
|
122
|
+
enabled: true
|
123
|
+
TrailingZero:
|
124
|
+
enabled: false
|
125
|
+
UnnecessaryMantissa:
|
126
|
+
enabled: true
|
127
|
+
UnnecessaryParentReference:
|
128
|
+
enabled: true
|
129
|
+
UrlFormat:
|
130
|
+
enabled: true
|
131
|
+
UrlQuotes:
|
132
|
+
enabled: true
|
133
|
+
VariableForProperty:
|
134
|
+
enabled: false
|
135
|
+
properties: []
|
136
|
+
VendorPrefixes:
|
137
|
+
enabled: true
|
138
|
+
identifier_list: bourbon
|
139
|
+
include: []
|
140
|
+
exclude: []
|
141
|
+
ZeroUnit:
|
142
|
+
enabled: true
|
143
|
+
severity: warning
|
144
|
+
Compass::PropertyWithMixin:
|
145
|
+
enabled: false
|