@addon24/eslint-config
Version:
ESLint configuration rules for WorldOfTextcraft projects - Centralized configuration for all project types
21 lines (19 loc) • 447 B
JavaScript
/**
* Complexity Rules
*
* Komplexitätsregeln für Backend-Projekte
*/
export default {
rules: {
// Complexity-Regeln - complexity rule removed
"max-depth": ["error", 4],
"max-nested-callbacks": ["error", 3],
"max-params": "off", // NestJS-Controller haben oft viele Parameter
"max-lines-per-function": ["error", {
max: 60,
skipBlankLines: true,
skipComments: true,
IIFEs: true,
}],
},
};