Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
This repository was archived by the owner on Jan 19, 2019. It is now read-only.

Commit c3060bc

Browse filesBrowse files
committed
don't log warnings bro
1 parent 45c0a88 commit c3060bc
Copy full SHA for c3060bc

File tree

Expand file treeCollapse file tree

2 files changed

+16
-15
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+16
-15
lines changed

‎.gitignore

Copy file name to clipboardExpand all lines: .gitignore
+2-1Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,5 @@ node_modules
44
npm-debug.log
55
_test.js
66
.DS_Store
7-
.vscode
7+
.vscode
8+
tags

‎parser.js

Copy file name to clipboardExpand all lines: parser.js
+14-14Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -116,20 +116,20 @@ function generateAST(code, options, additionalParsingContext) {
116116
}
117117
}
118118

119-
if (!isRunningSupportedTypeScriptVersion && !warnedAboutTSVersion) {
120-
const border = "=============";
121-
const versionWarning = [
122-
border,
123-
"WARNING: You are currently running a version of TypeScript which is not officially supported by typescript-eslint-parser.",
124-
"You may find that it works just fine, or you may not.",
125-
`SUPPORTED TYPESCRIPT VERSIONS: ${SUPPORTED_TYPESCRIPT_VERSIONS}`,
126-
`YOUR TYPESCRIPT VERSION: ${ACTIVE_TYPESCRIPT_VERSION}`,
127-
"Please only submit bug reports when using the officially supported version.",
128-
border
129-
];
130-
extra.log(versionWarning.join("\n\n"));
131-
warnedAboutTSVersion = true;
132-
}
119+
// if (!isRunningSupportedTypeScriptVersion && !warnedAboutTSVersion) {
120+
// const border = "=============";
121+
// const versionWarning = [
122+
// border,
123+
// "WARNING: You are currently running a version of TypeScript which is not officially supported by typescript-eslint-parser.",
124+
// "You may find that it works just fine, or you may not.",
125+
// `SUPPORTED TYPESCRIPT VERSIONS: ${SUPPORTED_TYPESCRIPT_VERSIONS}`,
126+
// `YOUR TYPESCRIPT VERSION: ${ACTIVE_TYPESCRIPT_VERSION}`,
127+
// "Please only submit bug reports when using the officially supported version.",
128+
// border
129+
// ];
130+
// extra.log(versionWarning.join("\n\n"));
131+
// warnedAboutTSVersion = true;
132+
// }
133133

134134
// Even if jsx option is set in typescript compiler, filename still has to
135135
// contain .tsx file extension

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.