File tree 4 files changed +6
-6
lines changed
lib/node_modules/@stdlib/_tools/repl-txt
4 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 19
19
'use strict' ;
20
20
21
21
/**
22
- * Lint rule to enforce that semicolons are omitted if output is not surpressed .
22
+ * Lint rule to enforce that semicolons are omitted if output is not suppressed .
23
23
*
24
24
* @module @stdlib /_tools/repl-txt/rules/code-semicolons
25
25
*
Original file line number Diff line number Diff line change @@ -26,14 +26,14 @@ var endsWith = require( '@stdlib/string/ends-with' );
26
26
// MAIN //
27
27
28
28
/**
29
- * Rule for enforcing that semicolons are omitted if output is not surpressed .
29
+ * Rule for enforcing that semicolons are omitted if output is not suppressed .
30
30
*
31
31
* @param {Context } context - lint context
32
32
* @returns {Object } validators
33
33
*/
34
34
function main ( context ) {
35
35
/**
36
- * Checks examples section for whether semicolons are always omitted if output is not surpressed .
36
+ * Checks examples section for whether semicolons are always omitted if output is not suppressed .
37
37
*
38
38
* @private
39
39
* @param {Object } section - examples section
@@ -47,7 +47,7 @@ function main( context ) {
47
47
for ( i = 0 ; i < examples . length ; i ++ ) {
48
48
current = examples [ i ] ;
49
49
if ( endsWith ( current . code , ';' ) && current . output ) {
50
- context . report ( 'Omit semicolons if output shall not be surpressed ' , section ) ;
50
+ context . report ( 'Omit semicolons if output shall not be suppressed ' , section ) ;
51
51
}
52
52
}
53
53
}
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @stdlib/_tools/repl-txt/rules/code-semicolons" ,
3
3
"version" : " 0.0.0" ,
4
- "description" : " Lint rule to enforce that semicolons are omitted if output is not surpressed ." ,
4
+ "description" : " Lint rule to enforce that semicolons are omitted if output is not suppressed ." ,
5
5
"license" : " Apache-2.0" ,
6
6
"author" : {
7
7
"name" : " The Stdlib Authors" ,
Original file line number Diff line number Diff line change @@ -129,7 +129,7 @@ function getWarnings() {
129
129
// MAIN //
130
130
131
131
/**
132
- * Creater a linter instance.
132
+ * Creates a linter instance.
133
133
*
134
134
* @private
135
135
*
You can’t perform that action at this time.
0 commit comments