UNPKG

angular-eslint

Version:

The tooling which enables ESLint to work with Angular projects

24 lines (23 loc) 836 B
"use strict"; /** * DO NOT EDIT THIS FILE * * In order to update this config, please run `pnpm update-rule-configs`. */ var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); const template_base_1 = __importDefault(require("./template-base")); exports.default = (plugin, parser) => [ (0, template_base_1.default)(plugin, parser), { name: 'angular-eslint/template-recommended', rules: { '@angular-eslint/template/banana-in-box': 'error', '@angular-eslint/template/eqeqeq': 'error', '@angular-eslint/template/no-negated-async': 'error', '@angular-eslint/template/prefer-control-flow': 'error', }, }, ];