Fix lint errors

This commit is contained in:
Chris Arnesen 2018-11-21 13:21:33 +07:00
parent 12c172badf
commit 53f4ae7e35
4 changed files with 9 additions and 4 deletions

View File

@ -1,3 +1,3 @@
import expandTilde = require("expand-tilde");
expandTilde("~") // $ExpectType string
expandTilde("~"); // $ExpectType string

View File

@ -3,9 +3,8 @@
// Definitions by: Chris Arnesen <https://github.com/carnesen>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
/**
* Bash-like tilde expansion for node.js.
* Bash-like tilde expansion for node.js.
* Expands a leading tilde (~) in a file path to the user home directory, or ~+ to the cwd.
*
* @param {string} filePath - a file path to expand

View File

@ -7,6 +7,7 @@
"noImplicitAny": true,
"noImplicitThis": true,
"strictNullChecks": true,
"strictFunctionTypes": true,
"baseUrl": "../",
"typeRoots": [
"../"

View File

@ -1 +1,6 @@
{ "extends": "dtslint/dt.json" }
{
"extends": "dtslint/dt.json",
"rules": {
"no-redundant-jsdoc-2": false
}
}