@addon24/eslint-config
Version:
ESLint configuration rules for WorldOfTextcraft projects - Centralized configuration for all project types
27 lines (23 loc) • 743 B
JavaScript
/**
* SonarJS Rules
*
* SonarJS-Regeln für Code-Qualität und Sicherheit
*/
export default {
rules: {
// SonarJS-Regeln (erweitert)
"sonarjs/no-all-duplicated-branches": "error",
"sonarjs/no-element-overwrite": "error",
"sonarjs/no-empty-collection": "error",
"sonarjs/no-extra-arguments": "error",
"sonarjs/no-identical-conditions": "error",
"sonarjs/no-identical-expressions": "error",
"sonarjs/no-ignored-return": "error",
"sonarjs/no-one-iteration-loop": "error",
"sonarjs/no-redundant-boolean": "error",
"sonarjs/no-redundant-jump": "error",
"sonarjs/no-same-line-conditional": "error",
"sonarjs/no-small-switch": "error",
"sonarjs/no-unused-collection": "error",
},
};