0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-22 18:17:52 +00:00

lint client

This commit is contained in:
Víctor Losada Hernández
2026-01-21 16:17:11 +01:00
parent 3a6541269a
commit 4bf485b2e2
8 changed files with 18 additions and 18 deletions

View File

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

View File

@@ -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 (
<>
<Stats />

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -1,4 +1,4 @@
import React, { useState} from 'react';
import React, { useState } from 'react';
import _ from 'lodash';
import ListPage from '../basePages/listPage/listPage.jsx';