-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
72161ea
commit 698523f
Showing
6 changed files
with
952 additions
and
736 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,58 +1,6 @@ | ||
import defineConfig from "@antfu/eslint-config"; | ||
import defineConfig from "@xiaohe01/eslint-config"; | ||
|
||
export default defineConfig({ | ||
type: "lib", | ||
markdown: false | ||
}, { | ||
rules: { | ||
"style/semi": ["error", "always"], | ||
"style/indent": ["error", 2], | ||
"style/quotes": ["error", "double", { | ||
avoidEscape: true, | ||
allowTemplateLiterals: true | ||
}], | ||
"style/eol-last": ["error", "never"], | ||
"style/brace-style": ["error", "1tbs"], | ||
"style/comma-dangle": ["error", "never"], | ||
"style/arrow-parens": ["error", "always"], | ||
"style/member-delimiter-style": ["error", { | ||
singleline: { | ||
delimiter: "semi", | ||
requireLast: true | ||
}, | ||
multiline: { | ||
delimiter: "semi", | ||
requireLast: true | ||
}, | ||
multilineDetection: "brackets" | ||
}], | ||
"vue/block-order": ["error", { | ||
order: ["template", "script:not([setup])", "script[setup]", "style:not([scoped])", "style[scoped]"] | ||
}], | ||
"vue/html-self-closing": ["error", { | ||
html: { | ||
void: "any", | ||
normal: "never", | ||
component: "never" | ||
}, | ||
svg: "never", | ||
math: "never" | ||
}], | ||
"vue/first-attribute-linebreak": ["error", { | ||
singleline: "beside", | ||
multiline: "beside" | ||
}], | ||
"vue/max-attributes-per-line": ["error", { | ||
singleline: { | ||
max: 3 | ||
}, | ||
multiline: 1 | ||
}], | ||
"vue/html-closing-bracket-newline": ["error", { | ||
singleline: "never", | ||
multiline: "never" | ||
}], | ||
"vue/singleline-html-element-content-newline": ["off"], | ||
"vue/multiline-html-element-content-newline": ["off"] | ||
} | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.