mirror of
https://gitlab.com/timvisee/send.git
synced 2025-12-07 14:40:55 +03:00
Update eslint & plugins
Also replace eslint-plugin-node with the maintained eslint-plugin-n
This commit is contained in:
@@ -6,4 +6,4 @@ parserOptions:
|
||||
sourceType: module
|
||||
|
||||
rules:
|
||||
node/no-unsupported-features: off
|
||||
n/no-unsupported-features: off
|
||||
|
||||
@@ -110,7 +110,7 @@ class Storage {
|
||||
}
|
||||
|
||||
set user(info) {
|
||||
return this.engine.setItem('user', JSON.stringify(info));
|
||||
this.engine.setItem('user', JSON.stringify(info));
|
||||
}
|
||||
|
||||
getFileById(id) {
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
/* global TransformStream */
|
||||
|
||||
export function transformStream(readable, transformer, oncancel) {
|
||||
try {
|
||||
return readable.pipeThrough(new TransformStream(transformer));
|
||||
|
||||
Reference in New Issue
Block a user