@typescript-eslint/experimental-utils 2.13.1-alpha.2 → 2.14.0
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/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [2.14.0](https://github.com/typescript-eslint/typescript-eslint/compare/v2.13.0...v2.14.0) (2019-12-30)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* add internal eslint plugin for repo-specific lint rules ([#1373](https://github.com/typescript-eslint/typescript-eslint/issues/1373)) ([3a15413](https://github.com/typescript-eslint/typescript-eslint/commit/3a15413))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
# [2.13.0](https://github.com/typescript-eslint/typescript-eslint/compare/v2.12.0...v2.13.0) (2019-12-23)
|
|
7
18
|
|
|
8
19
|
**Note:** Version bump only for package @typescript-eslint/experimental-utils
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
declare type ObjectLike<T = unknown> = Record<string, T>;
|
|
2
2
|
/**
|
|
3
|
-
* Check if the variable contains an object
|
|
3
|
+
* Check if the variable contains an object strictly rejecting arrays
|
|
4
4
|
* @param obj an object
|
|
5
5
|
* @returns `true` if obj is an object
|
|
6
6
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
/**
|
|
4
|
-
* Check if the variable contains an object
|
|
4
|
+
* Check if the variable contains an object strictly rejecting arrays
|
|
5
5
|
* @param obj an object
|
|
6
6
|
* @returns `true` if obj is an object
|
|
7
7
|
*/
|
package/dist/index.js
CHANGED
|
@@ -17,7 +17,7 @@ const JSONSchema = __importStar(require("./json-schema"));
|
|
|
17
17
|
exports.JSONSchema = JSONSchema;
|
|
18
18
|
// for convenience's sake - export the types directly from here so consumers
|
|
19
19
|
// don't need to reference/install both packages in their code
|
|
20
|
-
// NOTE - this uses hard links inside ts-estree to avoid
|
|
20
|
+
// NOTE - this uses hard links inside ts-estree to avoid initialization of entire package
|
|
21
21
|
// via its main file (which imports typescript at runtime).
|
|
22
22
|
// Not every eslint-plugin written in typescript requires typescript at runtime.
|
|
23
23
|
var ts_estree_1 = require("@typescript-eslint/typescript-estree/dist/ts-estree");
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;AAAA,4DAA8C;AAKrC,kCAAW;AAJpB,sDAAwC;AAIN,4BAAQ;AAH1C,iEAAmD;AAGP,sCAAa;AAFzD,0DAA4C;AAEtB,gCAAU;AAEhC,4EAA4E;AAC5E,8DAA8D;AAE9D,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;AAAA,4DAA8C;AAKrC,kCAAW;AAJpB,sDAAwC;AAIN,4BAAQ;AAH1C,iEAAmD;AAGP,sCAAa;AAFzD,0DAA4C;AAEtB,gCAAU;AAEhC,4EAA4E;AAC5E,8DAA8D;AAE9D,yFAAyF;AACzF,kEAAkE;AAClE,uFAAuF;AACvF,iFAI6D;AAH3D,qCAAA,cAAc,CAAA;AACd,sCAAA,eAAe,CAAA;AACf,+BAAA,QAAQ,CAAA"}
|
|
@@ -17,7 +17,7 @@ interface SuggestionOutput<TMessageIds extends string> {
|
|
|
17
17
|
messageId: TMessageIds;
|
|
18
18
|
data?: Record<string, unknown>;
|
|
19
19
|
/**
|
|
20
|
-
* NOTE: Suggestions will be applied as a stand-alone change, without triggering
|
|
20
|
+
* NOTE: Suggestions will be applied as a stand-alone change, without triggering multi-pass fixes.
|
|
21
21
|
* Each individual error has its own suggestion, so you have to show the correct, _isolated_ output for each suggestion.
|
|
22
22
|
*/
|
|
23
23
|
output: string;
|
|
@@ -49,7 +49,7 @@ interface Scope {
|
|
|
49
49
|
/**
|
|
50
50
|
* returns this scope has materialized arguments
|
|
51
51
|
* @method Scope#isArgumentsMaterialized
|
|
52
|
-
* @returns {boolean}
|
|
52
|
+
* @returns {boolean} arguments materialized
|
|
53
53
|
*/
|
|
54
54
|
isArgumentsMaterialized(): boolean;
|
|
55
55
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@typescript-eslint/experimental-utils",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.14.0",
|
|
4
4
|
"description": "(Experimental) Utilities for working with TypeScript + ESLint together",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"eslint",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
38
|
"@types/json-schema": "^7.0.3",
|
|
39
|
-
"@typescript-eslint/typescript-estree": "2.
|
|
39
|
+
"@typescript-eslint/typescript-estree": "2.14.0",
|
|
40
40
|
"eslint-scope": "^5.0.0"
|
|
41
41
|
},
|
|
42
42
|
"peerDependencies": {
|
|
@@ -45,5 +45,5 @@
|
|
|
45
45
|
"devDependencies": {
|
|
46
46
|
"typescript": "*"
|
|
47
47
|
},
|
|
48
|
-
"gitHead": "
|
|
48
|
+
"gitHead": "05964763b6e1f4bbb0f54db9995f5ad02e2c8d9c"
|
|
49
49
|
}
|