Update eslint rules
This commit is contained in:
@@ -6,7 +6,6 @@ export default eslintConfig(
|
|||||||
{
|
{
|
||||||
typescript: true,
|
typescript: true,
|
||||||
vue: true,
|
vue: true,
|
||||||
unocss: true,
|
|
||||||
stylistic: {
|
stylistic: {
|
||||||
indent: "tab",
|
indent: "tab",
|
||||||
quotes: "double"
|
quotes: "double"
|
||||||
@@ -27,7 +26,9 @@ export default eslintConfig(
|
|||||||
"vue/script-indent": ["error", "tab", {
|
"vue/script-indent": ["error", "tab", {
|
||||||
baseIndent: 1
|
baseIndent: 1
|
||||||
}],
|
}],
|
||||||
|
"vue/comma-dangle": ["warn", "never"],
|
||||||
"antfu/top-level-function": "off",
|
"antfu/top-level-function": "off",
|
||||||
|
"antfu/if-newline": "off",
|
||||||
"node/prefer-global/process": ["off"]
|
"node/prefer-global/process": ["off"]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
Reference in New Issue
Block a user