add tslint in demo folders

This commit is contained in:
Eugenio Romano
2016-05-24 16:45:57 +01:00
parent 54466446cc
commit bfd04f6475
14 changed files with 408 additions and 13 deletions

View File

@@ -9,7 +9,10 @@
"typings": "typings install",
"start": "rm -rf dist && npm install && npm run server",
"server": "lite-server",
"build": "rm -rf dist && tsc"
"build": "npm run tslint && rm -rf dist && tsc",
"tslint": "npm run tslint-src && npm run tslint-root",
"tslint-src": "tslint -c tslint.json src/**/*.ts",
"tslint-root": "tslint -c tslint.json *.ts"
},
"license": "Apache-2.0",
"contributors": [
@@ -57,6 +60,7 @@
"browser-sync": "^2.10.0",
"concurrently": "^2.0.0",
"lite-server": "^2.2.0",
"tslint": "^3.8.1",
"typescript": "^1.8.10",
"typings": "^0.7.12"
},

View File

@@ -114,9 +114,11 @@
"whitespace": [
true,
"check-branch",
"check-decl",
"check-operator",
"check-separator"
"check-separator",
"check-type",
"check-module",
"check-decl"
]
}
}

View File

@@ -114,7 +114,8 @@
"check-operator",
"check-separator",
"check-type",
"check-module"
"check-module",
"check-decl"
]
}
}