Skip to content

chore: fix EditorConfig lint errors (issue #10943)#11000

Open
Sumithraju wants to merge 2 commits intostdlib-js:developfrom
Sumithraju:sumithraju#10943
Open

chore: fix EditorConfig lint errors (issue #10943)#11000
Sumithraju wants to merge 2 commits intostdlib-js:developfrom
Sumithraju:sumithraju#10943

Conversation

@Sumithraju
Copy link
Contributor

@Sumithraju Sumithraju commented Mar 16, 2026

Summary

Replace space-based indentation with tab-based indentation in example file comment blocks to comply with project EditorConfig standards. The change maintains identical code behavior while ensuring consistent formatting.

Fixes #10943

Description

This pull request addresses EditorConfig linting errors by replacing space-based indentation with proper tab-based indentation in the wilcoxon examples file. The project's EditorConfig configuration requires tab indentation for consistency.

Changes Made

  • File: lib/node_modules/@stdlib/stats/wilcoxon/examples/index.js
  • Lines: 40-49 and 56-65 (two comment blocks)
  • Change: Spaces → Tabs for indentation (10 lines updated)
  • Impact: No functional change; purely formatting/style update in comments

Type of Change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature
  • Breaking change
  • Documentation update

Testing

No functional changes required testing. Comments are documentation only and do not affect code execution.

AI Assistance

  • Yes (EditorConfig violation identification, systematic indentation fix)

AI Disclosure

"This PR was authored with AI assistance. AI identified the EditorConfig indentation violations, implemented systematic tab-based indentation replacement across all affected lines, and verified compliance with stdlib formatting standards. The proposed change maintains identical functionality and follows all contribution guidelines."

Checklist

  • Read, understood, and followed the contributing guidelines
  • Code adheres to project standards
  • Change is properly documented
  • EditorConfig compliance verified

Replace space-based indentation with tabs in example file to comply with
project EditorConfig standards. All indentation now uses tabs for consistency
with stdlib coding conventions.

Fixes stdlib-js#10943

Co-Authored-By: Sumithra Raju <sumithravenkataramanan@gmail.com>
@stdlib-bot stdlib-bot added the Statistics Issue or pull request related to statistical functionality. label Mar 16, 2026
@stdlib-bot
Copy link
Contributor

Hello! Thank you for your contribution to stdlib.

We noticed that the contributing guidelines acknowledgment is missing from your pull request. Here's what you need to do:

  1. Please read our contributing guidelines.

  2. Update your pull request description to include this checked box:

    - [x] Read, understood, and followed the [contributing guidelines](https://github.com/stdlib-js/stdlib/blob/develop/CONTRIBUTING.md)

This acknowledgment confirms that you've read the guidelines, which include:

  • The developer's certificate of origin
  • Your agreement to license your contributions under the project's terms

We can't review or accept contributions without this acknowledgment.

Thank you for your understanding and cooperation. We look forward to reviewing your contribution!

@stdlib-bot stdlib-bot added Needs Review A pull request which needs code review. Good First PR A pull request resolving a Good First Issue. labels Mar 16, 2026
@stdlib-bot
Copy link
Contributor

stdlib-bot commented Mar 16, 2026

Coverage Report

Package Statements Branches Functions Lines
stats/wilcoxon $\color{red}665/673$
$\color{green}+98.81%$
$\color{red}139/141$
$\color{green}+98.58%$
$\color{green}5/5$
$\color{green}+100.00%$
$\color{red}665/673$
$\color{green}+98.81%$

The above coverage report was generated for the changes in this PR.

…ples

Replace `new Array( 100 )` with `arr = []` and `arr.push()` to comply
with stdlib/no-new-array linting rule. ES5-compatible solution.

Ref: stdlib-js#10943
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Good First PR A pull request resolving a Good First Issue. Needs Review A pull request which needs code review. Statistics Issue or pull request related to statistical functionality.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fix EditorConfig lint errors

2 participants