@nx/eslint-plugin 16.10.0-beta.0 → 16.10.0-beta.1

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": "@nx/eslint-plugin",
3
- "version": "16.10.0-beta.0",
3
+ "version": "16.10.0-beta.1",
4
4
  "private": false,
5
5
  "description": "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.",
6
6
  "repository": {
@@ -33,8 +33,8 @@
33
33
  }
34
34
  },
35
35
  "dependencies": {
36
- "@nx/devkit": "16.10.0-beta.0",
37
- "@nx/js": "16.10.0-beta.0",
36
+ "@nx/devkit": "16.10.0-beta.1",
37
+ "@nx/js": "16.10.0-beta.1",
38
38
  "@typescript-eslint/type-utils": "^5.60.1",
39
39
  "@typescript-eslint/utils": "^5.60.1",
40
40
  "chalk": "^4.1.0",
@@ -42,7 +42,7 @@
42
42
  "jsonc-eslint-parser": "^2.1.0",
43
43
  "semver": "7.5.3",
44
44
  "tslib": "^2.3.0",
45
- "@nrwl/eslint-plugin-nx": "16.10.0-beta.0"
45
+ "@nrwl/eslint-plugin-nx": "16.10.0-beta.1"
46
46
  },
47
47
  "publishConfig": {
48
48
  "access": "public"
@@ -24,7 +24,35 @@ exports.default = (0, create_eslint_rule_1.createESLintRule)({
24
24
  description: 'Checks common nx-plugin configuration files for validity',
25
25
  recommended: 'error',
26
26
  },
27
- schema: [],
27
+ schema: [
28
+ {
29
+ type: 'object',
30
+ properties: {
31
+ generatorsJson: {
32
+ type: 'string',
33
+ description: "The path to the project's generators.json file, relative to the project root",
34
+ },
35
+ executorsJson: {
36
+ type: 'string',
37
+ description: "The path to the project's executors.json file, relative to the project root",
38
+ },
39
+ migrationsJson: {
40
+ type: 'string',
41
+ description: "The path to the project's migrations.json file, relative to the project root",
42
+ },
43
+ packageJson: {
44
+ type: 'string',
45
+ description: "The path to the project's package.json file, relative to the project root",
46
+ },
47
+ allowedVersionStrings: {
48
+ type: 'array',
49
+ description: 'A list of specifiers that are valid for versions within package group. Defaults to ["*", "latest", "next"]',
50
+ items: { type: 'string' },
51
+ },
52
+ },
53
+ additionalProperties: false,
54
+ },
55
+ ],
28
56
  type: 'problem',
29
57
  messages: {
30
58
  invalidSchemaPath: 'Schema path should point to a valid file',