mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 02:35:49 +00:00
chore: lint
This commit is contained in:
parent
6fb2102099
commit
2428853613
4 changed files with 14 additions and 8 deletions
|
|
@ -30,3 +30,4 @@ webpack.config.js
|
||||||
*.cdr
|
*.cdr
|
||||||
*.eps
|
*.eps
|
||||||
|
|
||||||
|
*.config.*
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,8 @@
|
||||||
"exclude": [
|
"exclude": [
|
||||||
"**/*.spec.js",
|
"**/*.spec.js",
|
||||||
"**/fixture",
|
"**/fixture",
|
||||||
"**/*.*.js"
|
"**/*.*.js",
|
||||||
|
"**/*.config.*"
|
||||||
],
|
],
|
||||||
"branches": 100,
|
"branches": 100,
|
||||||
"lines": 100,
|
"lines": 100,
|
||||||
|
|
|
||||||
|
|
@ -23,9 +23,11 @@ test('cloudcmd: client: polyfill: scrollIntoViewIfNeaded', (t) => {
|
||||||
mockRequire.stop('scroll-into-view-if-neaded');
|
mockRequire.stop('scroll-into-view-if-neaded');
|
||||||
global.DOM = DOM;
|
global.DOM = DOM;
|
||||||
|
|
||||||
const args = [el, {
|
const args = [
|
||||||
block: 'nearest',
|
el, {
|
||||||
}];
|
block: 'nearest',
|
||||||
|
},
|
||||||
|
];
|
||||||
|
|
||||||
stopAll();
|
stopAll();
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -242,8 +242,10 @@ function cryptoPass(manage, json) {
|
||||||
|
|
||||||
const password = criton(json.password, algo);
|
const password = criton(json.password, algo);
|
||||||
|
|
||||||
return [manage, {
|
return [
|
||||||
...json,
|
manage, {
|
||||||
password,
|
...json,
|
||||||
}];
|
password,
|
||||||
|
},
|
||||||
|
];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue