mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-03-03 21:22:51 +00:00
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:
parent
38717ff972
commit
c81ee2c38f
4
types/retry/index.d.ts
vendored
4
types/retry/index.d.ts
vendored
@ -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'
|
||||
|
||||
@ -1,6 +1,9 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"module": "commonjs",
|
||||
"lib": [
|
||||
"es5"
|
||||
],
|
||||
"noImplicitAny": true,
|
||||
"noImplicitThis": true,
|
||||
"noImplicitReturns": true,
|
||||
|
||||
@ -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"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user