MeshChatX/knip.config.js

32 lines
958 B
JavaScript

/** @type {import("knip").KnipConfig} */
export default {
entry: [
"meshchatx/src/frontend/index.html",
"electron/preload.js",
"meshchatx/src/frontend/public/service-worker.js",
"scripts/**/*.{js,mjs,cjs}",
"tests/**/*.{js,cjs,mjs}",
],
project: [
"meshchatx/src/frontend/**/*.{js,vue}",
"electron/**/*.js",
"scripts/**/*.{js,mjs,cjs}",
"tests/**/*.{js,cjs,mjs}",
],
ignore: ["meshchatx/src/frontend/public/**", "electron/assets/**", "**/*.worklet.js"],
ignoreDependencies: ["@tailwindcss/forms"],
ignoreIssues: {
"meshchatx/src/frontend/js/reticulumPathfinding.js": ["unlisted"],
},
rules: {
binaries: "off",
dependencies: "error",
devDependencies: "off",
duplicates: "error",
exports: "off",
files: "off",
types: "off",
unlisted: "error",
unresolved: "off",
},
};