You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-11-23 22:36:32 +02:00
Tools: Add class member accessibility modifiers and converted rule @typescript-eslint/explicit-member-accessibility to an error
This commit is contained in:
@@ -3,15 +3,15 @@
|
||||
import BaseModel from '../BaseModel';
|
||||
|
||||
export default class Search extends BaseModel {
|
||||
static tableName(): string {
|
||||
public static tableName(): string {
|
||||
throw new Error('Not using database');
|
||||
}
|
||||
|
||||
static modelType() {
|
||||
public static modelType() {
|
||||
return BaseModel.TYPE_SEARCH;
|
||||
}
|
||||
|
||||
static keywords(query: string) {
|
||||
public static keywords(query: string) {
|
||||
let output: any = query.trim();
|
||||
output = output.split(/[\s\t\n]+/);
|
||||
output = output.filter((o: any) => !!o);
|
||||
|
||||
Reference in New Issue
Block a user