1
0
Fork 0

chore: Remove lint

This commit is contained in:
Joost De Cock 2023-10-02 18:20:31 +02:00
parent f0373de2fc
commit 78aed4e207
5 changed files with 6 additions and 11 deletions

View file

@ -1,6 +1,6 @@
import { pocket } from './pocket.mjs' import { pocket } from './pocket.mjs'
function hugoPocketFacing({ sa, points, Path, paths, macro, store, expand, part }) { function hugoPocketFacing({ sa, points, Path, paths, macro, store, part }) {
// Remove clutter // Remove clutter
for (const key in paths) { for (const key in paths) {
if (key !== 'facing') delete paths[key] if (key !== 'facing') delete paths[key]

View file

@ -35,7 +35,7 @@ const getToken = async () => {
password: process.env.FS_PASSWORD, password: process.env.FS_PASSWORD,
}) })
if (res.data) return res.data.token if (res.data) return res.data.token
else if (res.err) return console.log(err) else if (res.err) return console.log(res.err)
} }
const getSubscribers = async (test = true) => { const getSubscribers = async (test = true) => {

View file

@ -1,17 +1,11 @@
import { designs, tags, techniques } from 'shared/config/designs.mjs' import { designs, tags, techniques } from 'shared/config/designs.mjs'
import { import { Design, DesignLink, ns as designNs } from 'shared/components/designs/design.mjs'
Design,
DesignLink,
hrefBuilders,
ns as designNs,
} from 'shared/components/designs/design.mjs'
import { useTranslation } from 'next-i18next' import { useTranslation } from 'next-i18next'
import { ShowcaseIcon, CisFemaleIcon, ResetIcon } from 'shared/components/icons.mjs' import { ShowcaseIcon, CisFemaleIcon, ResetIcon } from 'shared/components/icons.mjs'
import { useAtom } from 'jotai' import { useAtom } from 'jotai'
import { atomWithHash } from 'jotai-location' import { atomWithHash } from 'jotai-location'
import { capitalize, objUpdate } from 'shared/utils.mjs' import { capitalize, objUpdate } from 'shared/utils.mjs'
import { Difficulty } from 'shared/components/designs/difficulty.mjs' import { Difficulty } from 'shared/components/designs/difficulty.mjs'
import { Link } from 'shared/components/link.mjs'
export const ns = designNs export const ns = designNs

View file

@ -43,7 +43,8 @@ export const ns = nsMerge(
logNs, logNs,
inspectNs, inspectNs,
measiesNs, measiesNs,
headerNs headerNs,
docsNs
) )
const defaultUi = { const defaultUi = {

View file

@ -8,7 +8,7 @@ import { PageLink } from 'shared/components/link.mjs'
export const ns = ['workbench', 'designs'] export const ns = ['workbench', 'designs']
export const DocsView = ({ design, setView }) => { export const DocsView = ({ design }) => {
// Hooks // Hooks
const { t } = useTranslation(ns) const { t } = useTranslation(ns)