Skip to content

Merge pull request #61 from nobodywasishere/nobody/gfm-emoji #10

Merge pull request #61 from nobodywasishere/nobody/gfm-emoji

Merge pull request #61 from nobodywasishere/nobody/gfm-emoji #10

Triggered via push May 19, 2024 04:43
Status Success
Total duration 1m 56s
Artifacts

ci.yml

on: push
Matrix: specs
Fit to window
Zoom out
Zoom in

Annotations

34 warnings and 38 notices
Lint/UselessAssign: src/markd/node.cr#L159
Useless assignment to variable `nxt`
Lint/UselessAssign: spec/spec_helper.cr#L60
Useless assignment to variable `data`
Lint/UselessAssign: spec/spec_helper.cr#L61
Useless assignment to variable `delimiter`
Metrics/CyclomaticComplexity: spec/spec_helper.cr#L59
Cyclomatic complexity too high [22/10]
Metrics/CyclomaticComplexity: src/markd/rules/heading.cr#L8
Cyclomatic complexity too high [11/10]
Metrics/CyclomaticComplexity: src/markd/renderer.cr#L52
Cyclomatic complexity too high [18/10]
Metrics/CyclomaticComplexity: src/markd/parsers/block.cr#L80
Cyclomatic complexity too high [29/10]
Lint/MissingBlockArgument: src/markd/utils.cr#L5
Missing anonymous block argument. Use `&` as an argument name to indicate yielding method.
Lint/ShadowingOuterLocalVar: src/markd/utils.cr#L17
Shadowing outer local variable `text`
Metrics/CyclomaticComplexity: src/markd/rules/list.cr#L68
Cyclomatic complexity too high [18/10]
Lint/MissingBlockArgument: src/markd/renderers/html_renderer.cr#L225
Missing anonymous block argument. Use `&` as an argument name to indicate yielding method.
Lint/NotNil: src/markd/parsers/inline.cr#L255
Avoid using `not_nil!`
Lint/NotNil: src/markd/parsers/inline.cr#L790
Avoid using `not_nil!`
Metrics/CyclomaticComplexity: src/markd/parsers/inline.cr#L31
Cyclomatic complexity too high [15/10]
Metrics/CyclomaticComplexity: src/markd/parsers/inline.cr#L182
Cyclomatic complexity too high [23/10]
Metrics/CyclomaticComplexity: src/markd/parsers/inline.cr#L287
Cyclomatic complexity too high [31/10]
Metrics/CyclomaticComplexity: src/markd/parsers/inline.cr#L633
Cyclomatic complexity too high [22/10]
Lint/UselessAssign: src/markd/node.cr#L159
Useless assignment to variable `nxt`
Lint/UselessAssign: spec/spec_helper.cr#L60
Useless assignment to variable `data`
Lint/UselessAssign: spec/spec_helper.cr#L61
Useless assignment to variable `delimiter`
Metrics/CyclomaticComplexity: spec/spec_helper.cr#L59
Cyclomatic complexity too high [22/10]
Metrics/CyclomaticComplexity: src/markd/rules/heading.cr#L8
Cyclomatic complexity too high [11/10]
Metrics/CyclomaticComplexity: src/markd/renderer.cr#L52
Cyclomatic complexity too high [18/10]
Metrics/CyclomaticComplexity: src/markd/parsers/block.cr#L80
Cyclomatic complexity too high [29/10]
Lint/MissingBlockArgument: src/markd/utils.cr#L5
Missing anonymous block argument. Use `&` as an argument name to indicate yielding method.
Lint/ShadowingOuterLocalVar: src/markd/utils.cr#L17
Shadowing outer local variable `text`
Metrics/CyclomaticComplexity: src/markd/rules/list.cr#L68
Cyclomatic complexity too high [18/10]
Lint/MissingBlockArgument: src/markd/renderers/html_renderer.cr#L225
Missing anonymous block argument. Use `&` as an argument name to indicate yielding method.
Lint/NotNil: src/markd/parsers/inline.cr#L255
Avoid using `not_nil!`
Lint/NotNil: src/markd/parsers/inline.cr#L790
Avoid using `not_nil!`
Metrics/CyclomaticComplexity: src/markd/parsers/inline.cr#L31
Cyclomatic complexity too high [15/10]
Metrics/CyclomaticComplexity: src/markd/parsers/inline.cr#L182
Cyclomatic complexity too high [23/10]
Metrics/CyclomaticComplexity: src/markd/parsers/inline.cr#L287
Cyclomatic complexity too high [31/10]
Metrics/CyclomaticComplexity: src/markd/parsers/inline.cr#L633
Cyclomatic complexity too high [22/10]
Naming/BlockParameterName: spec/spec_helper.cr#L71
Disallowed block parameter name found
Style/VerboseBlock: src/markd/utils.cr#L17
Use short block notation instead: `gsub(DECODE_ENTITIES_REGEX, &.[1].to_s)`
Naming/QueryBoolMethods: src/markd/options.cr#L45
Consider using 'property?' for 'emoji'
Style/NegatedConditionsInUnless: src/markd/rules/list.cr#L11
Avoid negated conditions in unless blocks
Style/NegatedConditionsInUnless: src/markd/rules/list.cr#L146
Avoid negated conditions in unless blocks
Style/ParenthesesAroundCondition: src/markd/rules/list.cr#L9
Redundant parentheses
Naming/QueryBoolMethods: src/markd/parsers/inline.cr#L875
Consider using 'property?' for 'image'
Naming/QueryBoolMethods: src/markd/parsers/inline.cr#L876
Consider using 'property?' for 'active'
Naming/QueryBoolMethods: src/markd/parsers/inline.cr#L877
Consider using 'property?' for 'bracket_after'
Naming/QueryBoolMethods: src/markd/parsers/inline.cr#L891
Consider using 'property?' for 'can_open'
Naming/QueryBoolMethods: src/markd/parsers/inline.cr#L892
Consider using 'property?' for 'can_close'
Style/RedundantReturn: src/markd/parsers/inline.cr#L753
Redundant `return` detected
Style/RedundantReturn: src/markd/parsers/inline.cr#L768
Redundant `return` detected
Style/RedundantReturn: src/markd/parsers/inline.cr#L784
Redundant `return` detected
Style/UnlessElse: src/markd/parsers/inline.cr#L332
Favour if over unless with else
Naming/BlockParameterName: spec/spec_helper.cr#L71
Disallowed block parameter name found
Style/VerboseBlock: src/markd/utils.cr#L17
Use short block notation instead: `gsub(DECODE_ENTITIES_REGEX, &.[1].to_s)`
Naming/QueryBoolMethods: src/markd/options.cr#L45
Consider using 'property?' for 'emoji'
Style/NegatedConditionsInUnless: src/markd/rules/list.cr#L11
Avoid negated conditions in unless blocks
Style/NegatedConditionsInUnless: src/markd/rules/list.cr#L146
Avoid negated conditions in unless blocks
Style/ParenthesesAroundCondition: src/markd/rules/list.cr#L9
Redundant parentheses
Naming/QueryBoolMethods: src/markd/parsers/inline.cr#L875
Consider using 'property?' for 'image'
Naming/QueryBoolMethods: src/markd/parsers/inline.cr#L876
Consider using 'property?' for 'active'
Naming/QueryBoolMethods: src/markd/parsers/inline.cr#L877
Consider using 'property?' for 'bracket_after'
Naming/QueryBoolMethods: src/markd/parsers/inline.cr#L891
Consider using 'property?' for 'can_open'
Naming/QueryBoolMethods: src/markd/parsers/inline.cr#L892
Consider using 'property?' for 'can_close'
Style/RedundantReturn: src/markd/parsers/inline.cr#L753
Redundant `return` detected
Style/RedundantReturn: src/markd/parsers/inline.cr#L768
Redundant `return` detected
Style/RedundantReturn: src/markd/parsers/inline.cr#L784
Redundant `return` detected
Style/UnlessElse: src/markd/parsers/inline.cr#L332
Favour if over unless with else