forked from microverseinc/ror-social-scaffold
-
Notifications
You must be signed in to change notification settings - Fork 1
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
5 changed files
with
143 additions
and
57 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 |
---|---|---|
@@ -0,0 +1,50 @@ | ||
AllCops: | ||
Exclude: | ||
- "db/**/*" | ||
- "bin/*" | ||
- "config/**/*" | ||
- "Guardfile" | ||
- "Rakefile" | ||
- "README.md" | ||
- "node_modules/**/*" | ||
|
||
DisplayCopNames: true | ||
|
||
Layout/LineLength: | ||
Max: 120 | ||
Metrics/MethodLength: | ||
Include: | ||
- "app/controllers/*" | ||
- "app/models/*" | ||
Max: 20 | ||
Metrics/AbcSize: | ||
Include: | ||
- "app/controllers/*" | ||
- "app/models/*" | ||
Max: 50 | ||
Metrics/ClassLength: | ||
Max: 150 | ||
Metrics/BlockLength: | ||
ExcludedMethods: ['describe'] | ||
Max: 30 | ||
|
||
Style/Documentation: | ||
Enabled: false | ||
Style/ClassAndModuleChildren: | ||
Enabled: false | ||
Style/EachForSimpleLoop: | ||
Enabled: false | ||
Style/AndOr: | ||
Enabled: false | ||
Style/DefWithParentheses: | ||
Enabled: false | ||
Style/FrozenStringLiteralComment: | ||
EnforcedStyle: never | ||
|
||
Layout/HashAlignment: | ||
EnforcedColonStyle: key | ||
Layout/ExtraSpacing: | ||
AllowForAlignment: false | ||
Layout/MultilineMethodCallIndentation: | ||
Enabled: true | ||
EnforcedStyle: indented |
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 |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# add the linters you want stickler to use for this project | ||
linters: | ||
rubocop: | ||
display_cop_names: true | ||
# indicate where is the config file for stylelint | ||
config: './rubocop.yml' | ||
|
||
# add the files here you want to be ignored by stylelint | ||
files: | ||
ignore: | ||
- "bin/*" | ||
- "db/*" | ||
- "config/*" | ||
- "Guardfile" | ||
- "Rakefile" | ||
- "README.md" | ||
- "node_modules/**/*" | ||
|
||
# PLEASE DO NOT enable auto fixing options | ||
# if you need extra support from you linter - do it in your local env as described in README for this config | ||
|
||
# find full documentation here: https://stickler-ci.com/docs |
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
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
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