Add tslint rule to prevent import from out

Fixes #1996
This commit is contained in:
Daniel Imms
2019-07-14 00:16:20 -07:00
parent fb6d4e2bfe
commit 8deef83c60
3 changed files with 17 additions and 54 deletions
+2 -2
View File
@@ -11,7 +11,7 @@
"prepackage": "npm run build",
"package": "webpack",
"start": "node demo/start",
"lint": "tslint 'src/**/*.ts' './demo/**/*.ts' './addons/**/*.ts'",
"lint": "tslint 'src/**/*.ts' 'addons/**/*.ts'",
"test": "npm run test-unit",
"posttest": "npm run lint",
"test-api": "mocha \"**/*.api.js\"",
@@ -45,7 +45,7 @@
"puppeteer": "^1.15.0",
"source-map-loader": "^0.2.4",
"ts-loader": "^4.5.0",
"tslint": "^5.9.1",
"tslint": "^5.18.0",
"tslint-consistent-codestyle": "^1.13.0",
"typescript": "3.5",
"utf8": "^3.0.0",