chore: update prettier setting

This commit is contained in:
Steven
2023-08-05 21:28:50 +08:00
parent 9a491e2a82
commit aaed0a747f
9 changed files with 69 additions and 151 deletions

8
web/.prettierrc.js Normal file
View File

@@ -0,0 +1,8 @@
module.exports = {
printWidth: 140,
useTabs: false,
semi: true,
singleQuote: false,
plugins: [require.resolve("@trivago/prettier-plugin-sort-imports")],
importOrder: ["<BUILTIN_MODULES>", "<THIRD_PARTY_MODULES>", "^@/((?!less).+)", "^[./]", "^(.+).less"],
};