diff --git a/.oxlintrc.json b/.oxlintrc.json index fd124307..9e2f7c66 100644 --- a/.oxlintrc.json +++ b/.oxlintrc.json @@ -18,6 +18,7 @@ "eslint/func-style": ["error", "declaration"], "eslint/sort-keys": "off", "eslint/no-ternary": "off", // A utiliser pour des opérations simples + "unicorn/prefer-ternary": "off", "oxc/no-async-await": "off", "oxc/no-rest-spread-properties": "off", // Enable if older browser support is needed "eslint/max-statements": ["warn", 20], @@ -91,8 +92,7 @@ "rules": { "vitest/require-hook": "off", "vitest/no-hooks": "off", - "vitest/no-importing-vitest-globals": "off", - "import/no-relative-parent-imports": "warn" + "vitest/no-importing-vitest-globals": "off" } }, { diff --git a/app/components/DeleteDialog.vue b/app/components/DeleteDialog.vue index 9a895cbe..2533aa5d 100644 --- a/app/components/DeleteDialog.vue +++ b/app/components/DeleteDialog.vue @@ -8,7 +8,7 @@ }, item: { type: Object, - default: null, + default: undefined, }, selectedCount: { type: Number, diff --git a/app/components/DragAndDrop.vue b/app/components/DragAndDrop.vue index 547ce722..a9bdb0dc 100644 --- a/app/components/DragAndDrop.vue +++ b/app/components/DragAndDrop.vue @@ -1,14 +1,11 @@