-
Notifications
You must be signed in to change notification settings - Fork 676
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
code clean up #1917
code clean up #1917
Conversation
moved local functions to top for readability and fixed missing semicolon local function at the end tslint exception for chai
test/unitTests/common.test.ts
Outdated
@@ -72,24 +72,28 @@ suite("Common", () => { | |||
test("same paths", () => { | |||
let subfolder: string = ["C:", "temp", "VS", "dotnetProject"].join(path.sep); | |||
let folder: string= ["C:", "temp", "VS", "dotnetProject"].join(path.sep); | |||
// tslint:disable-next-line:no-unused-expression |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can this be done more generally? https://www.npmjs.com/package/tslint-no-unused-expression-chai perhaps?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM overall. Do consider adding the package I referenced so we don't have tslint exclusion comments peppered throughout the codebase.
@TheRealPiotrP was looking into the package and missed the gulp file. now is using the module you point out. |
* moved local functions moved local functions to top for readability and fixed missing semicolon local function at the end tslint exception for chai * use genral tslint chai rules * fix path to custom chai rules * revert type package versions * simplify gulp file * force chai types to 4.0.8
missing semicolon
local functions moved at the end of test suite
tslint exception for chai assertions