Address PR comments by removing extra linting rules and fixing the linting failures caused by the removal.

This commit is contained in:
Joseph Pursley
2019-03-21 14:08:48 -07:00
parent 7ce97fb457
commit e85ab7bb2d
3 changed files with 592 additions and 703 deletions
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"
}