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.

19 lines (18 loc) 811 B
/** * This configuration is intended to be applied to ALL .js and .jsx files * within an Nx workspace. * * It should therefore NOT contain any rules or plugins which are specific * to one ecosystem, such as React, Angular, Node etc. * * We use @typescript-eslint/parser rather than the built in JS parser * because that is what Nx ESLint configs have always done and we don't * want to change too much all at once. * * TODO: Evaluate switching to the built-in JS parser (espree) in Nx v11, * it should yield a performance improvement but could introduce subtle * breaking changes - we should also look to replace all the @typescript-eslint * related plugins and rules below. */ declare const _default: import("@typescript-eslint/utils/ts-eslint").FlatConfig.ConfigArray; export default _default;