Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
timlrx committed Aug 11, 2024
1 parent 343237b commit 8e42df3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/generator.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,11 @@ const rehypeCitationGenerator = (Cite) => {
return async (tree, file) => {
/** @type {string[]} */
let bibtexFile = []
/** @type {string} */ // @ts-ignore
const inputCiteformat =
/** @type {string} */ // @ts-ignore
options.csl || file?.data?.matter?.csl || file?.data?.frontmatter?.csl || defaultCiteFormat
/** @type {string[] | false} */ // @ts-ignore
const noCite =
/** @type {string[] | false} */ // @ts-ignore
options.noCite || file?.data?.matter?.noCite || file?.data?.frontmatter?.noCite || false
const inputLang = options.lang || 'en-US'
const config = Cite.plugins.config.get('@csl')
Expand Down

0 comments on commit 8e42df3

Please sign in to comment.