cleanup-configs #560
5 changed files with 19 additions and 21 deletions
|
@ -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 } },
|
|
||||||
],
|
|
||||||
};
|
|
|
@ -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
8
commitlint.config.js
Normal 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"] };
|
|
@ -93,5 +93,10 @@
|
||||||
"vitest": "3.0.6",
|
"vitest": "3.0.6",
|
||||||
"yargs": "17.7.2"
|
"yargs": "17.7.2"
|
||||||
},
|
},
|
||||||
"packageManager": "pnpm@10.4.1"
|
"packageManager": "pnpm@10.4.1",
|
||||||
|
"pnpm": {
|
||||||
|
"onlyBuiltDependencies": [
|
||||||
|
"@swc/core"
|
||||||
|
]
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,6 +2,11 @@
|
||||||
//
|
//
|
||||||
// SPDX-License-Identifier: MIT
|
// SPDX-License-Identifier: MIT
|
||||||
|
|
||||||
|
// @ts-check
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @type {import("prettier").Config}
|
||||||
|
*/
|
||||||
export default {
|
export default {
|
||||||
semi: true,
|
semi: true,
|
||||||
trailingComma: "all",
|
trailingComma: "all",
|
Loading…
Reference in a new issue