Skip to content

Commit

Permalink
style: migrate to @lihbr/eslint-config
Browse files Browse the repository at this point in the history
  • Loading branch information
lihbr committed May 21, 2024
1 parent 1cd1282 commit 5ee5706
Show file tree
Hide file tree
Showing 69 changed files with 7,584 additions and 11,834 deletions.
22 changes: 2 additions & 20 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -1,21 +1,3 @@
import antfu from "@antfu/eslint-config";
import lihbr from "@lihbr/eslint-config"

export default antfu({
stylistic: {
quotes: "double",
indent: "tab",
semi: true,
overrides: {
"style/arrow-parens": ["error", "always"],
"style/brace-style": ["error", "1tbs"],
"style/operator-linebreak": [
"error",
"after",
{ overrides: { "?": "before", ":": "before" } },
],
"curly": ["error", "all"],
"ts/consistent-type-definitions": ["error", "type"],
"ts/explicit-module-boundary-types": "error",
},
},
});
export default lihbr()
Loading

0 comments on commit 5ee5706

Please sign in to comment.