mirror of
https://activitypub.software/TransFem-org/sfm-js
synced 2024-11-29 01:13:02 +00:00
lint
This commit is contained in:
parent
4fee3f5fb6
commit
f1d942be62
3 changed files with 24 additions and 24 deletions
|
@ -12,7 +12,7 @@ export function parse(input: string, opts: Partial<{ fnNameList: string[]; nestL
|
||||||
const nodes = parser.parse(input, {
|
const nodes = parser.parse(input, {
|
||||||
startRule: 'fullParser',
|
startRule: 'fullParser',
|
||||||
fnNameList: opts.fnNameList,
|
fnNameList: opts.fnNameList,
|
||||||
nestLimit: opts.nestLimit
|
nestLimit: opts.nestLimit,
|
||||||
});
|
});
|
||||||
return nodes;
|
return nodes;
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,14 +3,14 @@ export {
|
||||||
parsePlain,
|
parsePlain,
|
||||||
toString,
|
toString,
|
||||||
inspect,
|
inspect,
|
||||||
extract
|
extract,
|
||||||
} from './api';
|
} from './api';
|
||||||
|
|
||||||
export {
|
export {
|
||||||
NodeType,
|
NodeType,
|
||||||
MfmNode,
|
MfmNode,
|
||||||
MfmBlock,
|
MfmBlock,
|
||||||
MfmInline
|
MfmInline,
|
||||||
} from './node';
|
} from './node';
|
||||||
|
|
||||||
export {
|
export {
|
||||||
|
@ -35,7 +35,7 @@ export {
|
||||||
MfmUrl,
|
MfmUrl,
|
||||||
MfmLink,
|
MfmLink,
|
||||||
MfmFn,
|
MfmFn,
|
||||||
MfmText
|
MfmText,
|
||||||
} from './node';
|
} from './node';
|
||||||
|
|
||||||
export {
|
export {
|
||||||
|
@ -60,5 +60,5 @@ export {
|
||||||
N_URL,
|
N_URL,
|
||||||
LINK,
|
LINK,
|
||||||
FN,
|
FN,
|
||||||
TEXT
|
TEXT,
|
||||||
} from './node';
|
} from './node';
|
||||||
|
|
Loading…
Reference in a new issue