mirror of
https://github.com/tachiyomiorg/website.git
synced 2024-12-21 07:31:58 +01:00
40 lines
1.0 KiB
JavaScript
40 lines
1.0 KiB
JavaScript
module.exports = {
|
|
root: true,
|
|
extends: ["@antfu"],
|
|
rules: {
|
|
"comma-dangle": ["error", "only-multiline"],
|
|
"quotes": "off",
|
|
"no-tabs": "off",
|
|
"arrow-parens": ["error", "always"],
|
|
"@typescript-eslint/quotes": ["error", "double", { avoidEscape: true }],
|
|
"indent": "off",
|
|
"semi": ["error", "never"],
|
|
"@typescript-eslint/indent": ["error", "tab"],
|
|
"@typescript-eslint/brace-style": ["error", "1tbs"],
|
|
"@typescript-eslint/semi": ["error", "never"],
|
|
"vue/no-extra-parens": "off",
|
|
"vue/html-indent": ["error", "tab"],
|
|
"curly": ["error", "all"],
|
|
"brace-style": ["error", "1tbs"],
|
|
"no-console": "off",
|
|
"no-debugger": "off",
|
|
"vue/multi-word-component-names": "off",
|
|
"vue/comment-directive": "off",
|
|
"no-unused-vars": "off",
|
|
"vue/no-parsing-error": [
|
|
2,
|
|
{
|
|
"x-invalid-end-tag": false,
|
|
"missing-semicolon-after-character-reference": false,
|
|
},
|
|
],
|
|
|
|
/* --ECMAScript 6 ES6-- */
|
|
"no-useless-escape": "off",
|
|
"no-unused-expressions": [
|
|
"error",
|
|
{ allowShortCircuit: true, allowTernary: true },
|
|
],
|
|
},
|
|
}
|