Skip to content

Commit

Permalink
chore: update biome config
Browse files Browse the repository at this point in the history
  • Loading branch information
pnodet committed Sep 21, 2024
1 parent 73e1270 commit c856577
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 1 deletion.
20 changes: 19 additions & 1 deletion src/biome.ts
Original file line number Diff line number Diff line change
Expand Up @@ -168,17 +168,35 @@ const defaultConfig: Configuration = {
linter: {
enabled: true,
rules: {
recommended: true,
all: true,
},
},
formatter: {
enabled: true,
indentStyle: "space",
indentSize: 2,
formatWithErrors: false,
ignore: [],
attributePosition: "auto",
indentWidth: 2,
lineWidth: 80,
lineEnding: "lf",
},
javascript: {
formatter: {
quoteStyle: "single",
arrowParentheses: "always",
bracketSameLine: false,
bracketSpacing: true,
jsxQuoteStyle: "double",
quoteProperties: "asNeeded",
semicolons: "always",
trailingCommas: "all",
},
},
json: {
formatter: {
trailingCommas: "none",
},
},
};
Expand Down
14 changes: 14 additions & 0 deletions src/eslint.ts
Original file line number Diff line number Diff line change
Expand Up @@ -513,6 +513,7 @@ export const overrideConfig: Linter.Config<Linter.RulesRecord>[] = [
"stylistic/yield-star-spacing": "off",

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

"tailwindcss/classnames-order": "off",

"node/no-unpublished-import": "off",

"import/no-duplicates": "off",
"import/order": "off",
"import/no-self-import": "off",
"import/no-import-module-exports": "off",
"import/no-unresolved": "off",
"import/extensions": "off",
"import/no-extraneous-dependencies": "off",
"import/no-named-as-default": "off",

"prettier/prettier": "off",
},
},
Expand Down

0 comments on commit c856577

Please sign in to comment.