mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2026-06-23 04:10:17 +00:00
chore(lint): add sort import rule
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
This commit is contained in:
+2
-1
@@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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"],
|
||||
|
||||
Reference in New Issue
Block a user