chore: lint

This commit is contained in:
coderaiser 2024-04-17 00:04:02 +03:00
parent 6fb2102099
commit 2428853613
4 changed files with 14 additions and 8 deletions

View file

@ -30,3 +30,4 @@ webpack.config.js
*.cdr *.cdr
*.eps *.eps
*.config.*

View file

@ -4,7 +4,8 @@
"exclude": [ "exclude": [
"**/*.spec.js", "**/*.spec.js",
"**/fixture", "**/fixture",
"**/*.*.js" "**/*.*.js",
"**/*.config.*"
], ],
"branches": 100, "branches": 100,
"lines": 100, "lines": 100,

View file

@ -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();

View file

@ -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,
},
];
} }