chore: Use kebab-case for file names

This commit is contained in:
syuilo 2020-04-26 11:48:09 +09:00
parent 9aac6a65c6
commit 69975c2fdd
8 changed files with 5 additions and 5 deletions

View file

@ -1,5 +1,5 @@
import { Note } from '../../../models/entities/note';
import { toHtml } from '../../../mfm/toHtml';
import { toHtml } from '../../../mfm/to-html';
import { parse } from '../../../mfm/parse';
export default function(note: Note) {

View file

@ -1,6 +1,6 @@
import { IObject } from '../type';
import { extractApHashtagObjects } from '../models/tag';
import { fromHtml } from '../../../mfm/fromHtml';
import { fromHtml } from '../../../mfm/from-html';
export function htmlToMfm(html: string, tag?: IObject | IObject[]) {
const hashtagNames = extractApHashtagObjects(tag).map(x => x.name).filter((x): x is string => x != null);