diff --git a/build/tslint.json b/build/tslint.json index 4180d428aa..34f6da9afb 100644 --- a/build/tslint.json +++ b/build/tslint.json @@ -1,4 +1,7 @@ { + "rulesDirectory": [ + "@nativescript/tslint-rules" + ], "rules": { "arrow-return-shorthand": true, "class-name": true, @@ -9,6 +12,7 @@ "jsdoc-format": false, "max-line-length": [false, 120], "newline-before-return": true, + "no-android-resources": true, "no-arg": true, "no-bitwise": false, "no-consecutive-blank-lines": true, diff --git a/package.json b/package.json index 800119891d..adf3acb470 100644 --- a/package.json +++ b/package.json @@ -9,6 +9,7 @@ "license": "Apache-2.0", "devDependencies": { "@microsoft/api-extractor": "^7.5.0", + "@nativescript/tslint-rules": "0.0.5", "@types/chai": "^4.0.4", "@types/mocha": "^2.2.42", "@types/node": "~10.12.18",