diff --git a/commitlint.config.js b/commitlint.config.js deleted file mode 100644 index 26cc296..0000000 --- a/commitlint.config.js +++ /dev/null @@ -1,10 +0,0 @@ -export default { - extends: ['@commitlint/config-conventional'], - rules: { - 'body-max-line-length': [0], - 'footer-max-line-length': [0], - 'header-max-length': [0], - 'subject-case': [0], - 'subject-full-stop': [0], - }, -}; diff --git a/knip.json b/knip.json deleted file mode 100644 index cef2e5d..0000000 --- a/knip.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "$schema": "https://unpkg.com/knip@latest/schema.json", - "entry": ["src/index.ts!", "test/**/*.spec.ts!"], - "ignoreExportsUsedInFile": {"interface": true, "type": true}, - "project": ["src/**/*.ts!", "test/**/*.ts!"], - "ignoreDependencies": ["markdownlint-cli2-formatter-pretty"] -} diff --git a/package.json b/package.json index 76aea93..27b4430 100644 --- a/package.json +++ b/package.json @@ -102,6 +102,45 @@ "typescript-eslint": "7.18.0", "xstate": "5.17.1" }, + "commitlint": { + "extends": [ + "@commitlint/config-conventional" + ], + "rules": { + "body-max-line-length": [ + 0 + ], + "footer-max-line-length": [ + 0 + ], + "header-max-length": [ + 0 + ], + "subject-case": [ + 0 + ], + "subject-full-stop": [ + 0 + ] + } + }, + "knip": { + "entry": [ + "src/index.ts", + "test/**/*.spec.ts" + ], + "ignoreDependencies": [ + "markdownlint-cli2-formatter-pretty" + ], + "ignoreExportsUsedInFile": { + "interface": true, + "type": true + }, + "project": [ + "src/**/*.ts", + "test/**/*.ts" + ] + }, "lint-staged": { "*": [ "prettier --ignore-unknown --write",