mirror of
https://bitbucket.org/wisemapping/wisemapping-frontend.git
synced 2024-11-25 15:47:55 +01:00
Fix lint
This commit is contained in:
parent
59acf8e171
commit
a502498c42
@ -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",
|
||||
"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"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user