Update eslint & plugins
Also replace eslint-plugin-node with the maintained eslint-plugin-n
This commit is contained in:
parent
64644b57e3
commit
38746b86fd
16 changed files with 1409 additions and 3457 deletions
|
@ -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));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue