Skip to content

Commit

Permalink
code clean up (dotnet#1917)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
colombod authored and Piotr Puszkiewicz committed Dec 11, 2017
1 parent ee50939 commit 8c24f9d
Show file tree
Hide file tree
Showing 8 changed files with 179 additions and 172 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,5 @@ obj/
bin/
test/**/.vscode
.logs/

\.DS_Store
2 changes: 1 addition & 1 deletion gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ gulp.task('tslint', () => {
gulp.src(allTypeScript)
.pipe(tslint({
program: require('tslint').Linter.createProgram("./tsconfig.json"),
rulesDirectory: "node_modules/tslint-microsoft-contrib"
configuration: "./tslint.json"
}))
.pipe(tslint.report(lintReporter, {
summarizeFailureOutput: false,
Expand Down
Loading

0 comments on commit 8c24f9d

Please sign in to comment.