Force new lines

This commit is contained in:
Andras Schmelczer 2026-09-29 20:58:26 +01:00
commit a65ecd26db

View file

@ -5,7 +5,8 @@ import unusedImports from "eslint-plugin-unused-imports";
export default [
{
ignores: [
"sync-client/src/services/types.ts",
// Generated by ts-rs in sync-server; lint the Rust definitions instead.
"sync-client/src/services/types/**",
"**/dist/",
"**/*.mjs",
"**/*.js"
@ -90,5 +91,15 @@ export default [
tsconfigRootDir: import.meta.dirname
}
}
})
}),
{
files: ["sync-client/**/*.ts"],
rules: {
curly: ["error", "all"],
"padding-line-between-statements": [
"error",
{ blankLine: "always", prev: "block-like", next: "*" }
]
}
}
];