refactor: apply deno lint --fix

This commit is contained in:
Julien Oculi 2024-03-29 16:37:35 +01:00
parent e97e1503cb
commit f42cf708c0
4 changed files with 5 additions and 5 deletions

View file

@ -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')

View file

@ -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) {

View file

@ -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',

View file

@ -1,5 +1,5 @@
import type { JSX } from 'preact' import type { JSX } from 'preact'
import { Contact } from './src/contact.ts' import type { Contact } from './src/contact.ts'
export type Mail = { export type Mail = {
from: Contact from: Contact