Skip to content

Commit c856577

Browse files
committed
chore: update biome config
1 parent 73e1270 commit c856577

File tree

2 files changed

+33
-1
lines changed

2 files changed

+33
-1
lines changed

Diff for: src/biome.ts

+19-1
Original file line numberDiff line numberDiff line change
@@ -168,17 +168,35 @@ const defaultConfig: Configuration = {
168168
linter: {
169169
enabled: true,
170170
rules: {
171-
recommended: true,
171+
all: true,
172172
},
173173
},
174174
formatter: {
175175
enabled: true,
176176
indentStyle: "space",
177177
indentSize: 2,
178+
formatWithErrors: false,
179+
ignore: [],
180+
attributePosition: "auto",
181+
indentWidth: 2,
182+
lineWidth: 80,
183+
lineEnding: "lf",
178184
},
179185
javascript: {
180186
formatter: {
181187
quoteStyle: "single",
188+
arrowParentheses: "always",
189+
bracketSameLine: false,
190+
bracketSpacing: true,
191+
jsxQuoteStyle: "double",
192+
quoteProperties: "asNeeded",
193+
semicolons: "always",
194+
trailingCommas: "all",
195+
},
196+
},
197+
json: {
198+
formatter: {
199+
trailingCommas: "none",
182200
},
183201
},
184202
};

Diff for: src/eslint.ts

+14
Original file line numberDiff line numberDiff line change
@@ -513,6 +513,7 @@ export const overrideConfig: Linter.Config<Linter.RulesRecord>[] = [
513513
"stylistic/yield-star-spacing": "off",
514514

515515
"unicorn/new-for-builtins": "off",
516+
"unicorn/no-unnecessary-polyfills": "off",
516517
"unicorn/expiring-todo-comments": "off",
517518
"unicorn/escape-case": "off",
518519
"unicorn/prefer-module": "off",
@@ -607,6 +608,19 @@ export const overrideConfig: Linter.Config<Linter.RulesRecord>[] = [
607608
"vue/space-unary-ops": "off",
608609
"vue/template-curly-spacing": "off",
609610

611+
"tailwindcss/classnames-order": "off",
612+
613+
"node/no-unpublished-import": "off",
614+
615+
"import/no-duplicates": "off",
616+
"import/order": "off",
617+
"import/no-self-import": "off",
618+
"import/no-import-module-exports": "off",
619+
"import/no-unresolved": "off",
620+
"import/extensions": "off",
621+
"import/no-extraneous-dependencies": "off",
622+
"import/no-named-as-default": "off",
623+
610624
"prettier/prettier": "off",
611625
},
612626
},

0 commit comments

Comments
 (0)