xiaohui-zhangxh/editor_js

View on GitHub
lib/editor_js/blocks/paragraph_block.rb

Summary

Maintainability
A
0 mins
Test Coverage
A
100%

Add parentheses to nested method call Sanitize.fragment data['text'].
Open

        decode_html(Sanitize.fragment data['text']).strip

This cop checks for unparenthesized method calls in the argument list of a parenthesized method call.

Example:

# good
method1(method2(arg), method3(arg))

# bad
method1(method2 arg, method3, arg)

There are no issues that match your filters.

Category
Status