Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ indent_style = tab

[{.*rc,*.yml,*.md,*.json,*.svg}]
indent_style = space
indent_size = 2

[*.md]
trim_trailing_whitespace = false
File renamed without changes.
64 changes: 64 additions & 0 deletions .oxlintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
{
"$schema": "./node_modules/oxlint/configuration_schema.json",

// Migrated from eslint.config.mjs (ESLint v10 flat config).
// Note: oxlint and oxfmt require Node >= 20. The repo's engines field
// (>=v18) applies to the published packages. CI runs lint/format on
// Node 22 (lts/*). Local development requires Node >= 20 for linting.
//
// Unmappable rules (not available in oxlint):
// - import/no-extraneous-dependencies: validates imports are declared in
// package.json. "lerna run deps" provides partial coverage.
// - valid-expect-in-promise: no oxlint equivalent exists.
//
Comment thread
escapedcat marked this conversation as resolved.
// The old config spread @vitest/eslint-plugin's recommended rules (16 rules
// like expect-expect, no-focused-tests, no-identical-title, valid-expect,
// etc.). In oxlint these live under the "jest" plugin, but enabling it
// causes an irreconcilable conflict with vitest/max-nested-describe.
// Revisit when oxlint resolves the jest/vitest plugin interaction.

"ignorePatterns": ["**/lib/", "**/coverage/", "**/node_modules/", "**/fixtures/", "**/dist/"],
"env": {
"node": true
},
"plugins": ["typescript", "import", "vitest"],
"rules": {
"import/default": "off",
"import/first": "error",
"import/no-absolute-path": "error",
"import/no-amd": "error",
"import/no-mutable-exports": "error",
"import/no-named-default": "error",
"import/no-self-import": "error",

Comment thread
escapedcat marked this conversation as resolved.
"typescript/no-unused-vars": "off",
"typescript/no-use-before-define": "off",
"typescript/no-explicit-any": "off",
"typescript/explicit-function-return-type": "off",
"typescript/no-var-requires": "off",
"typescript/no-inferrable-types": "off",
"typescript/no-non-null-assertion": "off",
"typescript/triple-slash-reference": "off",

"vitest/hoisted-apis-on-top": "off",
"vitest/max-nested-describe": ["error", { "max": 3 }],
"vitest/require-mock-type-parameters": "off"
},
"overrides": [
Comment thread
escapedcat marked this conversation as resolved.
{
// Match the old ESLint config which only disabled these for TS files
"files": ["**/*.ts", "**/*.cts"],
"rules": {
"no-empty": "off",
"no-var": "off"
}
},
{
"files": ["**/*.test.ts", "**/*.test.js"],
"rules": {
"import/first": "off",
"vitest/no-import-node-test": "error"
}
}
]
}
40 changes: 20 additions & 20 deletions @alias/commitlint-config-angular/package.json
Original file line number Diff line number Diff line change
@@ -1,40 +1,40 @@
{
"name": "commitlint-config-angular",
"type": "module",
"version": "20.5.0",
"gitHead": "e82f05a737626bb69979d14564f5ff601997f679",
"description": "Shareable commitlint config enforcing the angular commit convention",
"files": [
"index.js"
"keywords": [
"angular",
"commitlint",
"commitlint-config",
"conventional-changelog"
],
"scripts": {
"deps": "dep-check",
"pkg": "pkg-check"
"homepage": "https://commitlint.js.org/",
"bugs": {
"url": "https://github.com/conventional-changelog/commitlint/issues"
},
"license": "MIT",
"author": "Mario Nebl <hello@herebecode.com>",
"repository": {
"type": "git",
"url": "https://github.com/conventional-changelog/commitlint.git",
"directory": "@alias/commitlint-config-angular"
},
"keywords": [
"conventional-changelog",
"commitlint",
"commitlint-config",
"angular"
"files": [
"index.js"
],
"author": "Mario Nebl <hello@herebecode.com>",
"license": "MIT",
"bugs": {
"url": "https://github.com/conventional-changelog/commitlint/issues"
},
"homepage": "https://commitlint.js.org/",
"engines": {
"node": ">=v18"
"type": "module",
"scripts": {
"deps": "dep-check",
"pkg": "pkg-check"
},
"dependencies": {
"@commitlint/config-angular": "^20.5.0"
},
"devDependencies": {
"@commitlint/utils": "^20.0.0"
},
"gitHead": "e82f05a737626bb69979d14564f5ff601997f679"
"engines": {
"node": ">=v18"
}
}
40 changes: 20 additions & 20 deletions @alias/commitlint-config-lerna-scopes/package.json
Original file line number Diff line number Diff line change
@@ -1,40 +1,40 @@
{
"name": "commitlint-config-lerna-scopes",
"type": "module",
"version": "20.4.3",
"gitHead": "e82f05a737626bb69979d14564f5ff601997f679",
"description": "Shareable commitlint config enforcing lerna package names as scopes",
"files": [
"index.js"
"keywords": [
"angular",
"commitlint",
"commitlint-config",
"conventional-changelog"
],
"scripts": {
"deps": "dep-check",
"pkg": "pkg-check"
"homepage": "https://commitlint.js.org/",
"bugs": {
"url": "https://github.com/conventional-changelog/commitlint/issues"
},
"license": "MIT",
"author": "Mario Nebl <hello@herebecode.com>",
"repository": {
"type": "git",
"url": "https://github.com/conventional-changelog/commitlint.git",
"directory": "@alias/commitlint-config-lerna-scopes"
},
"keywords": [
"conventional-changelog",
"commitlint",
"commitlint-config",
"angular"
"files": [
"index.js"
],
"author": "Mario Nebl <hello@herebecode.com>",
"license": "MIT",
"bugs": {
"url": "https://github.com/conventional-changelog/commitlint/issues"
},
"homepage": "https://commitlint.js.org/",
"engines": {
"node": ">=v18"
"type": "module",
"scripts": {
"deps": "dep-check",
"pkg": "pkg-check"
},
"dependencies": {
"@commitlint/config-lerna-scopes": "^20.4.3"
},
"devDependencies": {
"@commitlint/utils": "^20.0.0"
},
"gitHead": "e82f05a737626bb69979d14564f5ff601997f679"
"engines": {
"node": ">=v18"
}
}
40 changes: 20 additions & 20 deletions @alias/commitlint-config-nx-scopes/package.json
Original file line number Diff line number Diff line change
@@ -1,40 +1,40 @@
{
"name": "commitlint-config-nx-scopes",
"type": "module",
"version": "20.5.0",
"gitHead": "e82f05a737626bb69979d14564f5ff601997f679",
"description": "Shareable commitlint config enforcing nx project names as scopes",
"files": [
"index.js"
],
"scripts": {
"deps": "dep-check",
"pkg": "pkg-check"
},
"repository": {
"type": "git",
"url": "https://github.com/conventional-changelog/commitlint.git",
"directory": "@alias/commitlint-config-nx-scopes"
},
"keywords": [
"conventional-changelog",
"commitlint",
"commitlint-config",
"conventional-changelog",
"nx"
],
"author": "Florian Guitton <florian@secretarium.com>",
"license": "MIT",
"homepage": "https://commitlint.js.org/",
"bugs": {
"url": "https://github.com/conventional-changelog/commitlint/issues"
},
"homepage": "https://commitlint.js.org/",
"engines": {
"node": ">=v18"
"license": "MIT",
"author": "Florian Guitton <florian@secretarium.com>",
"repository": {
"type": "git",
"url": "https://github.com/conventional-changelog/commitlint.git",
"directory": "@alias/commitlint-config-nx-scopes"
},
"files": [
"index.js"
],
"type": "module",
"scripts": {
"deps": "dep-check",
"pkg": "pkg-check"
},
"dependencies": {
"@commitlint/config-nx-scopes": "^20.5.0"
},
"devDependencies": {
"@commitlint/utils": "^20.0.0"
},
"gitHead": "e82f05a737626bb69979d14564f5ff601997f679"
"engines": {
"node": ">=v18"
}
}
40 changes: 20 additions & 20 deletions @alias/commitlint-config-patternplate/package.json
Original file line number Diff line number Diff line change
@@ -1,40 +1,40 @@
{
"name": "commitlint-config-patternplate",
"type": "module",
"version": "20.5.0",
"gitHead": "e82f05a737626bb69979d14564f5ff601997f679",
"description": "Lint your commits, patternplate-style",
"files": [
"index.js"
"keywords": [
"angular",
"commitlint",
"commitlint-config",
"conventional-changelog"
],
"scripts": {
"deps": "dep-check",
"pkg": "pkg-check"
"homepage": "https://commitlint.js.org/",
"bugs": {
"url": "https://github.com/conventional-changelog/commitlint/issues"
},
"license": "MIT",
"author": "Mario Nebl <hello@herebecode.com>",
"repository": {
"type": "git",
"url": "https://github.com/conventional-changelog/commitlint.git",
"directory": "@alias/commitlint-config-patternplate"
},
"keywords": [
"conventional-changelog",
"commitlint",
"commitlint-config",
"angular"
"files": [
"index.js"
],
"author": "Mario Nebl <hello@herebecode.com>",
"license": "MIT",
"bugs": {
"url": "https://github.com/conventional-changelog/commitlint/issues"
},
"homepage": "https://commitlint.js.org/",
"engines": {
"node": ">=v18"
"type": "module",
"scripts": {
"deps": "dep-check",
"pkg": "pkg-check"
},
"dependencies": {
"@commitlint/config-patternplate": "^20.5.0"
},
"devDependencies": {
"@commitlint/utils": "^20.0.0"
},
"gitHead": "e82f05a737626bb69979d14564f5ff601997f679"
"engines": {
"node": ">=v18"
}
}
46 changes: 23 additions & 23 deletions @alias/commitlint/package.json
Original file line number Diff line number Diff line change
@@ -1,40 +1,38 @@
{
"name": "commitlint",
"type": "module",
"version": "20.5.0",
"gitHead": "e82f05a737626bb69979d14564f5ff601997f679",
"description": "Lint your commit messages",
"files": [
"cli.js"
"keywords": [
"cli",
"commitlint",
"conventional-changelog"
],
"bin": {
"commitlint": "cli.js"
},
"scripts": {
"deps": "dep-check",
"pkg": "pkg-check --skip-main"
"homepage": "https://commitlint.js.org/",
"bugs": {
"url": "https://github.com/conventional-changelog/commitlint/issues"
},
"engines": {
"node": ">=v18"
"license": "MIT",
"author": {
"name": "Mario Nebl",
"email": "hello@herebecode.com"
},
"repository": {
"type": "git",
"url": "https://github.com/conventional-changelog/commitlint.git",
"directory": "@alias/commitlint"
},
"bugs": {
"url": "https://github.com/conventional-changelog/commitlint/issues"
"bin": {
"commitlint": "cli.js"
},
"homepage": "https://commitlint.js.org/",
"keywords": [
"conventional-changelog",
"commitlint",
"cli"
"files": [
"cli.js"
],
"author": {
"name": "Mario Nebl",
"email": "hello@herebecode.com"
"type": "module",
"scripts": {
"deps": "dep-check",
"pkg": "pkg-check --skip-main"
},
"license": "MIT",
"dependencies": {
"@commitlint/cli": "^20.5.0",
"@commitlint/types": "^20.5.0"
Expand All @@ -44,5 +42,7 @@
"@commitlint/utils": "^20.0.0",
"tinyexec": "^1.0.0"
},
"gitHead": "e82f05a737626bb69979d14564f5ff601997f679"
"engines": {
"node": ">=v18"
}
}
6 changes: 3 additions & 3 deletions @commitlint/cli/index.cjs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
'use strict';
"use strict";

const path = require('node:path');
const path = require("node:path");

module.exports = path.join(__dirname, 'cli.js');
module.exports = path.join(__dirname, "cli.js");
Loading