diff --git a/.eslintrc.js b/.eslintrc.js index d6a599c..27f723d 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -28,6 +28,8 @@ module.exports = { rules: { 'unused-imports/no-unused-imports': 'warn', 'tsdoc/syntax': 'warn', + 'no-debugger': 'error', + 'no-restricted-imports': [ 'error', { diff --git a/packages/react/src/index.ts b/packages/react/src/index.ts index 4859ca0..d55d7ee 100644 --- a/packages/react/src/index.ts +++ b/packages/react/src/index.ts @@ -346,7 +346,6 @@ export function usePrismInstance(der: Prism, debugLabel?: string): T { if (process.env.NODE_ENV !== 'production') { if (der !== ref.current.der) { - debugger console.error( 'Argument `der` in `usePrismInstance(der)` should not change between renders.', ) diff --git a/theatre/core/src/sheetObjects/SheetObjectTemplate.test.ts b/theatre/core/src/sheetObjects/SheetObjectTemplate.test.ts index e28a61d..b678cea 100644 --- a/theatre/core/src/sheetObjects/SheetObjectTemplate.test.ts +++ b/theatre/core/src/sheetObjects/SheetObjectTemplate.test.ts @@ -90,7 +90,6 @@ describe(`SheetObjectTemplate`, () => { }, }) - debugger const iter = iterateOver( obj.template.getMapOfValidSequenceTracks_forStudio(), )