mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-01-22 18:17:52 +00:00
lint client
This commit is contained in:
@@ -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';
|
||||
|
||||
@@ -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 />
|
||||
|
||||
@@ -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';
|
||||
|
||||
|
||||
@@ -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';
|
||||
|
||||
@@ -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';
|
||||
|
||||
@@ -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';
|
||||
|
||||
@@ -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';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import React, { useState} from 'react';
|
||||
import React, { useState } from 'react';
|
||||
import _ from 'lodash';
|
||||
|
||||
import ListPage from '../basePages/listPage/listPage.jsx';
|
||||
|
||||
Reference in New Issue
Block a user