diff --git a/.eslintrc.json b/.eslintrc
similarity index 100%
rename from .eslintrc.json
rename to .eslintrc
diff --git a/.prettierignore b/.prettierignore
new file mode 100644
index 0000000..7eab50e
--- /dev/null
+++ b/.prettierignore
@@ -0,0 +1,4 @@
+node_modules
+.next
+package.json
+package-lock.json
diff --git a/.prettierrc b/.prettierrc
new file mode 100644
index 0000000..83ef1ce
--- /dev/null
+++ b/.prettierrc
@@ -0,0 +1,6 @@
+{
+ "singleQuote": true,
+ "jsxSingleQuote": true,
+ "semi": false,
+ "trailingComma": "none"
+}
diff --git a/components/Head.tsx b/components/Head.tsx
index 0ed6be0..94f76d5 100644
--- a/components/Head.tsx
+++ b/components/Head.tsx
@@ -1,42 +1,42 @@
-import NextHead from "next/head";
+import NextHead from 'next/head'
const Head: React.FC = () => {
const data = {
title: process.env.NEXT_PUBLIC_PROJECT_NAME,
description: process.env.NEXT_PUBLIC_PROJECT_DESCRIPTION,
- image: "/images/icons/64x64.png",
- url: "https://urlwebsite.fr/",
- };
+ image: '/images/icons/64x64.png',
+ url: 'https://urlwebsite.fr/'
+ }
return (
{data.title}
-
-
+
+
{/* Meta Tag */}
-
-
-
-
+
+
+
+
{/* Open Graph Metadata */}
-
-
-
-
-
-
-
+
+
+
+
+
+
+
{/* Twitter card Metadata */}
-
-
-
-
+
+
+
+
- );
-};
+ )
+}
-export default Head;
+export default Head
diff --git a/next.config.js b/next.config.js
index db17b40..d4300d0 100644
--- a/next.config.js
+++ b/next.config.js
@@ -1,12 +1,12 @@
-const path = require("path");
+const path = require('path')
/** @type {import('next').NextConfig} */
module.exports = {
reactStrictMode: true,
sassOptions: {
includePaths: [
- path.join(__dirname, "styles/abstracts"),
- path.join(__dirname, "styles/base"),
- ],
- },
-};
+ path.join(__dirname, 'styles/abstracts'),
+ path.join(__dirname, 'styles/base')
+ ]
+ }
+}
diff --git a/pages/_app.tsx b/pages/_app.tsx
index 48b481b..c8ee016 100644
--- a/pages/_app.tsx
+++ b/pages/_app.tsx
@@ -1,9 +1,9 @@
-import type { AppProps } from "next/app";
+import type { AppProps } from 'next/app'
-import "../styles/main.scss";
+import '../styles/main.scss'
const MyApp = ({ Component, pageProps }: AppProps) => {
- return ;
-};
+ return
+}
-export default MyApp;
+export default MyApp
diff --git a/pages/index.tsx b/pages/index.tsx
index f5466e6..2064f2c 100644
--- a/pages/index.tsx
+++ b/pages/index.tsx
@@ -1,13 +1,13 @@
-import type { NextPage } from "next";
+import type { NextPage } from 'next'
-import Head from "../components/Head";
+import Head from '../components/Head'
const Home: NextPage = () => {
return (
<>