You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-12-02 22:49:09 +02:00
Chore: Apply eslint no-unused-vars eslint config and add TypeScript config
This commit is contained in:
@@ -2,7 +2,7 @@ const RNFS = require('react-native-fs');
|
||||
const FsDriverBase = require('lib/fs-driver-base');
|
||||
|
||||
class FsDriverRN extends FsDriverBase {
|
||||
appendFileSync(path, string) {
|
||||
appendFileSync() {
|
||||
throw new Error('Not implemented');
|
||||
}
|
||||
|
||||
@@ -19,7 +19,7 @@ class FsDriverRN extends FsDriverBase {
|
||||
return await this.unlink(path);
|
||||
}
|
||||
|
||||
writeBinaryFile(path, content) {
|
||||
writeBinaryFile() {
|
||||
throw new Error('Not implemented');
|
||||
}
|
||||
|
||||
@@ -81,7 +81,7 @@ class FsDriverRN extends FsDriverBase {
|
||||
// arguments but the function returns `false` and the timestamp is not set.
|
||||
// Current setTimestamp is not really used so keep it that way, but careful if it
|
||||
// becomes needed.
|
||||
async setTimestamp(path, timestampDate) {
|
||||
async setTimestamp() {
|
||||
// return RNFS.touch(path, timestampDate, timestampDate);
|
||||
}
|
||||
|
||||
@@ -98,7 +98,7 @@ class FsDriverRN extends FsDriverBase {
|
||||
};
|
||||
}
|
||||
|
||||
close(handle) {
|
||||
close() {
|
||||
return null;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user