Skip to content

Commit f86d605

Browse files
przepompowniaiamcco
authored andcommitted
Fix tests (#25)
* tslint2 - squash it * Rename BuiltinDoc to IBuiltinDoc * Rename Pos to IPos * Rename Node -> INode * Sort key names * Revert "Sort key names" This reverts commit 120fd2f. * object-literal-sort-keys excluded from tslint rules * Exclude test directory from build * Add index.ts to lint/fix cmd
1 parent b981a91 commit f86d605

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818
"build": "rm -rf ./out && webpack",
1919
"watch": "webpack -w",
2020
"test": "mocha test/src/**/*.ts --require ts-node/register",
21-
"lint": "tslint -c tslint.json {.,test}/src/**/*.ts",
22-
"fix": "tslint -c tslint.json --fix {.,test}/src/**/*.ts"
21+
"lint": "tslint -c tslint.json --format verbose {.,test}/src/**/*.ts src/index.ts",
22+
"fix": "tslint -c tslint.json --fix {.,test}/src/**/*.ts src/index.ts"
2323
},
2424
"bin": {
2525
"vim-language-server": "./bin/index.js"

tsconfig.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@
6262
},
6363
"exclude": [
6464
"out",
65+
"test",
6566
"node_modules"
6667
]
6768
}

0 commit comments

Comments
 (0)