DefinitelyTyped/types/mongodb/tslint.json
2019-02-21 15:01:26 +00:00

52 lines
2.0 KiB
JSON

{
"extends": "dtslint/dt.json",
"rules": {
"adjacent-overload-signatures": false,
"arrow-return-shorthand": false,
"ban-types": {
"options": [
["Object", "Avoid using the `Object` type. Did you mean `object`?"],
["Boolean", "Avoid using the `Boolean` type. Did you mean `boolean`?"],
["Number", "Avoid using the `Number` type. Did you mean `number`?"],
["String", "Avoid using the `String` type. Did you mean `string`?"],
["Symbol", "Avoid using the `Symbol` type. Did you mean `symbol`?"]
]
},
"callable-types": false,
"comment-format": false,
"export-just-namespace": false,
"import-spacing": false,
"interface-name": false,
"interface-over-type-literal": false,
"member-access": false,
"new-parens": false,
"no-any-union": false,
"no-boolean-literal-compare": false,
"no-conditional-assignment": false,
"no-consecutive-blank-lines": false,
"no-declare-current-package": false,
"no-inferrable-types": false,
"no-namespace": false,
"no-object-literal-type-assertion": false,
"no-padding": false,
"no-redundant-undefined": false,
"no-unnecessary-generics": false,
"no-unnecessary-type-assertion": false,
"no-trailing-whitespace": false,
"object-literal-key-quotes": false,
"object-literal-shorthand": false,
"one-line": false,
"one-variable-per-declaration": false,
"prefer-conditional-expression": false,
"prefer-declare-function": false,
"prefer-for-of": false,
"prefer-method-signature": false,
"space-before-function-paren": false,
"space-within-parens": false,
"strict-export-declare-modifiers": false,
"triple-equals": false,
"unified-signatures": false,
"use-default-type-parameter": false
}
}