mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2026-06-23 04:10:17 +00:00
a880864b2c
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
30 lines
660 B
JSON
30 lines
660 B
JSON
{
|
|
"$schema": "../node_modules/oxlint/configuration_schema.json",
|
|
"plugins": [
|
|
"typescript",
|
|
"react",
|
|
"nextjs",
|
|
"jsx-a11y",
|
|
"jest",
|
|
"oxc"
|
|
],
|
|
"rules": {
|
|
"no-debugger": "warn",
|
|
"typescript/consistent-type-imports": ["error", {
|
|
"prefer": "type-imports",
|
|
"disallowTypeAnnotations": false
|
|
}],
|
|
"jest/no-disabled-tests": "warn",
|
|
"jest/no-focused-tests": "error",
|
|
"jest/no-identical-title": "error",
|
|
"jest/valid-expect": "error",
|
|
"jest/expect-expect": ["error", {
|
|
"assertFunctionNames": ["expect*", "screen.*", "test*"]
|
|
}]
|
|
},
|
|
"env": {
|
|
"browser": true,
|
|
"jest": true
|
|
}
|
|
}
|