Skip to content

Commit 5ee5706

Browse files
committed
style: migrate to @lihbr/eslint-config
1 parent 1cd1282 commit 5ee5706

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

69 files changed

+7584
-11834
lines changed

eslint.config.js

+2-20
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,3 @@
1-
import antfu from "@antfu/eslint-config";
1+
import lihbr from "@lihbr/eslint-config"
22

3-
export default antfu({
4-
stylistic: {
5-
quotes: "double",
6-
indent: "tab",
7-
semi: true,
8-
overrides: {
9-
"style/arrow-parens": ["error", "always"],
10-
"style/brace-style": ["error", "1tbs"],
11-
"style/operator-linebreak": [
12-
"error",
13-
"after",
14-
{ overrides: { "?": "before", ":": "before" } },
15-
],
16-
"curly": ["error", "all"],
17-
"ts/consistent-type-definitions": ["error", "type"],
18-
"ts/explicit-module-boundary-types": "error",
19-
},
20-
},
21-
});
3+
export default lihbr()

0 commit comments

Comments
 (0)