Skip to content

Commit eb960b7

Browse files
Alexander VakrilovSvetoslavTsenov
authored andcommitted
chore: add no android.R tslint rule (#8033)
1 parent c0b372d commit eb960b7

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

build/tslint.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
{
2+
"rulesDirectory": [
3+
"@nativescript/tslint-rules"
4+
],
25
"rules": {
36
"arrow-return-shorthand": true,
47
"class-name": true,
@@ -9,6 +12,7 @@
912
"jsdoc-format": false,
1013
"max-line-length": [false, 120],
1114
"newline-before-return": true,
15+
"no-android-resources": true,
1216
"no-arg": true,
1317
"no-bitwise": false,
1418
"no-consecutive-blank-lines": true,

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
"license": "Apache-2.0",
1010
"devDependencies": {
1111
"@microsoft/api-extractor": "^7.5.0",
12+
"@nativescript/tslint-rules": "0.0.5",
1213
"@types/chai": "^4.0.4",
1314
"@types/mocha": "^2.2.42",
1415
"@types/node": "~10.12.18",

0 commit comments

Comments
 (0)