This commit is contained in:
Robert Long 2018-07-18 17:55:59 -07:00
Родитель c38c7017bc
Коммит 8e75a08e4c
4 изменённых файлов: 1 добавлений и 5 удалений

Просмотреть файл

@ -12,7 +12,7 @@ module.exports = {
rules: {
"prettier/prettier": "error",
"prefer-const": "error",
"no-use-before-define": "error",
"no-use-before-define": ["error", { "functions": false, "classes": false, "variables": true }],
"no-var": "error",
"no-throw-literal": "error",
// Light console usage is useful but remove debug logs before merging to master.

Просмотреть файл

@ -219,7 +219,6 @@ export async function loadSerializedScene(sceneDef, baseURI, addComponent, isRoo
const absoluteBaseURL = new URL(baseURI, window.location);
if (inherits) {
const inheritedSceneURL = new URL(inherits, absoluteBaseURL);
// eslint-disable-next-line no-use-before-define
scene = await loadScene(inheritedSceneURL.href, addComponent, false, ancestors);
if (ancestors) {

Просмотреть файл

@ -16,7 +16,6 @@ import AssetExplorerPanelContainer from "./panels/AssetExplorerPanelContainer";
import PanelToolbar from "./PanelToolbar";
import { withProject } from "./contexts/ProjectContext";
import { withEditor } from "./contexts/EditorContext";
import { exportScene } from "../editor/SceneLoader";
import styles from "../common.scss";
class EditorContainer extends Component {

Просмотреть файл

@ -200,9 +200,7 @@ export default async function startServer(options) {
await new Promise((resolve, reject) => {
function cleanUp() {
// eslint-disable-next-line
writeStream.removeListener("finish", onFinish);
// eslint-disable-next-line
writeStream.removeListener("error", onError);
}