File tree Expand file tree Collapse file tree 5 files changed +104
-1
lines changed
Expand file tree Collapse file tree 5 files changed +104
-1
lines changed Original file line number Diff line number Diff line change 4040 # ./cc-test-reporter before-build
4141
4242 - name : Run tests
43- run : bundle exec rake spec rubocop
43+ run : bundle exec rake spec
44+
45+ - name : Run linting
46+ run : bundle exec rake rubocop
4447
4548 # - name: Upload coverage to Code Climate
4649 # if: always()
Original file line number Diff line number Diff line change 1+ *
2+ ! configs
3+ ! configs /**
4+ ! hooks
5+ ! hooks /**
6+ ! qlty.toml
7+ ! .gitignore
Original file line number Diff line number Diff line change 1+ source-path =SCRIPTDIR
Original file line number Diff line number Diff line change 1+ # This file was automatically generated by `qlty init`.
2+ # You can modify it to suit your needs.
3+ # We recommend you to commit this file to your repository.
4+ #
5+ # This configuration is used by both Qlty CLI and Qlty Cloud.
6+ #
7+ # Qlty CLI -- Code quality toolkit for developers
8+ # Qlty Cloud -- Fully automated Code Health Platform
9+ #
10+ # Try Qlty Cloud: https://qlty.sh
11+ #
12+ # For a guide to configuration, visit https://qlty.sh/d/config
13+ # Or for a full reference, visit https://qlty.sh/d/qlty-toml
14+ config_version = " 0"
15+
16+ exclude_patterns = [
17+ " *_min.*" ,
18+ " *-min.*" ,
19+ " *.min.*" ,
20+ " **/.yarn/**" ,
21+ " **/*.d.ts" ,
22+ " **/assets/**" ,
23+ " **/bower_components/**" ,
24+ " **/build/**" ,
25+ " **/cache/**" ,
26+ " **/config/**" ,
27+ " **/db/**" ,
28+ " **/deps/**" ,
29+ " **/dist/**" ,
30+ " **/extern/**" ,
31+ " **/external/**" ,
32+ " **/generated/**" ,
33+ " **/Godeps/**" ,
34+ " **/gradlew/**" ,
35+ " **/mvnw/**" ,
36+ " **/node_modules/**" ,
37+ " **/protos/**" ,
38+ " **/seed/**" ,
39+ " **/target/**" ,
40+ " **/templates/**" ,
41+ " **/testdata/**" ,
42+ " **/vendor/**" ,
43+ ]
44+
45+ test_patterns = [
46+ " **/test/**" ,
47+ " **/spec/**" ,
48+ " **/*.test.*" ,
49+ " **/*.spec.*" ,
50+ " **/*_test.*" ,
51+ " **/*_spec.*" ,
52+ " **/test_*.*" ,
53+ " **/spec_*.*" ,
54+ ]
55+
56+ [smells ]
57+ mode = " comment"
58+
59+ [smells .boolean_logic ]
60+ threshold = 4
61+
62+ [smells .file_complexity ]
63+ threshold = 55
64+
65+ [smells .return_statements ]
66+ threshold = 4
67+
68+ [smells .nested_control_flow ]
69+ threshold = 4
70+
71+ [smells .function_parameters ]
72+ threshold = 4
73+
74+ [smells .function_complexity ]
75+ threshold = 5
76+
77+ [smells .duplication ]
78+ threshold = 22
79+
80+ [[source ]]
81+ name = " default"
82+ default = true
83+
84+ [[plugin ]]
85+ name = " rubocop"
86+ version = " 1.81.6"
87+ package_file = " Gemfile"
88+ package_filters = [" rubocop" ]
Original file line number Diff line number Diff line change 66rvm install ruby-$( cat .ruby-version)
77gem install bundler -v 2.2.18
88bundle install
9+
10+
11+ # Qlty CLI tool. Ref: https://docs.qlty.sh/cli/quickstart
12+ curl https://qlty.sh | sh
You can’t perform that action at this time.
0 commit comments