Commit Graph

17 Commits

Author SHA1 Message Date
Andy Hanson
45c9246c09 Remove esModuleInterop from tsconfigs (no longer mandatory) 2018-02-14 14:55:13 -08:00
Andy
bef4d2b27d
Enable "esModuleInterop" in all tsconfigs (#23354) 2018-02-05 11:01:56 -08:00
Nathan Shively-Sanders
e6b57c0497 Create a TestOptions type for test's options 2018-02-01 08:04:55 -08:00
Nathan Shively-Sanders
db1ca04de3 shelljs.test uses string literals for option param
Previously it was just string, which makes it hard to know which options
are available.
2018-01-31 15:31:48 -08:00
Adam J. Hines
057473a274 adding function definition for shelljs set function
http://documentup.com/shelljs/shelljs#setoptions
2017-12-08 18:08:46 -05:00
Nathan Shively-Sanders
0c926706cc Lint:blank line and more array type fussiness 2017-11-12 09:17:51 -08:00
Nathan Shively-Sanders
508530a476 Lint:array syntax and export new types 2017-11-12 09:11:16 -08:00
Nathan Shively-Sanders
34b964fa9b Use ShellString/ShellArray in shelljs 2017-11-12 08:47:18 -08:00
Nathan Shively-Sanders
19950de901 Remove overloads for more accurate types; improve ShellString
ShellString still isn't used, though.
2017-11-11 10:23:25 -08:00
Andy
e05709a29d shelljs: Fix lint (#20921) 2017-10-23 13:17:03 -07:00
Andy
947a8fb761 Enable strictFunctionTypes (#20373) 2017-10-06 14:03:03 -07:00
Andy
5d6c651a1a Apply stricter lint rules (#19063) 2017-08-17 14:53:41 -07:00
Vojtech Jasny
199b5fd9c3 Add correct types for glob options to shelljs (#18567) 2017-08-02 12:09:15 -07:00
Vojtech Jasny
0860eda60e Add missing shelljs configuration options (#18548) 2017-08-01 15:22:14 -07:00
Mohamed Hegazy
2266dcb934 Fix lint failures (#16904) 2017-06-01 18:24:48 -07:00
François Wouts
c2bca7cc22 [shelljs] Declare ShellConfig.execPath property (#16171)
* Declare ShellConfig.execPath property

See its usage in
https://github.com/shelljs/shelljs/blob/master/src/exec.js

* [shelljs] Add tslint.json

The tslint.json config includes two exceptions:
- unified-signatures = false because overloaded methods have different
enough purposes to warrant a separate documentation
- max-line-length = false because existing documentation breaks the
rule, and it seems better fixed separately

Code changes are straightforward style changes suggested by the linter.
2017-04-27 11:59:33 -07:00
Andy Hanson
354cec620d Move all packages to a types directory 2017-03-24 14:27:52 -07:00