mirror of
https://github.com/DIYgod/RSSHub-Radar.git
synced 2026-08-28 17:45:13 +08:00
ec2f091235
* feat: migrate extension framework to wxt - Replace Plasmo entrypoints, messaging, and storage usage with WXT-compatible implementations - Update workflows, build scripts, and locale paths for WXT outputs - Switch store submission to wxt submit with optional dry-run input * fix(ci): fallback to vars for submit credentials - Resolve missing required config in submit workflow when values are stored in GitHub Variables instead of Secrets - Keep existing secrets first and add vars fallback for Chrome, Firefox, and Edge credentials
25 lines
530 B
JavaScript
25 lines
530 B
JavaScript
/**
|
|
* @type {import('prettier').Options}
|
|
*/
|
|
export default {
|
|
printWidth: 80,
|
|
tabWidth: 2,
|
|
useTabs: false,
|
|
semi: false,
|
|
singleQuote: false,
|
|
trailingComma: "none",
|
|
bracketSpacing: true,
|
|
bracketSameLine: true,
|
|
plugins: ["@ianvs/prettier-plugin-sort-imports"],
|
|
importOrder: [
|
|
"<BUILTIN_MODULES>", // Node.js built-in modules
|
|
"<THIRD_PARTY_MODULES>", // Imports not matched by other special words or groups.
|
|
"", // Empty line
|
|
"^@plasmohq/(.*)$",
|
|
"",
|
|
"^~(.*)$",
|
|
"",
|
|
"^[./]",
|
|
],
|
|
}
|