Skip to content

Commit 31ef3e7

Browse files
committed
build: rewrite to fix scope handling in lint rule
--- 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: na - 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: na - task: lint_typescript_tests status: na - task: lint_license_headers status: passed ---
1 parent f40e7ce commit 31ef3e7

File tree

4 files changed

+393
-207
lines changed

4 files changed

+393
-207
lines changed

lib/node_modules/@stdlib/_tools/eslint/rules/no-unnecessary-nested-functions/examples/index.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,11 +51,12 @@ console.log( out );
5151
{
5252
'ruleId': 'no-unnecessary-nested-functions',
5353
'severity': 2,
54-
'message': 'Function declaration \'inner\' does not use outer scope variables and should be moved to module scope.',
54+
'message': 'Function \'inner\' should be moved to module scope.',
5555
'line': 2,
5656
'column': 3,
5757
'nodeType': 'FunctionDeclaration',
58-
...
58+
'endLine': 4,
59+
'endColumn': 4
5960
}
6061
]
6162
*/

0 commit comments

Comments
 (0)