Skip to content

Commit 04f0bc0

Browse files
committed
chore: remove lint directive in example and update wording
1 parent 608b63c commit 04f0bc0

File tree

3 files changed

+2
-6
lines changed

3 files changed

+2
-6
lines changed

lib/node_modules/@stdlib/_tools/eslint/rules/repl-namespace-order/README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,8 +117,6 @@ var result;
117117
var code;
118118

119119
code = [
120-
'/* eslint-enable stdlib/repl-namespace-order */',
121-
'',
122120
'/* When adding names to the namespace, ensure that they are added in alphabetical order according to alias (namespace key). */',
123121
'',
124122
'ns.push({',

lib/node_modules/@stdlib/_tools/eslint/rules/repl-namespace-order/examples/index.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,6 @@ var result;
2626
var code;
2727

2828
code = [
29-
'/* eslint-enable stdlib/repl-namespace-order */',
30-
'',
3129
'/* When adding names to the namespace, ensure that they are added in alphabetical order according to alias (namespace key). */',
3230
'',
3331
'ns.push({',

lib/node_modules/@stdlib/_tools/eslint/rules/repl-namespace-order/lib/main.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ function main( context ) {
129129
}
130130

131131
/**
132-
* Checks whether the packages are added to REPL namespace object in alphabetical order according to alias (namespace key).
132+
* Checks whether the packages are added to a REPL namespace object in alphabetical order according to alias (namespace key).
133133
*
134134
* @private
135135
*/
@@ -151,7 +151,7 @@ function main( context ) {
151151
}
152152

153153
/**
154-
* Collects all expressions which add a package to REPL namespace.
154+
* Collects all expressions which add a package to a REPL namespace.
155155
*
156156
* @private
157157
* @param {ASTNode} node - node to examine

0 commit comments

Comments
 (0)