mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
* added type definitions for my teacher Ruslan Hadyniak JavaScript npm package * removed [strict] option from tsconfig.json * added strictFunctionTypes to tsconfig.json * added tsc >=2.2 restriction to the header * made Response.send() second argument compulsory * undone changes from the previous commit * changed Request.data from FormData | undefined to FormData | null * Removed constructor from Request, modified StateLinks according to the new 1.1.1 package version interface * Changed type definitions according to 1.2 stable version
35 lines
927 B
JSON
35 lines
927 B
JSON
{
|
|
"extends": "dtslint/dt.json",
|
|
"rules": {
|
|
"no-var-keyword": true,
|
|
"no-arg": true,
|
|
"triple-equals": true,
|
|
"semicolon": true,
|
|
"adjacent-overload-signatures": true,
|
|
"await-promise": true,
|
|
"callable-types": true,
|
|
"deprecation": true,
|
|
"jsdoc-format": true,
|
|
"no-angle-bracket-type-assertion": true,
|
|
"no-duplicate-switch-case": true,
|
|
"prefer-const": true,
|
|
"prefer-function-over-method": true,
|
|
"prefer-object-spread": true,
|
|
"prefer-template": true,
|
|
"prefer-readonly": true,
|
|
"prefer-for-of": true,
|
|
"prefer-switch": true,
|
|
"no-unnecessary-qualifier": true,
|
|
"object-literal-shorthand": true,
|
|
"no-shadowed-variable": true,
|
|
"no-unnecessary-type-assertion": true,
|
|
"no-return-await": true,
|
|
"no-floating-promises": true,
|
|
"no-inferred-empty-object-type": true,
|
|
"strict-type-predicates": true,
|
|
"restrict-plus-operands": true
|
|
}
|
|
|
|
|
|
}
|