From a2486d6b623b8f28ff6ca256d97c917b5cbd5fd2 Mon Sep 17 00:00:00 2001 From: DefectingCat Date: Wed, 4 Jan 2023 15:26:36 +0800 Subject: [PATCH] Format code --- .editorconfig | 2 +- components/gists/GistsCode.module.css | 2 +- package.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.editorconfig b/.editorconfig index 95405c1..8f5d808 100644 --- a/.editorconfig +++ b/.editorconfig @@ -9,4 +9,4 @@ indent_size = 2 end_of_line = lf charset = utf-8 trim_trailing_whitespace = false -insert_final_newline = false +insert_final_newline = true diff --git a/components/gists/GistsCode.module.css b/components/gists/GistsCode.module.css index f040b6d..e052001 100644 --- a/components/gists/GistsCode.module.css +++ b/components/gists/GistsCode.module.css @@ -13,4 +13,4 @@ .wrapper .loading span { margin: unset; -} \ No newline at end of file +} diff --git a/package.json b/package.json index ea3fef1..d5dce53 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,7 @@ "lint": "next lint", "test": "jest --watch", "test-ci": "jest --ci --coverage", - "pretty": "prettier --write \"./**/*.{js,jsx,ts,tsx,json}\" --ignore-unknown" + "pretty": "prettier --write \"./**/*.{js,jsx,ts,tsx,json,md,mdx,css}\" --ignore-unknown" }, "dependencies": { "@codesandbox/sandpack-react": "^1.17.1",