File tree Expand file tree Collapse file tree 4 files changed +37
-13
lines changed Expand file tree Collapse file tree 4 files changed +37
-13
lines changed Original file line number Diff line number Diff line change
1
+ name : Linting
2
+ on :
3
+ - pull_request
4
+ jobs :
5
+ yamllint :
6
+ name : Yamllint
7
+ runs-on : ubuntu-latest
8
+ steps :
9
+ - uses : actions/checkout@v2
10
+ - name : Yamllint
11
+ uses : karancode/yamllint-github-action@master
12
+ with :
13
+ yamllint_comment : true
14
+ env :
15
+ GITHUB_ACCESS_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change @@ -71,13 +71,13 @@ Layout/ClassStructure:
71
71
- prepend
72
72
- extend
73
73
ExpectedOrder :
74
- - module_inclusion
75
- - constants
76
- - public_class_methods
77
- - initializer
78
- - instance_methods
79
- - protected_methods
80
- - private_methods
74
+ - module_inclusion
75
+ - constants
76
+ - public_class_methods
77
+ - initializer
78
+ - instance_methods
79
+ - protected_methods
80
+ - private_methods
81
81
82
82
# Trailing white space is meaningful in code examples
83
83
Layout/TrailingWhitespace :
Original file line number Diff line number Diff line change
1
+ extends : default
2
+
3
+ rules :
4
+ comments :
5
+ min-spaces-from-content : 1
6
+ document-start : disable
7
+ line-length : disable
8
+ truthy :
9
+ check-keys : false
Original file line number Diff line number Diff line change @@ -4,10 +4,10 @@ edit_uri: edit/master/legacy-docs
4
4
copyright : " Copyright © 2012-2022 Bozhidar Batsov and RuboCop contributors"
5
5
docs_dir : legacy-docs
6
6
pages :
7
- - Home : index.md
8
- - Installation : installation.md
9
- - Usage : usage.md
10
- - Cops : cops.md
11
- - Cops Documentation :
12
- - Rails Cops : cops_rails.md
7
+ - Home : index.md
8
+ - Installation : installation.md
9
+ - Usage : usage.md
10
+ - Cops : cops.md
11
+ - Cops Documentation :
12
+ - Rails Cops : cops_rails.md
13
13
theme : readthedocs
You can’t perform that action at this time.
0 commit comments