Last active
November 17, 2018 17:49
-
-
Save jkrems/49482d5b811b066ac402f42ca1f4bff4 to your computer and use it in GitHub Desktop.
TypeScript as a Linter
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict'; | |
function calculate(expression) { | |
// [...] | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
"compilerOptions": { | |
"target": "ES2018", | |
"module": "commonjs", | |
"allowJs": true, | |
"checkJs": true, | |
"noEmit": true, | |
"strict": true, | |
"moduleResolution": "node", | |
"types": ["node", "mocha"], | |
"esModuleInterop": true | |
}, | |
"include": [ | |
"typings/**/*.d.ts", | |
"*.js", | |
"lib/**/*.js" | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment