Fix CI errors

* Lower typescript version since 2.4 is not supported yet, remove minor version and version tag from package

* Add lib to tsconfig.json

* Adjust tslint.json by extending dstlint and removing duplicate rules
This commit is contained in:
Stan Goldmann 2017-07-11 13:57:05 +02:00
parent 38717ff972
commit c81ee2c38f
3 changed files with 8 additions and 49 deletions

View File

@ -1,8 +1,8 @@
// Type definitions for retry v0.10.1
// Type definitions for retry 0.10
// Project: https://github.com/tim-kos/node-retry
// Definitions by: Stan Goldmann <https://github.com/krenor>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.4
// TypeScript Version: 2.3
import { Options } from './options'
export * from './options'

View File

@ -1,6 +1,9 @@
{
"compilerOptions": {
"module": "commonjs",
"lib": [
"es5"
],
"noImplicitAny": true,
"noImplicitThis": true,
"noImplicitReturns": true,

View File

@ -1,57 +1,13 @@
{
"defaultSeverity": "error",
"extends": [
"tslint:recommended"
],
"rulesDirectory": [],
"extends": "dtslint/dt.json",
"rules": {
"ordered-imports": false,
"object-literal-sort-keys": false,
"member-access": true,
"prefer-method-signature": false,
"semicolon": false,
"max-line-length": [
true,
120
],
"indent": [
true,
"spaces",
4
],
"quotemark": [
true,
"single",
"avoid-escape"
],
"one-line": [
true,
"check-open-brace",
"check-whitespace"
],
"trailing-comma": [
true,
{
"multiline": {
"objects": "always",
"arrays": "always",
"functions": "never",
"typeLiterals": "ignore"
}
}
],
"interface-name": [
true,
"never-prefix"
],
"no-namespace": [
true,
"allow-declarations"
],
"align": [
true,
"arguments",
"statements",
"members",
"elements"
]
}
}