TSLint installed

dependabot/npm_and_yarn/BuildServer/eslint-7.2.0
Inga 🏳‍🌈 7 years ago
parent 80a7b9f420
commit 58c2653451
  1. 1
      BuildServer/.gitignore
  2. 5
      BuildServer/package.json
  3. 9
      BuildServer/tsconfig.json
  4. 101
      BuildServer/tslint.json
  5. 5
      BuildServer/typings.json

@ -18,5 +18,6 @@ data
*.crt
settings.js
settings.ts
*.d.ts
iisnode

@ -4,7 +4,8 @@
"private": true,
"scripts": {
"start": "forever -c node app.js",
"test": "./node_modules/.bin/eslint ."
"test": "./node_modules/.bin/eslint .",
"tslint": "./node_modules/.bin/tslint --project tsconfig.json --type-check --force"
},
"dependencies": {
"archiver": "^1.3.0",
@ -133,6 +134,6 @@
"devDependencies": {
"@types/node": "^7.0.5",
"tslint": "^4.4.2",
"typescript": "^2.1.6"
"typescript": "^2.2.1"
}
}

@ -1,8 +1,15 @@
{
"compilerOptions": {
"module": "commonjs",
"target": "es6",
"typeRoots": [
"node_modules/@types"
]
}
},
"include": [
"app.ts",
"settings.ts",
"lib/**/*.ts",
"routes/**/*.ts"
]
}

@ -0,0 +1,101 @@
{
"jsRules": {
"class-name": true,
"comment-format": [
true,
"check-space"
],
"indent": [
true,
"spaces"
],
"no-duplicate-variable": true,
"no-eval": true,
"no-trailing-whitespace": true,
"no-unsafe-finally": true,
"one-line": [
true,
"check-open-brace",
"check-whitespace"
],
"quotemark": [
true,
"double"
],
"semicolon": [
true,
"always"
],
"triple-equals": [
true,
"allow-null-check"
],
"variable-name": [
true,
"ban-keywords"
],
"whitespace": [
true,
"check-branch",
"check-decl",
"check-operator",
"check-separator",
"check-type"
]
},
"rules": {
"class-name": true,
"comment-format": [
true,
"check-space"
],
"indent": [
true,
"spaces"
],
"no-eval": true,
"no-internal-module": true,
"no-trailing-whitespace": true,
"no-unsafe-finally": true,
"no-var-keyword": true,
"one-line": [
true,
"check-open-brace",
"check-whitespace"
],
"quotemark": [
true,
"double"
],
"semicolon": [
true,
"always"
],
"triple-equals": [
true,
"allow-null-check"
],
"typedef-whitespace": [
true,
{
"call-signature": "nospace",
"index-signature": "nospace",
"parameter": "nospace",
"property-declaration": "nospace",
"variable-declaration": "nospace"
}
],
"variable-name": [
true,
"ban-keywords"
],
"whitespace": [
true,
"check-branch",
"check-decl",
"check-operator",
"check-separator",
"check-type"
]
}
}

@ -0,0 +1,5 @@
{
"dependencies": {
"debug": "registry:npm/debug#2.0.0+20160723033700"
}
}
Loading…
Cancel
Save