Matchu
494f82601f
Ok cool, I have just not been running any of this since moving out of impress-2020, but now that we're doing serious JS work in here it's time to turn it back on!! 1. Install eslint and the plugins we use 2. Set up a `yarn lint` command 3. Set up a git hook via husky to lint on pre-commit 4. Fix/disable all the lint errors!
14 lines
367 B
JavaScript
14 lines
367 B
JavaScript
import React from "react";
|
|
import ReactDOM from "react-dom";
|
|
|
|
import { AppProvider, WardrobePage } from "./wardrobe-2020";
|
|
|
|
const rootNode = document.querySelector("#wardrobe-2020-root");
|
|
// TODO: Use the new React 18 APIs instead!
|
|
// eslint-disable-next-line react/no-deprecated
|
|
ReactDOM.render(
|
|
<AppProvider>
|
|
<WardrobePage />
|
|
</AppProvider>,
|
|
rootNode,
|
|
);
|