Force new lines
This commit is contained in:
parent
07a432a704
commit
a65ecd26db
1 changed files with 13 additions and 2 deletions
|
|
@ -5,7 +5,8 @@ import unusedImports from "eslint-plugin-unused-imports";
|
||||||
export default [
|
export default [
|
||||||
{
|
{
|
||||||
ignores: [
|
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/",
|
"**/dist/",
|
||||||
"**/*.mjs",
|
"**/*.mjs",
|
||||||
"**/*.js"
|
"**/*.js"
|
||||||
|
|
@ -90,5 +91,15 @@ export default [
|
||||||
tsconfigRootDir: import.meta.dirname
|
tsconfigRootDir: import.meta.dirname
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
})
|
}),
|
||||||
|
{
|
||||||
|
files: ["sync-client/**/*.ts"],
|
||||||
|
rules: {
|
||||||
|
curly: ["error", "all"],
|
||||||
|
"padding-line-between-statements": [
|
||||||
|
"error",
|
||||||
|
{ blankLine: "always", prev: "block-like", next: "*" }
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
];
|
];
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue