Skip to content

Commit 0472076

Browse files
committed
docs: remove duplicated words in documentation and comments
--- type: pre_commit_static_analysis_report description: Results of running static analysis checks when committing changes. report: - task: lint_filenames status: passed - task: lint_editorconfig status: passed - task: lint_markdown status: passed - task: lint_package_json status: na - task: lint_repl_help status: na - task: lint_javascript_src status: passed - task: lint_javascript_cli status: na - task: lint_javascript_examples status: na - task: lint_javascript_tests status: passed - task: lint_javascript_benchmarks status: na - task: lint_python status: na - task: lint_r status: na - task: lint_c_src status: na - task: lint_c_examples status: na - task: lint_c_benchmarks status: na - task: lint_c_tests_fixtures status: na - task: lint_shell status: na - task: lint_typescript_declarations status: passed - task: lint_typescript_tests status: na - task: lint_license_headers status: passed ---
1 parent 57ab662 commit 0472076

File tree

18 files changed

+23
-23
lines changed

18 files changed

+23
-23
lines changed

lib/node_modules/@stdlib/_tools/eslint/rules/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ var eslint = rules;
7575
- <span class="signature">[`no-error-string-concat`][@stdlib/_tools/eslint/rules/no-error-string-concat]</span><span class="delimiter">: </span><span class="description">ESLint rule disallowing string concatenation in error messages.</span>
7676
- <span class="signature">[`no-immediate-require`][@stdlib/_tools/eslint/rules/no-immediate-require]</span><span class="delimiter">: </span><span class="description">ESLint rule enforcing that `require()` expressions are not immediately invoked.</span>
7777
- <span class="signature">[`no-internal-require`][@stdlib/_tools/eslint/rules/no-internal-require]</span><span class="delimiter">: </span><span class="description">ESLint rule disallowing `require()` calls into internals of another stdlib package.</span>
78-
- <span class="signature">[`no-multiple-empty-lines`][@stdlib/_tools/eslint/rules/no-multiple-empty-lines]</span><span class="delimiter">: </span><span class="description">ESLint rule to enforce that that code does not contain multiple blank lines.</span>
78+
- <span class="signature">[`no-multiple-empty-lines`][@stdlib/_tools/eslint/rules/no-multiple-empty-lines]</span><span class="delimiter">: </span><span class="description">ESLint rule to enforce that code does not contain multiple blank lines.</span>
7979
- <span class="signature">[`no-nested-require`][@stdlib/_tools/eslint/rules/no-nested-require]</span><span class="delimiter">: </span><span class="description">ESLint rule enforcing that one does not use nested property access for `require()` expressions.</span>
8080
- <span class="signature">[`no-new-array`][@stdlib/_tools/eslint/rules/no-new-array]</span><span class="delimiter">: </span><span class="description">ESLint rule disallowing the use of the `new Array()` constructor.</span>
8181
- <span class="signature">[`no-redeclare`][@stdlib/_tools/eslint/rules/no-redeclare]</span><span class="delimiter">: </span><span class="description">ESLint rule disallowing variable redeclarations.</span>

