Skip to content

Commit 0f14066

Browse files
committed
style: restore spaces around - operator in _tools/eslint/rules/line-closing-bracket-spacing
https://claude.ai/code/session_01PYMuhnRSCirT5T3Bn4o4Lj
1 parent 8634b93 commit 0f14066

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

  • lib/node_modules/@stdlib/_tools/eslint/rules/line-closing-bracket-spacing/lib

lib/node_modules/@stdlib/_tools/eslint/rules/line-closing-bracket-spacing/lib/main.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ function main( context ) {
8686
node.arguments.length > 0
8787
) {
8888
args = node.arguments;
89-
lastElem = args[ args.length-1 ];
89+
lastElem = args[ args.length - 1 ];
9090
if (
9191
lastElem &&
9292
lastElem.type === 'ObjectExpression' &&
@@ -105,7 +105,7 @@ function main( context ) {
105105
lastElem.type === 'ArrayExpression' &&
106106
lastElem.elements.length > 0
107107
) {
108-
elem = lastElem.elements[ lastElem.elements.length-1 ];
108+
elem = lastElem.elements[ lastElem.elements.length - 1 ];
109109
if (
110110
elem &&
111111
elem.type === 'ObjectExpression' &&
@@ -138,7 +138,7 @@ function main( context ) {
138138
node.type === 'ArrayExpression' &&
139139
node.elements.length > 0
140140
) {
141-
elem = node.elements[ node.elements.length-1 ];
141+
elem = node.elements[ node.elements.length - 1 ];
142142
if (
143143
elem &&
144144
elem.type === 'ObjectExpression' &&

0 commit comments

Comments
 (0)