Skip to content

maintenance but nothing new - #87

Open
MoOx wants to merge 1 commit into
mainfrom
maintenance
Open

MoOx wants to merge 1 commit into
mainfrom
maintenance

Conversation

@MoOx

@MoOx MoOx commented Sep 30, 2026

Copy link
Copy Markdown
Collaborator

No description provided.

Copilot AI balanced review requested due to automatic review settings September 30, 2026 07:07

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟡 Changes recommended

The test harness can hide failures, Node.js 18 is untested, and several output and documentation correctness issues remain.

Review effort: Balanced
Findings: 3 Medium severity · 1 Low severity

Open (4)
What changed in this PR

Modernizes project maintenance, testing, and documentation without changing the core API.

Changes:

  • Migrates from pnpm, Tape, and ESLint to npm, node:test, oxlint, and oxfmt.
  • Reorganizes automated tests and replaces the visual fixture with a standalone script.
  • Refreshes package metadata, CI, documentation, and Node.js support.
File Description
.editorconfig Removes legacy editor settings.
.eslintignore Removes ESLint exclusions.
.eslintrc Removes ESLint configuration.
.gitattributes Enforces LF normalization.
.github/​workflows/​test.yml Migrates CI to npm and a platform matrix.
.node-version Selects Node.js 24.
CHANGELOG.md Documents maintenance changes.
README.md Refreshes badges, examples, and metadata.
index.js Applies formatting changes.
lib/​formatter.js Reformats formatter implementation.
lib/​formatter.test.js Migrates formatter tests to node:test.
lib/​reporter.js Reformats reporter implementation.
lib/​reporter.test.js Migrates reporter tests to node:test.
lib/​util.js Reformats utility code.
package-lock.json Adds npm dependency lockfile.
package.json Updates tooling, scripts, metadata, and engines.
pnpm-lock.yaml Removes pnpm lockfile.
scripts/​visual.js Adds standalone visual verification script.
test/​fixtures/​forVisual.css Removes obsolete visual fixture.
test/​fixtures/​less-bar.less Removes obsolete Less fixture.
test/​fixtures/​less-foo.less Removes obsolete Less fixture.
test/​formatter.js Removes Tape formatter tests.
test/​index.js Removes legacy test entry point.
test/​lessIntegration.js Removes Less integration script.
test/​reporter.js Removes Tape reporter tests.
test/​visual.js Removes legacy visual script.
Files not reviewed (1)
  • pnpm-lock.yaml: Generated file

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

- 12
name: Node.js ${{ matrix.node-version }} Quick
os: [ubuntu-latest, windows-latest]
node-version: [lts/*, latest]
Comment thread lib/reporter.js
const summaryColor = errorCount > 0 ? "red" : "yellow";
const summarySymbol = errorCount > 0 ? util.errorSymbol : util.warningSymbol;
const summary = `${summarySymbol} ${messagesToLog.length} ${util.plur('problem', messagesToLog.length)} (${errorCount} ${util.plur('error')}, ${warningCount} ${util.plur('warning')})`
const summary = `${summarySymbol} ${messagesToLog.length} ${util.plur("problem", messagesToLog.length)} (${errorCount} ${util.plur("error")}, ${warningCount} ${util.plur("warning")})`;
Comment thread lib/reporter.test.js
Comment on lines +37 to +38
} catch (thrown) {
error = thrown;
Comment thread README.md
By default, the messages are formatted for human legibility and sorted according to the line/column positions attached to the messages. But another formatting function can be passed in with an option, and sorting can be turned off with an option.

*By default, only warnings are logged*. If you would like to see more messages, you can change the `filter` function.
_By default, only warnings are logged_. If you would like to see more messages, you can change the `filter` function.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants