@nrwl/eslint-plugin-nx 13.6.1 → 13.7.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nrwl/eslint-plugin-nx",
3
- "version": "13.6.1",
3
+ "version": "13.7.3",
4
4
  "description": "ESLint Plugin for Nx",
5
5
  "repository": {
6
6
  "type": "git",
@@ -23,16 +23,27 @@
23
23
  },
24
24
  "homepage": "https://nx.dev",
25
25
  "peerDependencies": {
26
- "@typescript-eslint/parser": "~5.3.0",
26
+ "@typescript-eslint/parser": "~5.10.0",
27
27
  "eslint-config-prettier": "^8.1.0"
28
28
  },
29
+ "peerDependenciesMeta": {
30
+ "eslint-config-prettier": {
31
+ "optional": true
32
+ }
33
+ },
29
34
  "dependencies": {
30
- "@nrwl/devkit": "13.6.1",
31
- "@nrwl/workspace": "13.6.1",
35
+ "@nrwl/devkit": "13.7.3",
36
+ "@nrwl/workspace": "13.7.3",
32
37
  "@swc-node/register": "^1.4.2",
33
- "@typescript-eslint/experimental-utils": "~5.3.0",
38
+ "@typescript-eslint/experimental-utils": "~5.10.0",
34
39
  "chalk": "4.1.0",
35
40
  "confusing-browser-globals": "^1.0.9",
36
41
  "tsconfig-paths": "^3.9.0"
42
+ },
43
+ "optionalDependencies": {
44
+ "@swc/core-linux-x64-musl": "^1.2.136",
45
+ "@swc/core-linux-x64-gnu": "^1.2.136",
46
+ "@swc/core-linux-arm64-gnu": "^1.2.136",
47
+ "@swc/core-linux-arm64-musl": "^1.2.136"
37
48
  }
38
49
  }
@@ -20,10 +20,5 @@ declare const _default: {
20
20
  *
21
21
  * It should therefore NOT contain any rules or plugins which are specific
22
22
  * to one ecosystem, such as React, Angular, Node etc.
23
- *
24
- * NOTE: Currently the one exception to this is that there is an override for .tsx
25
- * for the @typescript-eslint/no-unused-vars rule for backwards compatibility
26
- * with the original root Nx ESlint config. This will be split out into a dedicated
27
- * tsx configuration in a follow up PR which handles overrides.
28
23
  */
29
24
  export default _default;
@@ -7,11 +7,6 @@ const app_root_1 = require("@nrwl/tao/src/utils/app-root");
7
7
  *
8
8
  * It should therefore NOT contain any rules or plugins which are specific
9
9
  * to one ecosystem, such as React, Angular, Node etc.
10
- *
11
- * NOTE: Currently the one exception to this is that there is an override for .tsx
12
- * for the @typescript-eslint/no-unused-vars rule for backwards compatibility
13
- * with the original root Nx ESlint config. This will be split out into a dedicated
14
- * tsx configuration in a follow up PR which handles overrides.
15
10
  */
16
11
  exports.default = {
17
12
  parser: '@typescript-eslint/parser',
@@ -1 +1 @@
1
- {"version":3,"file":"typescript.js","sourceRoot":"","sources":["../../../../../packages/eslint-plugin-nx/src/configs/typescript.ts"],"names":[],"mappings":";;AAAA,2DAA2D;AAE3D;;;;;;;;;;;GAWG;AACH,kBAAe;IACb,MAAM,EAAE,2BAA2B;IACnC,aAAa,EAAE;QACb,WAAW,EAAE,IAAI;QACjB,UAAU,EAAE,QAAQ;QACpB,eAAe,EAAE,sBAAW;KAC7B;IACD,OAAO,EAAE,CAAC,oBAAoB,CAAC;IAC/B,OAAO,EAAE;QACP,oBAAoB;QACpB,8CAA8C;QAC9C,uCAAuC;QACvC,UAAU;KACX;IACD,KAAK,EAAE;QACL,kDAAkD,EAAE,KAAK;QACzD,mDAAmD,EAAE,KAAK;QAC1D,kDAAkD,EAAE,KAAK;QACzD,4CAA4C,EAAE,KAAK;KACpD;CACF,CAAC"}
1
+ {"version":3,"file":"typescript.js","sourceRoot":"","sources":["../../../../../packages/eslint-plugin-nx/src/configs/typescript.ts"],"names":[],"mappings":";;AAAA,2DAA2D;AAE3D;;;;;;GAMG;AACH,kBAAe;IACb,MAAM,EAAE,2BAA2B;IACnC,aAAa,EAAE;QACb,WAAW,EAAE,IAAI;QACjB,UAAU,EAAE,QAAQ;QACpB,eAAe,EAAE,sBAAW;KAC7B;IACD,OAAO,EAAE,CAAC,oBAAoB,CAAC;IAC/B,OAAO,EAAE;QACP,oBAAoB;QACpB,8CAA8C;QAC9C,uCAAuC;QACvC,UAAU;KACX;IACD,KAAK,EAAE;QACL,kDAAkD,EAAE,KAAK;QACzD,mDAAmD,EAAE,KAAK;QAC1D,kDAAkD,EAAE,KAAK;QACzD,4CAA4C,EAAE,KAAK;KACpD;CACF,CAAC"}
@@ -10,5 +10,5 @@ declare type Options = [
10
10
  ];
11
11
  export declare type MessageIds = 'noRelativeOrAbsoluteImportsAcrossLibraries' | 'noSelfCircularDependencies' | 'noCircularDependencies' | 'noImportsOfApps' | 'noImportsOfE2e' | 'noImportOfNonBuildableLibraries' | 'noImportsOfLazyLoadedLibraries' | 'projectWithoutTagsCannotHaveDependencies' | 'tagConstraintViolation' | 'bannedExternalImportsViolation' | 'noTransitiveDependencies';
12
12
  export declare const RULE_NAME = "enforce-module-boundaries";
13
- declare const _default: import("@typescript-eslint/experimental-utils/dist/ts-eslint/Rule").RuleModule<MessageIds, Options, import("@typescript-eslint/experimental-utils/dist/ts-eslint/Rule").RuleListener>;
13
+ declare const _default: import("@typescript-eslint/utils/dist/ts-eslint/Rule").RuleModule<MessageIds, Options, import("@typescript-eslint/utils/dist/ts-eslint/Rule").RuleListener>;
14
14
  export default _default;
@@ -1,14 +1,2 @@
1
- export declare const createESLintRule: <TOptions extends readonly unknown[], TMessageIds extends string, TRuleListener extends import("@typescript-eslint/experimental-utils/dist/ts-eslint/Rule").RuleListener = import("@typescript-eslint/experimental-utils/dist/ts-eslint/Rule").RuleListener>({ name, meta, defaultOptions, create, }: Readonly<{
2
- name: string;
3
- meta: {
4
- docs: {
5
- description: string;
6
- recommended: false | "warn" | "error";
7
- suggestion?: boolean;
8
- requiresTypeChecking?: boolean;
9
- extendsBaseRule?: string | boolean;
10
- };
11
- } & Omit<import("@typescript-eslint/experimental-utils/dist/ts-eslint/Rule").RuleMetaData<TMessageIds>, "docs">;
12
- defaultOptions: Readonly<TOptions>;
13
- create: (context: Readonly<import("@typescript-eslint/experimental-utils/dist/ts-eslint/Rule").RuleContext<TMessageIds, TOptions>>, optionsWithDefault: Readonly<TOptions>) => TRuleListener;
14
- }>) => import("@typescript-eslint/experimental-utils/dist/ts-eslint/Rule").RuleModule<TMessageIds, TOptions, TRuleListener>;
1
+ import { ESLintUtils } from '@typescript-eslint/experimental-utils';
2
+ export declare const createESLintRule: <TOptions extends readonly unknown[], TMessageIds extends string, TRuleListener extends import("@typescript-eslint/utils/dist/ts-eslint/Rule").RuleListener = import("@typescript-eslint/utils/dist/ts-eslint/Rule").RuleListener>({ name, meta, ...rule }: Readonly<ESLintUtils.RuleWithMetaAndName<TOptions, TMessageIds, TRuleListener>>) => import("@typescript-eslint/utils/dist/ts-eslint/Rule").RuleModule<TMessageIds, TOptions, TRuleListener>;