lib/node_modules/@stdlib/_tools/eslint/rules/jsdoc-doctest/test/fixtures/valid.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -456,7 +456,7 @@ test = {
456456
'* @param {(string|RegExp)} search - search expression',
457457
'* @param {(string|Function)} newval - replacement value or function',
458458
'* @throws {TypeError} first argument must be a string',
459-
'* @throws {TypeError} second argument argument must be a string or regular expression',
459+
'* @throws {TypeError} second argument must be a string or regular expression',
460460
'* @throws {TypeError} third argument must be a string or function',
461461
'* @returns {string} new string containing replacement(s)',
462462
'*',

lib/node_modules/@stdlib/_tools/eslint/rules/no-multiple-empty-lines/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ limitations under the License.
2020

2121
# no-multiple-empty-lines
2222

23-
> [ESLint rule][eslint-rules] to enforce that that code does not contain multiple blank lines.
23+
> [ESLint rule][eslint-rules] to enforce that code does not contain multiple blank lines.
2424
2525
<section class="intro">
2626

@@ -66,9 +66,9 @@ function maxabs( x, y ) {
6666
if ( nargs === 2 ) {
6767
return max( abs( x ), abs( y ) );
6868
}
69-
args = new Array( nargs );
69+
args = [];
7070
for ( i = 0; i < nargs; i++ ) {
71-
args[ i ] = abs( arguments[ i ] );
71+
args.push( abs( arguments[ i ] ) );
7272
}
7373

7474

@@ -99,9 +99,9 @@ function maxabs( x, y ) {
9999
if ( nargs === 2 ) {
100100
return max( abs( x ), abs( y ) );
101101
}
102-
args = new Array( nargs );
102+
args = [];
103103
for ( i = 0; i < nargs; i++ ) {
104-
args[ i ] = abs( arguments[ i ] );
104+
args.push( abs( arguments[ i ] ) );
105105
}
106106
return max.apply( null, args );
107107
}

lib/node_modules/@stdlib/array/filled-by/lib/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ function filledarrayBy() {
308308
throw new TypeError( format( 'invalid argument. Callback argument must be a function. Value: `%s`.', clbk ) );
309309
}
310310
}
311-
// If were were only provided 2 arguments and the last argument was not a function, we've been provided an insufficient number of arguments...
311+
// If we were only provided 2 arguments and the last argument was not a function, we've been provided an insufficient number of arguments...
312312
else {
313313
throw new TypeError( 'invalid arguments. Must provide a length, typed array, array-like object, or an iterable.' );
314314
}

lib/node_modules/@stdlib/assert/is-localhost/lib/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
'use strict';
2020

2121
/**
22-
* Test whether a value is is a localhost hostname.
22+
* Test whether a value is a localhost hostname.
2323
*
2424
* @module @stdlib/assert/is-localhost
2525
*

lib/node_modules/@stdlib/constants/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ var ns = constants;
3939
// returns {...}
4040
```
4141

42-
Constants are split across the the following sub-namespaces:
42+
Constants are split across the following sub-namespaces:
4343

4444
<!-- <toc pattern="*"> -->
4545

lib/node_modules/@stdlib/iter/cusome/test/test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ tape( 'the function returns an iterator which cumulatively tests whether at leas
175175
t.end();
176176
});
177177

178-
tape( 'if an upstream iterator iterator does not return at least `n` truthy values, the function returns an iterator which returns all falsy values', function test( t ) {
178+
tape( 'if an upstream iterator does not return at least `n` truthy values, the function returns an iterator which returns all falsy values', function test( t ) {
179179
var expected;
180180
var actual;
181181
var values;

lib/node_modules/@stdlib/math/base/special/kernel-betainc/lib/beta_small_b_large_a_series.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ var regularizedGammaPrefix = require( './regularized_gamma_prefix.js' );
4848

4949
// VARIABLES //
5050

51-
var p = new Array( 30 );
51+
var p = new Array( 30 ); // eslint-disable-line stdlib/no-new-array
5252

5353

5454
// MAIN //
@@ -96,7 +96,7 @@ function betaSmallBLargeASeries( a, b, x, y, s0, mult, normalized ) {
9696
}
9797
u = -t * lx;
9898

99-
// And from from 9.2:
99+
// And from 9.2:
100100
h = regularizedGammaPrefix( b, u );
101101
if ( h <= MIN_VALUE ) {
102102
return s0;

lib/node_modules/@stdlib/object/inverse-by/lib/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ var format = require( '@stdlib/string/format' );
4040
* @param {boolean} [opts.duplicates=true] - boolean indicating whether to store duplicate keys
4141
* @param {Function} transform - transform function
4242
* @throws {TypeError} first argument must be object-like
43-
* @throws {TypeError} options argument must an an object
43+
* @throws {TypeError} options argument must be an object
4444
* @throws {TypeError} last argument must be a function
4545
* @throws {TypeError} must provide valid options
4646
* @returns {Object} inverted object

lib/node_modules/@stdlib/object/inverse/lib/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ var format = require( '@stdlib/string/format' );
3838
* @param {Options} [opts] - function options
3939
* @param {boolean} [opts.duplicates=true] - boolean indicating whether to store duplicate keys
4040
* @throws {TypeError} first argument must be object-like
41-
* @throws {TypeError} second argument must an an object
41+
* @throws {TypeError} second argument must be an object
4242
* @throws {TypeError} must provide valid options
4343
* @returns {Object} inverted object
4444
*

0 commit comments

Comments
 (0)