mirror of
https://bitbucket.org/wisemapping/wisemapping-frontend.git
synced 2024-11-22 14:47:56 +01:00
Fix lint
This commit is contained in:
parent
59acf8e171
commit
a502498c42
@ -25,15 +25,26 @@
|
|||||||
"no-underscore-dangle": "off",
|
"no-underscore-dangle": "off",
|
||||||
"no-plusplus": "off",
|
"no-plusplus": "off",
|
||||||
"no-param-reassign": "off",
|
"no-param-reassign": "off",
|
||||||
"max-len": [1,300],
|
"max-len": [
|
||||||
|
1,
|
||||||
|
300
|
||||||
|
],
|
||||||
"class-methods-use-this": "off",
|
"class-methods-use-this": "off",
|
||||||
"no-console": "off",
|
"no-console": "off",
|
||||||
// codebase contains many this aliases, fix in the future?
|
// codebase contains many this aliases, fix in the future?
|
||||||
"@typescript-eslint/no-this-alias": "off",
|
"@typescript-eslint/no-this-alias": "off",
|
||||||
// Remove once migration is completed ...
|
// Remove once migration is completed ...
|
||||||
"@typescript-eslint/no-explicit-any": "warn",
|
"@typescript-eslint/no-explicit-any": "warn",
|
||||||
"import/extensions": "warn"
|
"import/extensions": [
|
||||||
|
"error",
|
||||||
|
"ignorePackages",
|
||||||
|
{
|
||||||
|
"js": "never",
|
||||||
|
"jsx": "never",
|
||||||
|
"ts": "never",
|
||||||
|
"tsx": "never"
|
||||||
|
}
|
||||||
|
]
|
||||||
},
|
},
|
||||||
"settings": {
|
"settings": {
|
||||||
"import/resolver": {
|
"import/resolver": {
|
||||||
@ -41,7 +52,10 @@
|
|||||||
"config": "./webpack.common.js"
|
"config": "./webpack.common.js"
|
||||||
},
|
},
|
||||||
"node": {
|
"node": {
|
||||||
"extensions": [".js",".ts"]
|
"extensions": [
|
||||||
|
".js",
|
||||||
|
".ts"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -23,11 +23,17 @@ import PersistenceManager from './PersistenceManager';
|
|||||||
|
|
||||||
class RESTPersistenceManager extends PersistenceManager {
|
class RESTPersistenceManager extends PersistenceManager {
|
||||||
private documentUrl: string;
|
private documentUrl: string;
|
||||||
|
|
||||||
private revertUrl: string;
|
private revertUrl: string;
|
||||||
|
|
||||||
private lockUrl: string;
|
private lockUrl: string;
|
||||||
|
|
||||||
private timestamp: string;
|
private timestamp: string;
|
||||||
|
|
||||||
private session: string;
|
private session: string;
|
||||||
|
|
||||||
private onSave: boolean;
|
private onSave: boolean;
|
||||||
|
|
||||||
private clearTimeout;
|
private clearTimeout;
|
||||||
|
|
||||||
constructor(options) {
|
constructor(options) {
|
||||||
|
Loading…
Reference in New Issue
Block a user