refactor: apply deno lint --fix
This commit is contained in:
parent
e97e1503cb
commit
f42cf708c0
|
@ -1,7 +1,7 @@
|
||||||
import { Command } from '@cliffy/command/mod.ts'
|
import { Command } from '@cliffy/command/mod.ts'
|
||||||
import { Contact } from '../src/contact.ts'
|
import { Contact } from '../src/contact.ts'
|
||||||
import { send } from '../src/send.ts'
|
import { send } from '../src/send.ts'
|
||||||
import { Mail } from '../types.ts'
|
import type { Mail } from '../types.ts'
|
||||||
|
|
||||||
export const cmd = new Command()
|
export const cmd = new Command()
|
||||||
.name('send')
|
.name('send')
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import { Mail } from '../types.ts'
|
import type { Mail } from '../types.ts'
|
||||||
import { transporter } from './transporter.ts'
|
import { transporter } from './transporter.ts'
|
||||||
|
|
||||||
export function send(mail: Mail) {
|
export function send(mail: Mail) {
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
import React from 'preact/compat' //for jsx-email
|
import type React from 'preact/compat' //for jsx-email
|
||||||
import { render } from 'jsx-email'
|
import { render } from 'jsx-email'
|
||||||
// @deno-types="npm:turndown"
|
// @deno-types="npm:turndown"
|
||||||
import Turndown from 'turndown'
|
import Turndown from 'turndown'
|
||||||
import { JSX } from 'preact'
|
import type { JSX } from 'preact'
|
||||||
|
|
||||||
const htmlToMd = new Turndown({
|
const htmlToMd = new Turndown({
|
||||||
headingStyle: 'atx',
|
headingStyle: 'atx',
|
||||||
|
|
Loading…
Reference in a new issue