Skip to content

Commit

Permalink
chore(lint): Added bitHound, Updated dependencies and lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
dotansimha committed Nov 3, 2016
1 parent 80dfa46 commit 36dfe7f
Show file tree
Hide file tree
Showing 3 changed files with 47 additions and 15 deletions.
32 changes: 32 additions & 0 deletions .bithoundrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"ignore": [
"**/node_modules/**",
"**/dist/**",
"**/docs/**"
],
"test": [
"**/test/**",
"**/tests/**",
"**/spec/**",
"**/specs/**",
"**/*.test.ts",
"**/*.test.js",
"**/*.spec.js",
"**/*.spec.ts"
],
"critics": {
"lint": {"engine": "tslint"}
},
"dependencies": {
"mute": [
"rxjs",
"jsdoc-to-markdown"
],
"unused-ignores": [
"zone.js",
"reflect-metadata",
"meteor-typings",
"@types/*"
]
}
}
24 changes: 12 additions & 12 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,19 +41,19 @@
"rxjs": "^5.0.0-beta.12"
},
"devDependencies": {
"@types/mocha": "^2.2.32",
"@types/underscore": "^1.7.33",
"conventional-changelog": "^1.1.0",
"conventional-changelog-cli": "^1.2.0",
"es6-shim": "^0.35.0",
"ghooks": "^1.2.1",
"jsdoc-to-markdown": "^2.0.1",
"rollup": "^0.36.1",
"@types/mocha": "2.2.32",
"@types/underscore": "1.7.33",
"conventional-changelog": "1.1.0",
"conventional-changelog-cli": "1.2.0",
"es6-shim": "0.35.1",
"ghooks": "1.3.2",
"jsdoc-to-markdown": "2.0.1",
"rollup": "0.36.3",
"rxjs": "^5.0.0-beta.12",
"tslint": "^3.6.0",
"typescript": "^2.0.0",
"typings": "^1.3.0",
"validate-commit-msg": "^2.6.1",
"tslint": "3.15.1",
"typescript": "2.0.6",
"typings": "1.5.0",
"validate-commit-msg": "2.8.2",
"zone.js": "^0.6.22"
}
}
6 changes: 3 additions & 3 deletions tests/client/unit/observable-cursor.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ describe('ObservableCursor', function () {
// 4 because: insert, insert, update, *move*
if (count === 4) {
let firstItem = docs[0];
expect(firstItem.name).to.equal("AAAA");
expect(firstItem.name).to.equal('AAAA');
subHandler.unsubscribe();
done();
}
Expand All @@ -107,10 +107,10 @@ describe('ObservableCursor', function () {
let objectId = collection.insert(newDoc);

collection.insert({
name: "BBBB"
name: 'BBBB'
});

collection.update({_id: objectId}, { $set: {name: "AAAA"} });
collection.update({_id: objectId}, { $set: {name: 'AAAA'} });
});

it('Should trigger callback twice when inserting a doc and then removing it', () => {
Expand Down

0 comments on commit 36dfe7f

Please sign in to comment.