From 4bf485b2e250f78b5d232dc137f53564c5c44f06 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADctor=20Losada=20Hern=C3=A1ndez?= Date: Wed, 21 Jan 2026 16:17:11 +0100 Subject: [PATCH] lint client --- client/admin/admin.jsx | 2 +- client/admin/brewUtils/brewUtils.jsx | 14 +++++++------- .../notificationLookup/notificationLookup.jsx | 2 +- client/components/splitPane/splitPane.jsx | 2 +- client/homebrew/editor/snippetbar/snippetbar.jsx | 10 +++++----- client/homebrew/homebrew.jsx | 2 +- client/homebrew/navbar/nav.jsx | 2 +- client/homebrew/pages/userPage/userPage.jsx | 2 +- 8 files changed, 18 insertions(+), 18 deletions(-) diff --git a/client/admin/admin.jsx b/client/admin/admin.jsx index 5a9a55fc8..a8ee10562 100644 --- a/client/admin/admin.jsx +++ b/client/admin/admin.jsx @@ -1,6 +1,6 @@ import './admin.less'; import React, { useEffect, useState } from 'react'; -import BrewUtils from "./brewUtils/brewUtils.jsx"; +import BrewUtils from './brewUtils/brewUtils.jsx'; import NotificationUtils from './notificationUtils/notificationUtils.jsx'; import AuthorUtils from './authorUtils/authorUtils.jsx'; import LockTools from './lockTools/lockTools.jsx'; diff --git a/client/admin/brewUtils/brewUtils.jsx b/client/admin/brewUtils/brewUtils.jsx index 7e0159797..dd663ddaa 100644 --- a/client/admin/brewUtils/brewUtils.jsx +++ b/client/admin/brewUtils/brewUtils.jsx @@ -1,12 +1,12 @@ -import React from "react"; -import "./brewUtils.less"; +import React from 'react'; +import './brewUtils.less'; -import BrewCleanup from "./brewCleanup/brewCleanup.jsx"; -import BrewLookup from "./brewLookup/brewLookup.jsx"; -import BrewCompress from "./brewCompress/brewCompress.jsx"; -import Stats from "./stats/stats.jsx"; +import BrewCleanup from './brewCleanup/brewCleanup.jsx'; +import BrewLookup from './brewLookup/brewLookup.jsx'; +import BrewCompress from './brewCompress/brewCompress.jsx'; +import Stats from './stats/stats.jsx'; -const BrewUtils = () => { +const BrewUtils = ()=>{ return ( <> diff --git a/client/admin/notificationUtils/notificationLookup/notificationLookup.jsx b/client/admin/notificationUtils/notificationLookup/notificationLookup.jsx index 25d864274..063b3e908 100644 --- a/client/admin/notificationUtils/notificationLookup/notificationLookup.jsx +++ b/client/admin/notificationUtils/notificationLookup/notificationLookup.jsx @@ -1,5 +1,5 @@ import './notificationLookup.less'; -import React, { useState} from 'react'; +import React, { useState } from 'react'; import request from 'superagent'; import Moment from 'moment'; diff --git a/client/components/splitPane/splitPane.jsx b/client/components/splitPane/splitPane.jsx index 7a5d28103..7cbfe2066 100644 --- a/client/components/splitPane/splitPane.jsx +++ b/client/components/splitPane/splitPane.jsx @@ -1,5 +1,5 @@ import './splitPane.less'; -import React, { useEffect, useState} from 'react'; +import React, { useEffect, useState } from 'react'; const PANE_WIDTH_KEY = 'HB_editor_splitWidth'; const LIVE_SCROLL_KEY = 'HB_editor_liveScroll'; diff --git a/client/homebrew/editor/snippetbar/snippetbar.jsx b/client/homebrew/editor/snippetbar/snippetbar.jsx index 73c8e2f5b..b6e977ea2 100644 --- a/client/homebrew/editor/snippetbar/snippetbar.jsx +++ b/client/homebrew/editor/snippetbar/snippetbar.jsx @@ -16,11 +16,11 @@ import V3_Journal from 'themes/V3/Journal/snippets.js'; import V3_Blank from 'themes/V3/Blank/snippets.js'; const ThemeSnippets = { - Legacy_5ePHB: Legacy5ePHB, - V3_5ePHB: V3_5ePHB, - V3_5eDMG: V3_5eDMG, - V3_Journal: V3_Journal, - V3_Blank: V3_Blank, + Legacy_5ePHB : Legacy5ePHB, + V3_5ePHB : V3_5ePHB, + V3_5eDMG : V3_5eDMG, + V3_Journal : V3_Journal, + V3_Blank : V3_Blank, }; import EditorThemes from 'build/homebrew/codeMirror/editorThemes.json'; diff --git a/client/homebrew/homebrew.jsx b/client/homebrew/homebrew.jsx index e38293bde..326287ee6 100644 --- a/client/homebrew/homebrew.jsx +++ b/client/homebrew/homebrew.jsx @@ -1,4 +1,4 @@ -/* eslint-disable camelcase */ + import 'core-js/es/string/to-well-formed.js'; //Polyfill for older browsers import './homebrew.less'; import React from 'react'; diff --git a/client/homebrew/navbar/nav.jsx b/client/homebrew/navbar/nav.jsx index 6b73b921d..cf1e2adbf 100644 --- a/client/homebrew/navbar/nav.jsx +++ b/client/homebrew/navbar/nav.jsx @@ -1,5 +1,5 @@ import 'client/homebrew/navbar/navbar.less'; -import React, { useState, useRef, useEffect} from 'react'; +import React, { useState, useRef, useEffect } from 'react'; import createReactClass from 'create-react-class'; import _ from 'lodash'; import cx from 'classnames'; diff --git a/client/homebrew/pages/userPage/userPage.jsx b/client/homebrew/pages/userPage/userPage.jsx index 2a4c47c60..ff7345ef4 100644 --- a/client/homebrew/pages/userPage/userPage.jsx +++ b/client/homebrew/pages/userPage/userPage.jsx @@ -1,4 +1,4 @@ -import React, { useState} from 'react'; +import React, { useState } from 'react'; import _ from 'lodash'; import ListPage from '../basePages/listPage/listPage.jsx';