diff --git a/.eslintrc.json b/.eslintrc.json
index 8e40076..38d72c1 100644
--- a/.eslintrc.json
+++ b/.eslintrc.json
@@ -1,7 +1,8 @@
{
"env": {
"browser": true,
- "es2021": true
+ "es2021": true,
+ "node": true
},
"extends": [
"eslint:recommended",
@@ -22,6 +23,32 @@
"require-await": "error",
"no-console": "warn",
"no-unused-vars": "warn",
+ "react/prop-types": "off",
+ "import/order": [
+ "error",
+ {
+ "groups": ["builtin", "external", "internal", "parent", "sibling", "index", ["object", "type"]],
+ "pathGroups": [
+ {
+ "pattern": "@/**",
+ "group": "external",
+ "position": "after"
+ },
+ {
+ "pattern": "react",
+ "group": "builtin",
+ "position": "before"
+ }
+ ],
+ "pathGroupsExcludedImportTypes": ["react"],
+ "newlines-between": "always",
+ "alphabetize": {
+ "order": "asc",
+ "caseInsensitive": true
+ }
+ }
+ ],
+
"import/no-extraneous-dependencies": [
"error",
{
diff --git a/src/App.css b/src/App.css
deleted file mode 100644
index 74b5e05..0000000
--- a/src/App.css
+++ /dev/null
@@ -1,38 +0,0 @@
-.App {
- text-align: center;
-}
-
-.App-logo {
- height: 40vmin;
- pointer-events: none;
-}
-
-@media (prefers-reduced-motion: no-preference) {
- .App-logo {
- animation: App-logo-spin infinite 20s linear;
- }
-}
-
-.App-header {
- background-color: #282c34;
- min-height: 100vh;
- display: flex;
- flex-direction: column;
- align-items: center;
- justify-content: center;
- font-size: calc(10px + 2vmin);
- color: white;
-}
-
-.App-link {
- color: #61dafb;
-}
-
-@keyframes App-logo-spin {
- from {
- transform: rotate(0deg);
- }
- to {
- transform: rotate(360deg);
- }
-}
diff --git a/src/App.test.js b/src/App.test.js
deleted file mode 100644
index 1f03afe..0000000
--- a/src/App.test.js
+++ /dev/null
@@ -1,8 +0,0 @@
-import { render, screen } from '@testing-library/react';
-import App from './App';
-
-test('renders learn react link', () => {
- render();
- const linkElement = screen.getByText(/learn react/i);
- expect(linkElement).toBeInTheDocument();
-});
diff --git a/src/index.js b/src/index.js
index 9168dc4..c779a42 100644
--- a/src/index.js
+++ b/src/index.js
@@ -1,5 +1,7 @@
import React from 'react';
+
import ReactDOM from 'react-dom/client';
+
import './index.css';
import App from './App';
import reportWebVitals from './reportWebVitals';
diff --git a/src/logo.svg b/src/logo.svg
deleted file mode 100644
index 9dfc1c0..0000000
--- a/src/logo.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file