Skip to content
This repository was archived by the owner on Apr 15, 2023. It is now read-only.

Commit 2bd2ec1

Browse files
committed
Upgrade typescript-eslint-parser to 16.0.1
1 parent 1090947 commit 2bd2ec1

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,4 @@ versions.json
1414
/packages/**/node_modules
1515
/.vscode
1616
.sublimelinterrc
17+
yarn.lock

lib/rules/no-type-alias.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,12 @@ module.exports = {
9191
"in-intersections",
9292
"in-unions-and-intersections"
9393
];
94-
const aliasTypes = ["TSLastTypeNode", "TSArrayType", "TSTypeReference"];
94+
const aliasTypes = [
95+
"TSLastTypeNode",
96+
"TSArrayType",
97+
"TSTypeReference",
98+
"TSLiteralType"
99+
];
95100

96101
//----------------------------------------------------------------------
97102
// Helpers

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@
3434
"lint-staged": "^6.0.0",
3535
"mocha": "^4.0.1",
3636
"prettier": "^1.11.1",
37-
"typescript": "~2.8.1",
38-
"typescript-eslint-parser": "^15.0.0"
37+
"typescript": "~2.9",
38+
"typescript-eslint-parser": "^16.0.1"
3939
},
4040
"lint-staged": {
4141
"*.js": [

0 commit comments

Comments
 (0)