Skip to content

Commit

Permalink
fixing stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
Mahmoud committed Dec 4, 2023
1 parent 918017b commit aa3f419
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
8 changes: 4 additions & 4 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module.exports = {
browser: true,
es2021: true
},
extends: 'standard',
extends: "standard",
overrides: [
{
env: {
Expand All @@ -23,13 +23,13 @@ module.exports = {
sourceType: "module"
},
plugins: [
"react"
"react",
"jest"
],
rules: {
quotes: ["error", "double"], // use Always double quotes
"space-before-function-paren": ["error", "never"], // No Space between function and parentheses
"react/prop-types": "off",
extends: ["plugin:jest/recommended"], //for Jest
plugins: ["jest"]
"jest/expect-expect": 2
}
}
12 changes: 6 additions & 6 deletions src/index.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import React, { StrictMode } from "react";
import { createRoot } from "react-dom/client";
import "./styles.css";
import React, { StrictMode } from "react"
import { createRoot } from "react-dom/client"
import "./styles.css"

import App from "./App";
import App from "./App"

const root = createRoot(document.getElementById("root"));
const root = createRoot(document.getElementById("root"))
root.render(
<StrictMode>
<App />
</StrictMode>
);
)

0 comments on commit aa3f419

Please sign in to comment.