DefinitelyTyped/types/knockout.mapping/tslint.json
ltlombardi 2113856740 Knockout mapping return properly typed with TS 2.8 (#36025)
* Small fix

* - fixed KnockoutMappingOptions wrong typing.
- overhall of typing.
- add JSDoc.
- add Undocumented when method doesn't have documentation.
- complete new tests.

* Small fixes for tslint

* Modification to tslint rules

* Changes to match tslint rules

* Improve KnockoutObservableType with Conditional Typings.
- Upped TS version
- Removed semicolons, changed to double quotes
- Better formating

* Mapping of object of type 'any' returns 'any'
- Instead of returning KnockoutObservableType<any> that is useless

* Remove some rules not working as expected

* Remove duplicate not needed any more

* Small fixes

* Small improvement in documentation

* Remove knockout.mapping plugin tests.

* Remove knockout.mapping plugin tests.

* Small fix

Co-Authored-By: Ron Buckton <ron.buckton@microsoft.com>

* Support for more Primitives.
Remove Primitive type from  global

* Small simplification

* Add support for ReadonlyArray

* Formatting

* Reverted quote to maintain consistency with new prettier formating rules in repo.

* Remove bigint. Not supported in TS 2.8
2019-08-19 12:37:55 -07:00

72 lines
2.5 KiB
JSON

{
"extends": "dtslint/dt.json",
"rules": {
"adjacent-overload-signatures": false,
"ban-types": false,
"callable-types": false,
"dt-header": false,
"npm-naming": false,
"eofline": false,
"export-just-namespace": false,
"import-spacing": false,
"interface-name": false,
"interface-over-type-literal": false,
"jsdoc-format": false,
"max-line-length": 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-duplicate-imports": false,
"no-duplicate-variable": false,
"no-empty-interface": false,
"no-for-in-array": false,
"no-inferrable-types": false,
"no-internal-module": false,
"no-irregular-whitespace": false,
"no-mergeable-namespace": false,
"no-misused-new": false,
"no-namespace": false,
"no-object-literal-type-assertion": false,
"no-padding": false,
"no-redundant-jsdoc": false,
"no-redundant-jsdoc-2": false,
"no-redundant-undefined": false,
"no-reference-import": false,
"no-relative-import-in-test": false,
"no-self-import": false,
"no-single-declare-module": false,
"no-string-throw": false,
"no-unnecessary-callback-wrapper": false,
"no-unnecessary-class": false,
"no-unnecessary-generics": false,
"no-unnecessary-qualifier": false,
"no-unnecessary-type-assertion": false,
"no-useless-files": false,
"no-var-requires": false,
"no-void-expression": false,
"no-trailing-whitespace": false,
"object-literal-key-quotes": false,
"one-line": false,
"one-variable-per-declaration": false,
"prefer-declare-function": false,
"prefer-for-of": false,
"prefer-method-signature": false,
"prefer-template": false,
"quotemark": [true, "single", "avoid-escape" ],
"radix": false,
"semicolon": false,
"space-before-function-paren": false,
"space-within-parens": false,
"strict-export-declare-modifiers": false,
"trim-file": false,
"triple-equals": false,
"typedef-whitespace": false,
"unified-signatures": false,
"void-return": false,
"whitespace": false
}
}