mtproto_exporter/eslint.config.js
2025-04-06 00:01:03 +03:00

20 lines
602 B
JavaScript

import antfu from "@antfu/eslint-config";
export default antfu({
stylistic: {
indent: 4,
semi: true,
quotes: "double",
},
typescript: true,
yaml: false,
rules: {
"curly": ["error", "multi-line"],
"style/brace-style": ["error", "1tbs", { allowSingleLine: true }],
// "import/order": ["error", { "newlines-between": "always" }], this shit breaks eslint
"antfu/if-newline": "off",
"style/max-statements-per-line": ["error", { max: 2 }],
"no-console": "off",
"antfu/no-top-level-await": "off",
},
});