Skip to content

Commit adbc303

Browse files
authored
style: don't break expressions
Signed-off-by: Athan <[email protected]>
1 parent 1a1fc84 commit adbc303

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

lib/node_modules/@stdlib/_tools/eslint/rules/tsdoc-declarations-doctest/lib/add_package_to_scope.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,7 @@ function addPackageToScope( scope, pkg, sourceText ) {
5454

5555
pkgType = typeof pkg;
5656
if ( pkgType === 'function' ) {
57-
match = sourceText.match( RE_DECLARE_FUNCTION ) ||
58-
sourceText.match( RE_DECLARE_VAR ) ||
59-
sourceText.match( RE_DECLARE_CLASS );
57+
match = sourceText.match( RE_DECLARE_FUNCTION ) || sourceText.match( RE_DECLARE_VAR ) || sourceText.match( RE_DECLARE_CLASS ); // eslint-disable-line max-len
6058
if ( match ) {
6159
scope[ match[1] ] = pkg;
6260
}

0 commit comments

Comments
 (0)