cleanup-configs #560

Merged
saluu merged 3 commits from cleanup-configs into main 2025-02-22 20:58:41 +01:00
5 changed files with 19 additions and 21 deletions
Showing only changes of commit 0e74e43b91 - Show all commits

View file

@ -1,15 +0,0 @@
// SPDX-FileCopyrightText: 2021 Johannes Loher
//
// SPDX-License-Identifier: MIT
module.exports = {
parser: "@typescript-eslint/parser",
parserOptions: { ecmaVersion: 2020, sourceType: "module" },
env: { browser: true },
extends: ["plugin:@typescript-eslint/recommended", "prettier"],
plugins: ["@typescript-eslint"],
overrides: [
{ files: ["./*.cjs"], rules: { "@typescript-eslint/no-var-requires": "off" } },
{ files: ["./spec/**/*"], env: { browser: false } },
],
};

View file

@ -1,5 +0,0 @@
// SPDX-FileCopyrightText: 2021 Johannes Loher
//
// SPDX-License-Identifier: MIT
module.exports = { extends: ["@commitlint/config-conventional"] };

8
commitlint.config.js Normal file
View file

@ -0,0 +1,8 @@
// SPDX-FileCopyrightText: 2021 Johannes Loher
//
// SPDX-License-Identifier: MIT
/**
* @type {import("@commitlint/types").UserConfig}
*/
export default { extends: ["@commitlint/config-conventional"] };

View file

@ -93,5 +93,10 @@
"vitest": "3.0.6",
"yargs": "17.7.2"
},
"packageManager": "pnpm@10.4.1"
"packageManager": "pnpm@10.4.1",
"pnpm": {
"onlyBuiltDependencies": [
"@swc/core"
]
}
}

View file

@ -2,6 +2,11 @@
//
// SPDX-License-Identifier: MIT
// @ts-check
/**
* @type {import("prettier").Config}
*/
export default {
semi: true,
trailingComma: "all",