chore: combine prettier with eslint (#9348) (#9360)

Co-authored-by: Martin Guillon <martin.guillon@akylas.fr>
This commit is contained in:
Nathan Walker
2021-05-02 10:11:37 -07:00
committed by GitHub
parent a6cb46dac2
commit 0d4ccba60a
25 changed files with 14 additions and 38 deletions

View File

@@ -95,7 +95,6 @@ const createComponentInstance = profile('createComponentInstance', (elementName:
// Create instance of the component.
instance = new instanceType();
} catch (ex) {
// eslint-disable-next-line @typescript-eslint/no-var-requires
const debug: typeof debugModule = require('../../../utils/debug');
throw new debug.ScopeError(ex, "Module '" + (resolvedModuleName || elementName) + "' not found for element '" + (namespace ? namespace + ':' : '') + elementName + "'.");
}