UNPKG

@ws-frontend/eslint-plugin-angular

Version:

WS Frontend Angular ESLint Rules

25 lines (21 loc) 687 B
/** * @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 */ 'use strict'; const RULE = require('eslint/lib/rules/max-lines'); const RP_CONF = { meta: { docs: { description: 'Limit files to 400 lines of code', url: 'https://angular.io/guide/styleguide#rule-of-one', }, messages: { exceed: 'File has too many lines ({{ actual }}). Maximum allowed is {{ max }}', }, }, }; module.exports = {...RULE, ...RP_CONF};