tachiyomi-website/website/.eslintrc.cjs

40 lines
1.0 KiB
JavaScript
Raw Normal View History

2023-07-26 00:22:22 +02:00
module.exports = {
root: true,
extends: ["@antfu"],
2023-07-26 00:22:22 +02:00
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"],
2023-07-26 00:22:22 +02:00
"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 },
],
},
}