Remove // tslint:disable comments, add TODOs to tslint.json (#21292)

This commit is contained in:
Andy 2017-11-07 09:42:02 -08:00 committed by GitHub
parent f5c7db2f30
commit 2e2770c2c1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
18 changed files with 29 additions and 21 deletions

View File

@ -3,8 +3,6 @@
// Definitions by: Alex Ford <https://github.com/gustavderdrache>, Boris Yankov <https://github.com/borisyankov>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
/* tslint:disable */
// Latest patch version of module validated against: 3.5.17
export = d3;

View File

@ -445,7 +445,6 @@ declare module 'firebird' {
*/
class Stream extends stream.Stream {
constructor(blob: FBBlob);
/* tslint:disable */
/* NodeJS.ReadStream */
readable: boolean;
@ -462,7 +461,6 @@ declare module 'firebird' {
end(str: string, encoding?: string, cb?: Function): void;
destroy(error?: Error): void;
/* tslint:enable */
check_destroyed(): void;
}
}

View File

@ -2,8 +2,11 @@
"extends": "dtslint/dt.json",
"rules": {
// TODO
"ban-types": false,
"no-boolean-literal-compare": false,
"no-declare-current-package": false,
"no-unnecessary-generics": false
"no-single-declare-module": false,
"no-unnecessary-generics": false,
"unified-signatures": false
}
}

View File

@ -481,7 +481,6 @@ declare namespace oracledb {
terminate(): IPromise<void>;
}
/* tslint:disable no-unused-variable */
const DEFAULT: number;
/** Metadata return type */
const DB_TYPE_VARCHAR: number;
@ -539,7 +538,6 @@ declare namespace oracledb {
*/
function newLob(iLob: ILob): Lob;
/* tslint:disable no-var-keyword */
/** Default transaction behaviour of auto commit for each statement. */
var autoCommit: boolean;
/**

View File

@ -1,4 +1,3 @@
/* tslint:disable */
import * as webdriver from './index';
import * as remote from './remote';

View File

@ -1,4 +1,3 @@
/* tslint:disable */
import * as webdriver from './index';
import * as remote from './remote';

View File

@ -1,4 +1,3 @@
/* tslint:disable */
import * as webdriver from './index';
/**

View File

@ -1,4 +1,3 @@
/* tslint:disable */
import * as webdriver from './index';
import * as remote from './remote';

View File

@ -1,4 +1,3 @@
/* tslint:disable */
import * as webdriver from './index';
/**

View File

@ -1,4 +1,3 @@
/* tslint:disable */
import * as webdriver from './index';
/**

View File

@ -3,7 +3,6 @@
// Definitions by: Bill Armstrong <https://github.com/BillArmstrong>, Yuki Kokubun <https://github.com/Kuniwak>, Craig Nishina <https://github.com/cnishina>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.1
/* tslint:disable */
import * as chrome from './chrome';
import * as edge from './edge';

View File

@ -1,4 +1,3 @@
/* tslint:disable */
import * as webdriver from './index';
import * as remote from './remote';

View File

@ -1,4 +1,3 @@
/* tslint:disable */
import * as webdriver from './index';
/**

View File

@ -1,4 +1,3 @@
/* tslint:disable */
import * as webdriver from './index';
export class Server { }

View File

@ -1,4 +1,3 @@
/* tslint:disable */
/**
* Registers a new test suite.
* @param name The suite name.

View File

@ -1,6 +1,23 @@
{
"extends": "dtslint/dt.json",
"rules": {
"dt-header": false
// TODOs
"ban-types": false,
"callable-types": false,
"dt-header": false,
"interface-name": false,
"jsdoc-format": false,
"no-any-union": false,
"no-consecutive-blank-lines": false,
"no-empty-interface": false,
"no-padding": false,
"no-unnecessary-class": false,
"no-unnecessary-generics": false,
"no-redundant-jsdoc": false,
"no-redundant-jsdoc-2": false,
"no-var-keyword": false,
"semicolon": false,
"strict-export-declare-modifiers": false,
"unified-signatures": false
}
}

View File

@ -6,7 +6,6 @@
export = StackUtils;
// tslint:disable ban-types
declare class StackUtils {
static nodeInternals(): RegExp[];
constructor(options?: StackUtils.Options);

View File

@ -1 +1,7 @@
{ "extends": "dtslint/dt.json" }
{
"extends": "dtslint/dt.json",
"rules": {
// TODO
"ban-types": false
}
}