UNPKG

@nx/eslint-plugin

Version:

The eslint-plugin package is an ESLint plugin that contains a collection of recommended ESLint rule configurations which you can extend from in your own ESLint configs, as well as an Nx-specific lint rule called enforce-module-boundaries.

28 lines (27 loc) 829 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); /** * This configuration is intended to be applied to ALL .ts files in Angular * projects within an Nx workspace. * * It should therefore NOT contain any rules or plugins which are related to * Angular Templates, or more cross-cutting concerns which are not specific * to Angular. * * This configuration is intended to be combined with other configs from this * package. */ exports.default = { env: { browser: true, es6: true, node: true, }, plugins: ['@angular-eslint'], extends: ['plugin:@angular-eslint/recommended'], parserOptions: { // Unset the default value for parserOptions.project that is found in earlier versions of @angular-eslint project: [], }, rules: {}, };