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

@ -6,13 +6,11 @@ import { getNodeById } from './dom-node';
import { mainThreadify } from '../utils';
// Use lazy requires for core modules
// eslint-disable-next-line @typescript-eslint/no-var-requires
const getAppRootView = () => require('../application').getRootView();
let unsetValue;
function unsetViewValue(view, name) {
if (!unsetValue) {
// eslint-disable-next-line @typescript-eslint/no-var-requires
unsetValue = require('../ui/core/properties').unsetValue;
}