@ws-frontend/eslint-plugin-angular
Version:
WS Frontend Angular ESLint Rules
25 lines (21 loc) • 744 B
JavaScript
/**
* @license
* Copyright Trilogy Enterprises, Inc (WS Frontend) - All Rights Reserved.
*
* This file is part of Rapid Engineering QC project.
* Unauthorized copying of this file, via any medium is strictly prohibited - Proprietary and confidential
*/
;
const RULE = require('eslint/lib/rules/max-lines-per-function');
const RP_CONF = {
meta: {
docs: {
description: 'Do define small functions limiting them to no more than 75 lines',
url: 'https://angular.io/guide/styleguide#small-functions',
},
messages: {
exceed: '{{name}} has too many lines ({{lineCount}}). Maximum allowed is {{maxLines}}',
},
},
};
module.exports = {...RULE, ...RP_CONF};