diff --git a/.eslintrc.js b/.eslintrc.js index 58e6ac19d..681bc2ba7 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -1,21 +1,11 @@ module.exports = { extends: [ "@opencast/eslint-config-ts-react", - "react-app/jest" + "react-app/jest", ], rules: { - // "always" gives 319 warning, "never" gives 991. - "object-curly-spacing": "off", - // Currently 120 warnings. "@typescript-eslint/no-explicit-any": "off", - - // `else` in new line is used often, and often an `if` condition is on the - // same line as `{`. - "brace-style": "off", - - // Until we figure out how to get to React 18 - "react/no-deprecated": "off", }, overrides: [ { diff --git a/src/main/Timeline.tsx b/src/main/Timeline.tsx index 574bce1ad..aabb7ebda 100644 --- a/src/main/Timeline.tsx +++ b/src/main/Timeline.tsx @@ -479,8 +479,7 @@ export const Waveforms: React.FC<{ timelineHeight: number; }> = ({ timelineHeigh // Display a flatline