@nrwl/linter 13.10.2 → 14.0.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/README.md CHANGED
@@ -77,6 +77,6 @@ A few links to help you get started:
77
77
  - [Official Nx YouTube Channel](https://www.youtube.com/c/Nrwl_io)
78
78
  - [Blog Posts About Nx](https://blog.nrwl.io/nx/home)
79
79
 
80
- <p style="text-align: center;"><a href="https://nx.dev/#learning-materials" target="_blank"><img src="https://raw.githubusercontent.com/nrwl/nx/master/images/nx-courses-and-videos.svg"
80
+ <p style="text-align: center;"><a href="https://nx.dev/#learning-materials" target="_blank" rel="noreferrer"><img src="https://raw.githubusercontent.com/nrwl/nx/master/images/nx-courses-and-videos.svg"
81
81
  width="100%" alt="Nx - Smart, Fast and Extensible Build System"></a></p>
82
82
 
package/index.d.ts CHANGED
@@ -2,3 +2,4 @@ export { lintProjectGenerator } from './src/generators/lint-project/lint-project
2
2
  export { lintInitGenerator } from './src/generators/init/init';
3
3
  export { Linter } from './src/generators/utils/linter';
4
4
  export * from './src/utils/convert-tslint-to-eslint';
5
+ export { hasRulesRequiringTypeChecking } from './src/utils/rules-requiring-type-checking';
package/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Linter = exports.lintInitGenerator = exports.lintProjectGenerator = void 0;
3
+ exports.hasRulesRequiringTypeChecking = exports.Linter = exports.lintInitGenerator = exports.lintProjectGenerator = void 0;
4
4
  const tslib_1 = require("tslib");
5
5
  var lint_project_1 = require("./src/generators/lint-project/lint-project");
6
6
  Object.defineProperty(exports, "lintProjectGenerator", { enumerable: true, get: function () { return lint_project_1.lintProjectGenerator; } });
@@ -9,4 +9,9 @@ Object.defineProperty(exports, "lintInitGenerator", { enumerable: true, get: fun
9
9
  var linter_1 = require("./src/generators/utils/linter");
10
10
  Object.defineProperty(exports, "Linter", { enumerable: true, get: function () { return linter_1.Linter; } });
11
11
  tslib_1.__exportStar(require("./src/utils/convert-tslint-to-eslint"), exports);
12
+ // @nrwl/angular needs it for the Angular CLI workspace migration to Nx to
13
+ // infer whether a config is using type aware rules and set the
14
+ // `hasTypeAwareRules` option of the `@nrwl/linter:eslint` executor.
15
+ var rules_requiring_type_checking_1 = require("./src/utils/rules-requiring-type-checking");
16
+ Object.defineProperty(exports, "hasRulesRequiringTypeChecking", { enumerable: true, get: function () { return rules_requiring_type_checking_1.hasRulesRequiringTypeChecking; } });
12
17
  //# sourceMappingURL=index.js.map
package/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../packages/linter/index.ts"],"names":[],"mappings":";;;;AAAA,2EAAkF;AAAzE,oHAAA,oBAAoB,OAAA;AAC7B,mDAA+D;AAAtD,yGAAA,iBAAiB,OAAA;AAC1B,wDAAuD;AAA9C,gGAAA,MAAM,OAAA;AACf,+EAAqD"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../packages/linter/index.ts"],"names":[],"mappings":";;;;AAAA,2EAAkF;AAAzE,oHAAA,oBAAoB,OAAA;AAC7B,mDAA+D;AAAtD,yGAAA,iBAAiB,OAAA;AAC1B,wDAAuD;AAA9C,gGAAA,MAAM,OAAA;AACf,+EAAqD;AAErD,0EAA0E;AAC1E,+DAA+D;AAC/D,oEAAoE;AACpE,2FAA0F;AAAjF,8IAAA,6BAA6B,OAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nrwl/linter",
3
- "version": "13.10.2",
3
+ "version": "14.0.0-beta.1",
4
4
  "description": "The Linter plugin contains executors, generator, plugin and utilities used for linting JavaScript/TypeScript projects within an Nx workspace.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -34,8 +34,8 @@
34
34
  },
35
35
  "dependencies": {
36
36
  "@phenomnomnominal/tsquery": "4.1.1",
37
- "@nrwl/devkit": "13.10.2",
38
- "@nrwl/jest": "13.10.2",
37
+ "@nrwl/devkit": "14.0.0-beta.1",
38
+ "@nrwl/jest": "14.0.0-beta.1",
39
39
  "tmp": "~0.2.1",
40
40
  "tslib": "^2.3.0"
41
41
  },
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.eslintConfigPrettierVersion = exports.eslintVersion = exports.typescriptESLintVersion = exports.buildAngularVersion = exports.tslintToEslintConfigVersion = exports.tslintVersion = exports.nxVersion = void 0;
4
- exports.nxVersion = '13.10.2';
4
+ exports.nxVersion = '14.0.0-beta.1';
5
5
  exports.tslintVersion = '~6.1.0';
6
6
  exports.tslintToEslintConfigVersion = '^2.4.0';
7
7
  exports.buildAngularVersion = '~13.3.0';