This commit is contained in:
Matias Arriola 2022-01-31 10:12:05 -03:00
parent 59acf8e171
commit a502498c42
2 changed files with 35 additions and 15 deletions

View File

@ -25,15 +25,26 @@
"no-underscore-dangle": "off",
"no-plusplus": "off",
"no-param-reassign": "off",
"max-len": [1,300],
"max-len": [
1,
300
],
"class-methods-use-this": "off",
"no-console": "off",
// codebase contains many this aliases, fix in the future?
"@typescript-eslint/no-this-alias": "off",
// Remove once migration is completed ...
"@typescript-eslint/no-explicit-any": "warn",
"import/extensions": "warn"
"import/extensions": [
"error",
"ignorePackages",
{
"js": "never",
"jsx": "never",
"ts": "never",
"tsx": "never"
}
]
},
"settings": {
"import/resolver": {
@ -41,7 +52,10 @@
"config": "./webpack.common.js"
},
"node": {
"extensions": [".js",".ts"]
"extensions": [
".js",
".ts"
]
}
}
}

View File

@ -23,11 +23,17 @@ import PersistenceManager from './PersistenceManager';
class RESTPersistenceManager extends PersistenceManager {
private documentUrl: string;
private revertUrl: string;
private lockUrl: string;
private timestamp: string;
private session: string;
private onSave: boolean;
private clearTimeout;
constructor(options) {