chore(lint): add sort import rule

Signed-off-by: Erik Michelson <github@erik.michelson.eu>
This commit is contained in:
Erik Michelson
2026-01-14 20:00:10 +01:00
parent 77dc9f731e
commit 396b24beaf
2 changed files with 3 additions and 1 deletions
+2 -1
View File
@@ -18,6 +18,7 @@
"prefer": "type-imports",
"disallowTypeAnnotations": false
}],
"sort-imports": "error",
"jest/no-disabled-tests": "warn",
"jest/no-focused-tests": "error",
"jest/no-identical-title": "error",
@@ -27,4 +28,4 @@
"node": true,
"jest": true
}
}
}
+1
View File
@@ -8,6 +8,7 @@
],
"rules": {
"no-debugger": "warn",
"sort-imports": "error",
"hedgedoc-local/correct-logger-context": "error",
"typescript/no-unused-vars": ["warn", { "argsIgnorePattern": "^_+$" }],
"typescript/return-await": ["error", "always"],