department-of-veterans-affairs/caseflow

View on GitHub
Fixing linting issues. #44403
Brian Bommarito authored c356b2bb
complete00:12:53
1
git clone
2
codeclimate validate-config
View output
codeclimate validate-config
No errors or warnings found in .codeclimate.yml.
3
codeclimate prepare
View output
codeclimate prepare
4
builder pull-engines
View output
determining required images
docker pull codeclimate/codeclimate-reek:b1077
b1077: Pulling from codeclimate/codeclimate-reek
169185f82c45: Pulling fs layer
222c39e7aa7a: Pulling fs layer
07546bd8601e: Pulling fs layer
7614965d2143: Pulling fs layer
7c1c951cf875: Pulling fs layer
5677c441f256: Pulling fs layer
efdfcd8fbec1: Pulling fs layer
c7595784a397: Pulling fs layer
f514b96dbbe5: Pulling fs layer
7631fbb23e31: Pulling fs layer
1c1134c7116e: Pulling fs layer
c35a874b378d: Pulling fs layer
7c1c951cf875: Waiting
5677c441f256: Waiting
efdfcd8fbec1: Waiting
c7595784a397: Waiting
f514b96dbbe5: Waiting
7631fbb23e31: Waiting
1c1134c7116e: Waiting
c35a874b378d: Waiting
7614965d2143: Waiting
222c39e7aa7a: Verifying Checksum
222c39e7aa7a: Download complete
169185f82c45: Verifying Checksum
169185f82c45: Download complete
7614965d2143: Verifying Checksum
7614965d2143: Download complete
169185f82c45: Pull complete
07546bd8601e: Verifying Checksum
07546bd8601e: Download complete
5677c441f256: Verifying Checksum
5677c441f256: Download complete
222c39e7aa7a: Pull complete
efdfcd8fbec1: Verifying Checksum
efdfcd8fbec1: Download complete
c7595784a397: Verifying Checksum
c7595784a397: Download complete
f514b96dbbe5: Download complete
1c1134c7116e: Verifying Checksum
1c1134c7116e: Download complete
7631fbb23e31: Verifying Checksum
7631fbb23e31: Download complete
7c1c951cf875: Verifying Checksum
7c1c951cf875: Download complete
07546bd8601e: Pull complete
c35a874b378d: Verifying Checksum
c35a874b378d: Download complete
7614965d2143: Pull complete
7c1c951cf875: Pull complete
5677c441f256: Pull complete
efdfcd8fbec1: Pull complete
c7595784a397: Pull complete
f514b96dbbe5: Pull complete
7631fbb23e31: Pull complete
1c1134c7116e: Pull complete
c35a874b378d: Pull complete
Digest: sha256:5874e782ab8172808ddb4217d6a62d59f8ecbb0984a612f8d2c2a956dc8b2e7e
Status: Downloaded newer image for registry.prod.codeclimate.net/codeclimate/codeclimate-reek:b1077
docker pull codeclimate/codeclimate-rubocop:b664
b664: Pulling from codeclimate/codeclimate-rubocop
aad63a933944: Pulling fs layer
cca28d9d22b9: Pulling fs layer
e46ee7bc75f6: Pulling fs layer
12139539199e: Pulling fs layer
c262dbdf41d7: Pulling fs layer
244762c2df2a: Pulling fs layer
acb5e784eeaf: Pulling fs layer
6833557f3b53: Pulling fs layer
21c13d7396d8: Pulling fs layer
9c115e719aef: Pulling fs layer
a5f361693068: Pulling fs layer
bfdebd40dd53: Pulling fs layer
6833557f3b53: Waiting
21c13d7396d8: Waiting
9c115e719aef: Waiting
a5f361693068: Waiting
bfdebd40dd53: Waiting
12139539199e: Waiting
244762c2df2a: Waiting
c262dbdf41d7: Waiting
acb5e784eeaf: Waiting
e46ee7bc75f6: Verifying Checksum
e46ee7bc75f6: Download complete
cca28d9d22b9: Verifying Checksum
cca28d9d22b9: Download complete
aad63a933944: Verifying Checksum
aad63a933944: Download complete
c262dbdf41d7: Download complete
aad63a933944: Pull complete
244762c2df2a: Download complete
acb5e784eeaf: Verifying Checksum
acb5e784eeaf: Download complete
cca28d9d22b9: Pull complete
12139539199e: Verifying Checksum
12139539199e: Download complete
6833557f3b53: Verifying Checksum
6833557f3b53: Download complete
e46ee7bc75f6: Pull complete
9c115e719aef: Verifying Checksum
9c115e719aef: Download complete
a5f361693068: Verifying Checksum
a5f361693068: Download complete
bfdebd40dd53: Verifying Checksum
bfdebd40dd53: Download complete
12139539199e: Pull complete
21c13d7396d8: Verifying Checksum
21c13d7396d8: Download complete
c262dbdf41d7: Pull complete
244762c2df2a: Pull complete
acb5e784eeaf: Pull complete
6833557f3b53: Pull complete
21c13d7396d8: Pull complete
9c115e719aef: Pull complete
a5f361693068: Pull complete
bfdebd40dd53: Pull complete
Digest: sha256:66d01d6bbb91b1cc08a793cd8715c2e13481a5e94f165a84f92aed95173b9a3a
Status: Downloaded newer image for registry.prod.codeclimate.net/codeclimate/codeclimate-rubocop:b664
docker pull codeclimate/codeclimate-grep:b32
b32: Pulling from codeclimate/codeclimate-grep
aad63a933944: Already exists
cca28d9d22b9: Already exists
e46ee7bc75f6: Already exists
77f6ac0a75a8: Pulling fs layer
7d7702b298dc: Pulling fs layer
5d48c2d42c86: Pulling fs layer
21d759be5f88: Pulling fs layer
2c94b7a67a61: Pulling fs layer
0cd560ae2c93: Pulling fs layer
a15cb1f517c8: Pulling fs layer
0ab4f842bb9b: Pulling fs layer
d61fbce51e79: Pulling fs layer
6a8a6c95c807: Pulling fs layer
0ab4f842bb9b: Waiting
d61fbce51e79: Waiting
2c94b7a67a61: Waiting
6a8a6c95c807: Waiting
0cd560ae2c93: Waiting
a15cb1f517c8: Waiting
21d759be5f88: Waiting
5d48c2d42c86: Verifying Checksum
5d48c2d42c86: Download complete
7d7702b298dc: Verifying Checksum
7d7702b298dc: Download complete
21d759be5f88: Verifying Checksum
21d759be5f88: Download complete
2c94b7a67a61: Verifying Checksum
2c94b7a67a61: Download complete
77f6ac0a75a8: Verifying Checksum
77f6ac0a75a8: Download complete
0cd560ae2c93: Verifying Checksum
0cd560ae2c93: Download complete
a15cb1f517c8: Verifying Checksum
a15cb1f517c8: Download complete
d61fbce51e79: Verifying Checksum
d61fbce51e79: Download complete
0ab4f842bb9b: Download complete
6a8a6c95c807: Verifying Checksum
6a8a6c95c807: Download complete
77f6ac0a75a8: Pull complete
7d7702b298dc: Pull complete
5d48c2d42c86: Pull complete
21d759be5f88: Pull complete
2c94b7a67a61: Pull complete
0cd560ae2c93: Pull complete
a15cb1f517c8: Pull complete
0ab4f842bb9b: Pull complete
d61fbce51e79: Pull complete
6a8a6c95c807: Pull complete
Digest: sha256:f2f4df06197181e4d0aa6107a3a83f929bff27d3d08282fbc734e9c88cd8d14b
Status: Downloaded newer image for registry.prod.codeclimate.net/codeclimate/codeclimate-grep:b32
5
structure
View output
12
Parser process id: 12
codeclimate-parser socket not present
waiting 1s...
W, [2024-05-17T13:37:28.261643 #1]  WARN -- : Skipping client/app/hearings/components/HearingConversion.stories.js due to CC::Parser::Client::HTTPError
W, [2024-05-17T13:37:28.261702 #1]  WARN -- : Response status: 422
W, [2024-05-17T13:37:38.451711 #1]  WARN -- : Skipping client/app/components/WrenchIcon.jsx due to CC::Parser::Client::HTTPError
W, [2024-05-17T13:37:38.451746 #1]  WARN -- : Response status: 422
W, [2024-05-17T13:38:19.062812 #1]  WARN -- : Skipping spec/models/vacols/representative_spec.rb due to CC::Parser::Client::HTTPError
W, [2024-05-17T13:38:19.062851 #1]  WARN -- : Response status: 422
W, [2024-05-17T13:38:30.651065 #1]  WARN -- : Skipping spec/helpers/ascii_converter_spec.rb due to CC::Parser::Client::HTTPError
W, [2024-05-17T13:38:30.651150 #1]  WARN -- : Response status: 422
W, [2024-05-17T13:38:36.078546 #1]  WARN -- : Skipping spec/controllers/api/application_controller_spec.rb due to CC::Parser::Client::HTTPError
W, [2024-05-17T13:38:36.078607 #1]  WARN -- : Response status: 422
6
duplication
View output
13
Parser process id: 13
codeclimate-parser socket not present
waiting 1s...
I, [2024-05-17T13:39:07.506341 #1]  INFO -- : Skipping file ./scripts/back_fill_hearing_task_associations.rb due to exception (Racc::ParseError): ./scripts/back_fill_hearing_task_associations.rb:15 :: parse error on value ":" (tCOLON)

I, [2024-05-17T13:39:07.699072 #1]  INFO -- : Skipping file ./app/jobs/hearing_disposition_change_job.rb due to exception (Racc::ParseError): ./app/jobs/hearing_disposition_change_job.rb:26 :: parse error on value "&." (error)

I, [2024-05-17T13:39:07.705747 #1]  INFO -- : Skipping file ./app/jobs/data_integrity_checks_job.rb due to exception (Racc::ParseError): ./app/jobs/data_integrity_checks_job.rb:33 :: parse error on value ":" (tCOLON)

I, [2024-05-17T13:39:07.792742 #1]  INFO -- : Skipping file ./app/jobs/stats_collector_job.rb due to exception (Racc::ParseError): ./app/jobs/stats_collector_job.rb:42 :: parse error on value ":" (tCOLON)

I, [2024-05-17T13:39:07.840441 #1]  INFO -- : Skipping file ./app/jobs/no_available_modifiers_fix_job.rb due to exception (Racc::ParseError): ./app/jobs/no_available_modifiers_fix_job.rb:56 :: parse error on value ["rescue", 56] (kRESCUE)

I, [2024-05-17T13:39:08.117076 #1]  INFO -- : Skipping file ./app/jobs/claim_date_dt_fix_job.rb due to exception (Racc::ParseError): ./app/jobs/claim_date_dt_fix_job.rb:54 :: parse error on value ["rescue", 54] (kRESCUE)

I, [2024-05-17T13:39:08.316952 #1]  INFO -- : Skipping file ./app/jobs/warm_bgs_caches_job.rb due to exception (RubyParser::SyntaxError): Odd number (2) list for Hash. s(:array, s(:const, :PRIORITY))

I, [2024-05-17T13:39:08.355576 #1]  INFO -- : Skipping file ./app/jobs/claim_not_established_fix_job.rb due to exception (Racc::ParseError): ./app/jobs/claim_not_established_fix_job.rb:37 :: parse error on value ":" (tCOLON)

I, [2024-05-17T13:39:08.502290 #1]  INFO -- : Skipping file ./app/jobs/sync_intake_job.rb due to exception (Racc::ParseError): ./app/jobs/sync_intake_job.rb:20 :: parse error on value ["rescue", 20] (kRESCUE)

I, [2024-05-17T13:39:08.588732 #1]  INFO -- : Skipping file ./app/jobs/update_appellant_representation_job.rb due to exception (Racc::ParseError): ./app/jobs/update_appellant_representation_job.rb:21 :: parse error on value ":" (tCOLON)

I, [2024-05-17T13:39:08.762921 #1]  INFO -- : Skipping file ./app/jobs/dta_sc_creation_failed_fix_job.rb due to exception (Racc::ParseError): ./app/jobs/dta_sc_creation_failed_fix_job.rb:35 :: parse error on value ":" (tCOLON)

I, [2024-05-17T13:39:08.779032 #1]  INFO -- : Skipping file ./app/jobs/sc_dta_for_appeal_fix_job.rb due to exception (Racc::ParseError): ./app/jobs/sc_dta_for_appeal_fix_job.rb:42 :: parse error on value ":" (tCOLON)

I, [2024-05-17T13:39:08.916300 #1]  INFO -- : Skipping file ./app/jobs/sync_reviews_job.rb due to exception (Racc::ParseError): ./app/jobs/sync_reviews_job.rb:34 :: parse error on value ["rescue", 34] (kRESCUE)

I, [2024-05-17T13:39:08.995432 #1]  INFO -- : Skipping file ./app/jobs/bgs_share_error_fix_job.rb due to exception (Racc::ParseError): ./app/jobs/bgs_share_error_fix_job.rb:48 :: parse error on value ["rescue", 48] (kRESCUE)

I, [2024-05-17T13:39:12.762877 #1]  INFO -- : Skipping file ./app/models/decision_review_intake.rb due to exception (Racc::ParseError): ./app/models/decision_review_intake.rb:9 :: parse error on value ":" (tCOLON)

I, [2024-05-17T13:39:17.675144 #1]  INFO -- : Skipping file app/controllers/explain_controller.rb due to exception (Racc::ParseError): app/controllers/explain_controller.rb:20 :: parse error on value ":" (tCOLON)

I, [2024-05-17T13:39:19.324012 #1]  INFO -- : Skipping file ./app/services/external_api/bgs_service.rb due to exception (Racc::ParseError): ./app/services/external_api/bgs_service.rb:13 :: parse error on value ":" (tCOLON)

I, [2024-05-17T13:39:19.388991 #1]  INFO -- : Skipping file ./app/services/external_api/efolder_service.rb due to exception (Racc::ParseError): ./app/services/external_api/efolder_service.rb:23 :: parse error on value ":" (tCOLON)

I, [2024-05-17T13:39:20.490518 #1]  INFO -- : Skipping file ./app/services/bgs_address_service.rb due to exception (RubyParser::SyntaxError): Odd number (2) list for Hash. s(:array, s(:call, nil, :address_line_1))

I, [2024-05-17T13:39:22.542997 #1]  INFO -- : Skipping file ./lib/helpers/dupp_ep_claims_sync_status_update_can_clr.rb due to exception (Racc::ParseError): ./lib/helpers/dupp_ep_claims_sync_status_update_can_clr.rb:42 :: parse error on value ["rescue", 42] (kRESCUE)

I, [2024-05-17T13:39:23.199069 #1]  INFO -- : Skipping file ./lib/helpers/cancel_tasks_and_descendants.rb due to exception (RubyParser::SyntaxError): Odd number (2) list for Hash. s(:array, s(:call, nil, :whodunnit))

I, [2024-05-17T13:39:23.755263 #1]  INFO -- : Skipping file ./lib/tasks/support/validate_sql_queries.rb due to exception (Racc::ParseError): ./lib/tasks/support/validate_sql_queries.rb:38 :: parse error on value "**" (error)

I, [2024-05-17T13:39:24.803750 #1]  INFO -- : Skipping file ./spec/support/clear_cache.rb due to exception (Racc::ParseError): ./spec/support/clear_cache.rb:15 :: parse error on value ":" (tCOLON)

I, [2024-05-17T13:39:28.709811 #1]  INFO -- : Skipping file ./spec/jobs/hearing_disposition_change_job_spec.rb due to exception (Racc::ParseError): ./spec/jobs/hearing_disposition_change_job_spec.rb:4 :: parse error on value ":" (tCOLON)

I, [2024-05-17T13:39:57.994802 #1]  INFO -- : Skipping file ./spec/lib/helpers/finder_console_methods_spec.rb due to exception (Racc::ParseError): ./spec/lib/helpers/finder_console_methods_spec.rb:7 :: parse error on value ":" (tCOLON)

I, [2024-05-17T13:40:03.131692 #1]  INFO -- : Skipping file ./spec/feature/non_comp/report_page_spec.rb due to exception (Racc::ParseError): ./spec/feature/non_comp/report_page_spec.rb:10 :: parse error on value ":" (tCOLON)

W, [2024-05-17T13:40:21.967482 #1]  WARN -- : Skipping ./client/app/hearings/components/HearingConversion.stories.js due to CC::Parser::Client::HTTPError
W, [2024-05-17T13:40:21.967691 #1]  WARN -- : Response status: 422
W, [2024-05-17T13:40:47.490782 #1]  WARN -- : Skipping ./client/app/components/WrenchIcon.jsx due to CC::Parser::Client::HTTPError
W, [2024-05-17T13:40:47.490837 #1]  WARN -- : Response status: 422
7
brakeman
brakeman engine documentation
8
bundler-audit
bundler-audit engine documentation
9
eslint
eslint engine documentation
View output
No rules are configured. Make sure you have added a config file with rules enabled.
See our documentation at https://docs.codeclimate.com/docs/eslint for more information.
(node:8) Warning: Accessing non-existent property 'cd' of module exports inside circular dependency
(Use `node --trace-warnings ...` to show where the warning was created)
(node:8) Warning: Accessing non-existent property 'pwd' of module exports inside circular dependency
(node:8) Warning: Accessing non-existent property 'ls' of module exports inside circular dependency
(node:8) Warning: Accessing non-existent property 'find' of module exports inside circular dependency
(node:8) Warning: Accessing non-existent property 'cp' of module exports inside circular dependency
(node:8) Warning: Accessing non-existent property 'rm' of module exports inside circular dependency
(node:8) Warning: Accessing non-existent property 'mv' of module exports inside circular dependency
(node:8) Warning: Accessing non-existent property 'mkdir' of module exports inside circular dependency
(node:8) Warning: Accessing non-existent property 'test' of module exports inside circular dependency
(node:8) Warning: Accessing non-existent property 'cat' of module exports inside circular dependency
(node:8) Warning: Accessing non-existent property 'head' of module exports inside circular dependency
(node:8) Warning: Accessing non-existent property 'tail' of module exports inside circular dependency
(node:8) Warning: Accessing non-existent property 'to' of module exports inside circular dependency
(node:8) Warning: Accessing non-existent property 'toEnd' of module exports inside circular dependency
(node:8) Warning: Accessing non-existent property 'sed' of module exports inside circular dependency
(node:8) Warning: Accessing non-existent property 'sort' of module exports inside circular dependency
(node:8) Warning: Accessing non-existent property 'uniq' of module exports inside circular dependency
(node:8) Warning: Accessing non-existent property 'grep' of module exports inside circular dependency
(node:8) Warning: Accessing non-existent property 'which' of module exports inside circular dependency
(node:8) Warning: Accessing non-existent property 'echo' of module exports inside circular dependency
(node:8) Warning: Accessing non-existent property 'dirs' of module exports inside circular dependency
(node:8) Warning: Accessing non-existent property 'pushd' of module exports inside circular dependency
(node:8) Warning: Accessing non-existent property 'popd' of module exports inside circular dependency
(node:8) Warning: Accessing non-existent property 'ln' of module exports inside circular dependency
(node:8) Warning: Accessing non-existent property 'tempdir' of module exports inside circular dependency
(node:8) Warning: Accessing non-existent property 'exec' of module exports inside circular dependency
(node:8) Warning: Accessing non-existent property 'chmod' of module exports inside circular dependency
(node:8) Warning: Accessing non-existent property 'touch' of module exports inside circular dependency
(node:8) Warning: Accessing non-existent property 'set' of module exports inside circular dependency
10
fixme
fixme engine documentation
11
reek
reek engine documentation
View output
Error: You are trying to configure an unknown smell detector 'RepeatedConditionals' in one
        of your source code comments.
        The source is 'app/models/appeal.rb' and the comment belongs to the expression starting in line 260.
        Here's the original comment:

        # :reek:RepeatedConditionals
# decision issue status overrules request issues/special issue list for both mst and pact

        Please see the Reek docs for:
          * how to configure Reek via source code comments: https://github.com/troessner/reek/blob/v6.0.4/docs/Smell-Suppression.md
          * what smell detectors are available: https://github.com/troessner/reek/blob/v6.0.4/docs/Code-Smells.md
        Update the offensive comment (or remove it if no longer applicable) and re-run Reek.


        Error: You are trying to configure an unknown smell detector 'RepeatedConditionals' in one
        of your source code comments.
        The source is 'app/models/ro_schedule_period.rb' and the comment belongs to the expression starting in line 52.
        Here's the original comment:

        # Validate fields for each video or virtual hearing day
# :reek:RepeatedConditionals

        Please see the Reek docs for:
          * how to configure Reek via source code comments: https://github.com/troessner/reek/blob/v6.0.4/docs/Smell-Suppression.md
          * what smell detectors are available: https://github.com/troessner/reek/blob/v6.0.4/docs/Code-Smells.md
        Update the offensive comment (or remove it if no longer applicable) and re-run Reek.


        Error: You are trying to configure an unknown smell detector 'RepeatedConditionals' in one
        of your source code comments.
        The source is 'lib/generators/contention.rb' and the comment belongs to the expression starting in line 67.
        Here's the original comment:

        # :reek:RepeatedConditionals

        Please see the Reek docs for:
          * how to configure Reek via source code comments: https://github.com/troessner/reek/blob/v6.0.4/docs/Smell-Suppression.md
          * what smell detectors are available: https://github.com/troessner/reek/blob/v6.0.4/docs/Code-Smells.md
        Update the offensive comment (or remove it if no longer applicable) and re-run Reek.


        Error: You are trying to configure an unknown smell detector 'RepeatedConditionals' in one
        of your source code comments.
        The source is 'lib/helpers/sanitation_transforms.rb' and the comment belongs to the expression starting in line 16.
        Here's the original comment:

        # :reek:RepeatedConditionals

        Please see the Reek docs for:
          * how to configure Reek via source code comments: https://github.com/troessner/reek/blob/v6.0.4/docs/Smell-Suppression.md
          * what smell detectors are available: https://github.com/troessner/reek/blob/v6.0.4/docs/Code-Smells.md
        Update the offensive comment (or remove it if no longer applicable) and re-run Reek.


        Error: You are trying to configure an unknown smell detector 'RepeatedConditionals' in one
        of your source code comments.
        The source is 'lib/helpers/sanitized_json_exporter.rb' and the comment belongs to the expression starting in line 11.
        Here's the original comment:

        # Given a set of records, this class sanitizes specified fields and exports them as JSON.
# The fields to be sanitized is specified by the SanitizedJsonConfiguration, which also provides
# a list of methods (e.g., those in SanitizationTransforms) that will be applied to the original values.
# The resulting JSON can then imported by SanitizedJsonImporter.
##
# :reek:RepeatedConditionals
# :reek:TooManyInstanceVariables

        Please see the Reek docs for:
          * how to configure Reek via source code comments: https://github.com/troessner/reek/blob/v6.0.4/docs/Smell-Suppression.md
          * what smell detectors are available: https://github.com/troessner/reek/blob/v6.0.4/docs/Code-Smells.md
        Update the offensive comment (or remove it if no longer applicable) and re-run Reek.


        Error: You are trying to configure an unknown smell detector 'NestedIterator' in one
        of your source code comments.
        The source is 'lib/tasks/support/erd_graph_styling.rb' and the comment belongs to the expression starting in line 9.
        Here's the original comment:

        # :reek:NestedIterator

        Please see the Reek docs for:
          * how to configure Reek via source code comments: https://github.com/troessner/reek/blob/v6.0.4/docs/Smell-Suppression.md
          * what smell detectors are available: https://github.com/troessner/reek/blob/v6.0.4/docs/Code-Smells.md
        Update the offensive comment (or remove it if no longer applicable) and re-run Reek.
12
rubocop
rubocop engine documentation
View output
unrecognized cop Rails/ApplicationController found in .rubocop.yml
13
stylelint
stylelint engine documentation
View output
•• Timing: .engineConfig: 0.512s
Error: No configuration provided. Make sure you have added a config file with rules enabled.
See our documentation at https://docs.codeclimate.com/docs/stylelint for more information.
14
grep
grep engine documentation