Skip to content

Commit 121fdcb

Browse files
authored
chore: fix JavaScript lint errors (issue #10621)
PR-URL: #10623 Closes: #10621 Reviewed-by: Philipp Burckhardt <pburckhardt@outlook.com>
1 parent b2dc6c7 commit 121fdcb

File tree

2 files changed

+20
-21
lines changed
  • lib/node_modules/@stdlib

2 files changed

+20
-21
lines changed

lib/node_modules/@stdlib/_tools/eslint/rules/jsdoc-table-cell-padding/lib/main.js

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,26 @@ var rule;
4040

4141
// FUNCTIONS //
4242

43+
/**
44+
* Copies AST node location info.
45+
*
46+
* @private
47+
* @param {Object} loc - AST node location
48+
* @returns {Object} copied location info
49+
*/
50+
function copyLocationInfo( loc ) {
51+
return {
52+
'start': {
53+
'line': loc.start.line,
54+
'column': loc.start.column
55+
},
56+
'end': {
57+
'line': loc.end.line,
58+
'column': loc.end.column
59+
}
60+
};
61+
}
62+
4363
/**
4464
* Rule to require Markdown table cells in JSDoc descriptions to be correctly padded.
4565
*
@@ -115,26 +135,6 @@ function main( context ) {
115135
}
116136
}
117137

118-
/**
119-
* Copies AST node location info.
120-
*
121-
* @private
122-
* @param {Object} loc - AST node location
123-
* @returns {Object} copied location info
124-
*/
125-
function copyLocationInfo( loc ) {
126-
return {
127-
'start': {
128-
'line': loc.start.line,
129-
'column': loc.start.column
130-
},
131-
'end': {
132-
'line': loc.end.line,
133-
'column': loc.end.column
134-
}
135-
};
136-
}
137-
138138
/**
139139
* Reports an error message.
140140
*

lib/node_modules/@stdlib/blas/base/dgemv/test/test.ndarray.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ var cxpyp = require( './fixtures/column_major_xpyp.json' );
4444
var cx = require( './fixtures/column_major_x_zeros.json' );
4545
var cxb = require( './fixtures/column_major_x_zeros_beta_one.json' );
4646
var ca = require( './fixtures/column_major_alpha_zero.json' );
47-
4847
var rap = require( './fixtures/row_major_complex_access_pattern.json' );
4948
var rnt = require( './fixtures/row_major_nt.json' );
5049
var rt = require( './fixtures/row_major_t.json' );

0 commit comments

Comments
 (0)