Skip to content

Commit e2422e1

Browse files
committed
style: formatting
1 parent 1c45cfc commit e2422e1

File tree

2 files changed

+13
-5
lines changed

2 files changed

+13
-5
lines changed

.oxfmtrc.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,10 @@
55
"quoteProps": "as-needed",
66
"trailingComma": "all",
77
"endOfLine": "lf",
8-
"ignorePatterns": [".yarn", "oxlint-configs"]
8+
"ignorePatterns": [".yarn", "oxlint-configs"],
9+
"experimentalSortImports": {
10+
"groups": [["builtin"], ["external"], ["internal"], ["parent"], ["sibling"], ["index"]],
11+
"ignoreCase": false,
12+
"newlinesBetween": false
13+
}
914
}

src/typescript.ts

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -69,10 +69,13 @@ const rules: TSESLint.FlatConfig.Rules = {
6969
},
7070
],
7171
"@typescript-eslint/no-duplicate-enum-values": 2,
72-
"@typescript-eslint/no-duplicate-type-constituents": [2, {
73-
ignoreIntersections: false,
74-
ignoreUnions: false,
75-
}],
72+
"@typescript-eslint/no-duplicate-type-constituents": [
73+
2,
74+
{
75+
ignoreIntersections: false,
76+
ignoreUnions: false,
77+
},
78+
],
7679
"@typescript-eslint/no-dynamic-delete": 2,
7780
"@typescript-eslint/no-empty-function": 0,
7881
"@typescript-eslint/no-empty-interface": [

0 commit comments

Comments
 (0)