Skip to content

A full-featured CRM built with React, shadcn/ui, and Supabase.

Fix(lint): add html files to prettier

Jonathan ARNAULT6fd84ab1398b
diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml
index 2aea6431..6cb71941 100644
--- a/.github/workflows/check.yml
+++ b/.github/workflows/check.yml
@@ -46,7 +46,7 @@ jobs:
eslint: true
eslint_args: "**/*.{mjs,ts,tsx}"
prettier: true
- prettier_args: "--config ./.prettierrc.mjs \"**/*.{js,json,ts,tsx,css,md}\""
+ prettier_args: "--config ./.prettierrc.mjs \"**/*.{js,json,ts,tsx,css,md,html}\""
build:
name: ⚙️ Build
diff --git a/index.html b/index.html
index ac5e949c..0bcc4163 100644
--- a/index.html
+++ b/index.html
@@ -1,4 +1,4 @@
-<!DOCTYPE html>
+<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
diff --git a/package.json b/package.json
index 3fca0560..b84f8f80 100644
--- a/package.json
+++ b/package.json
@@ -64,8 +64,8 @@
"preview": "vite preview",
"lint:apply": "eslint **/*.{mjs,ts,tsx} --fix",
"lint:check": "eslint **/*.{mjs,ts,tsx}",
- "prettier:apply": "prettier --config ./.prettierrc.mjs --write --list-different \"**/*.{js,json,ts,tsx,css,md}\"",
- "prettier:check": "prettier --config ./.prettierrc.mjs --check \"**/*.{js,json,ts,tsx,css,md}\"",
+ "prettier:apply": "prettier --config ./.prettierrc.mjs --write --list-different \"**/*.{js,json,ts,tsx,css,md,html}\"",
+ "prettier:check": "prettier --config ./.prettierrc.mjs --check \"**/*.{js,json,ts,tsx,css,md,html}\"",
"ghpages:deploy": "node ./scripts/ghpages-deploy.mjs",
"supabase:remote:init": "node ./scripts/supabase-remote-init.mjs"
}