mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-04 06:47:03 +00:00
Address PR comments by removing extra linting rules and fixing the linting failures caused by the removal.
This commit is contained in:
+586
-679
File diff suppressed because it is too large
Load Diff
@@ -1,6 +1,5 @@
|
||||
// tslint:disable-next-line:no-empty-interface
|
||||
interface TInputs {};
|
||||
interface TOutputs { testString: string };
|
||||
interface TInputs { inputString?: string; }
|
||||
interface TOutputs { testString: string; }
|
||||
|
||||
class TestControl implements ComponentFramework.StandardControl<TInputs, TOutputs> {
|
||||
init(context: ComponentFramework.Context<TInputs>, notifyOutputChanged?: () => void, state?: ComponentFramework.Dictionary, container?: HTMLDivElement) {
|
||||
@@ -11,8 +10,8 @@ class TestControl implements ComponentFramework.StandardControl<TInputs, TOutput
|
||||
}
|
||||
getOutputs() {
|
||||
return {
|
||||
testString: ''
|
||||
}
|
||||
testString: '',
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
@@ -79,7 +78,7 @@ const dataSetApiColumn: ComponentFramework.PropertyHelper.DataSetApi.Column = {
|
||||
disableSorting: false
|
||||
};
|
||||
|
||||
const linkEntityExposeExpression: ComponentFramework.PropertyHelper.DataSetApi.ILinkEntityExposedExpression = {
|
||||
const linkEntityExposeExpression: ComponentFramework.PropertyHelper.DataSetApi.LinkEntityExposedExpression = {
|
||||
name: '',
|
||||
from: '',
|
||||
to: '',
|
||||
|
||||
@@ -1,20 +1,3 @@
|
||||
{
|
||||
"extends": "dtslint/dt.json",
|
||||
"rules": {
|
||||
"array-type": false,
|
||||
"dt-header": false,
|
||||
"interface-name": false,
|
||||
"interface-over-type-literal": false,
|
||||
"jsdoc-format": false,
|
||||
"max-line-length": false,
|
||||
"no-consecutive-blank-lines": false,
|
||||
"no-const-enum": false,
|
||||
"no-internal-module": false,
|
||||
"no-mergeable-namespace": false,
|
||||
"no-padding": false,
|
||||
"no-redundant-jsdoc-2": false,
|
||||
"no-trailing-whitespace": false,
|
||||
"one-line": false,
|
||||
"semicolon": false
|
||||
}
|
||||
"extends": "dtslint/dt.json"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user