⬆️ Set identical tslint version in all packages and fix lint

issues
This commit is contained in:
Jan Oberhauser 2019-07-10 21:01:22 +02:00
parent a17a376d13
commit cc3f2c42d1
6 changed files with 10 additions and 10 deletions

View file

@ -53,7 +53,7 @@
"nodemon": "^1.19.1", "nodemon": "^1.19.1",
"sails-disk": "^1.0.1", "sails-disk": "^1.0.1",
"ts-jest": "^23.10.1", "ts-jest": "^23.10.1",
"tslint": "^5.11.0", "tslint": "^5.17.0",
"typescript": "~3.5.2" "typescript": "~3.5.2"
}, },
"dependencies": { "dependencies": {

View file

@ -33,7 +33,7 @@
"jest": "^23.6.0", "jest": "^23.6.0",
"source-map-support": "^0.5.9", "source-map-support": "^0.5.9",
"ts-jest": "^23.10.1", "ts-jest": "^23.10.1",
"tslint": "^5.11.0", "tslint": "^5.17.0",
"typescript": "~3.5.2" "typescript": "~3.5.2"
}, },
"dependencies": { "dependencies": {

View file

@ -151,7 +151,7 @@ export default mixins(
saveDataSuccessExecutionOptions: [] as Array<{ key: string, value: string }>, saveDataSuccessExecutionOptions: [] as Array<{ key: string, value: string }>,
saveManualOptions: [] as Array<{ key: string | boolean, value: string }>, saveManualOptions: [] as Array<{ key: string | boolean, value: string }>,
timezones: [] as Array<{ key: string, value: string }>, timezones: [] as Array<{ key: string, value: string }>,
workflowSettings: {}, workflowSettings: {} as IWorkflowSettings,
workflows: [] as IWorkflowShortResponse[], workflows: [] as IWorkflowShortResponse[],
}; };
}, },
@ -171,7 +171,7 @@ export default mixins(
}, },
async loadSaveDataErrorExecutionOptions () { async loadSaveDataErrorExecutionOptions () {
this.saveDataErrorExecutionOptions.length = 0; this.saveDataErrorExecutionOptions.length = 0;
this.saveDataErrorExecutionOptions.push.apply( this.saveDataErrorExecutionOptions.push.apply( // eslint-disable-line no-useless-call
this.saveDataErrorExecutionOptions, [ this.saveDataErrorExecutionOptions, [
{ {
key: 'DEFAULT', key: 'DEFAULT',
@ -184,13 +184,13 @@ export default mixins(
{ {
key: 'none', key: 'none',
value: 'Do not save', value: 'Do not save',
} },
] ]
); );
}, },
async loadSaveDataSuccessExecutionOptions () { async loadSaveDataSuccessExecutionOptions () {
this.saveDataSuccessExecutionOptions.length = 0; this.saveDataSuccessExecutionOptions.length = 0;
this.saveDataSuccessExecutionOptions.push.apply( this.saveDataSuccessExecutionOptions.push.apply( // eslint-disable-line no-useless-call
this.saveDataSuccessExecutionOptions, [ this.saveDataSuccessExecutionOptions, [
{ {
key: 'DEFAULT', key: 'DEFAULT',
@ -203,7 +203,7 @@ export default mixins(
{ {
key: 'none', key: 'none',
value: 'Do not save', value: 'Do not save',
} },
] ]
); );
}, },

View file

@ -34,7 +34,7 @@
"@types/inquirer": "^6.0.3", "@types/inquirer": "^6.0.3",
"@types/node": "^10.10.1", "@types/node": "^10.10.1",
"@types/vorpal": "^1.11.0", "@types/vorpal": "^1.11.0",
"tslint": "^5.11.0" "tslint": "^5.17.0"
}, },
"dependencies": { "dependencies": {
"change-case": "^3.1.0", "change-case": "^3.1.0",

View file

@ -107,7 +107,7 @@
"n8n-core": "^0.1.0", "n8n-core": "^0.1.0",
"n8n-workflow": "^0.1.0", "n8n-workflow": "^0.1.0",
"ts-jest": "^23.10.1", "ts-jest": "^23.10.1",
"tslint": "^5.11.0", "tslint": "^5.17.0",
"typescript": "~3.5.2" "typescript": "~3.5.2"
}, },
"dependencies": { "dependencies": {

View file

@ -29,7 +29,7 @@
"@types/node": "^10.10.1", "@types/node": "^10.10.1",
"jest": "^23.6.0", "jest": "^23.6.0",
"ts-jest": "^23.10.1", "ts-jest": "^23.10.1",
"tslint": "^5.11.0", "tslint": "^5.17.0",
"typescript": "~3.5.2" "typescript": "~3.5.2"
}, },
"dependencies": { "dependencies": {