fix: lint?

This commit is contained in:
Beka Westberg
2022-03-01 23:01:26 +00:00
parent acb3e3bcab
commit 39db79b52b
6 changed files with 7 additions and 6 deletions

View File

@@ -5,7 +5,7 @@
},
"globals": {
"chai": false,
"sinon": false,
"sinon": false
},
"rules": {
"no-unused-vars": ["off"],

View File

@@ -182,4 +182,4 @@ function createRenderedBlock(workspaceSvg, type) {
block.render();
return block;
}
exports.createRenderedBlock = createRenderedBlock;
exports.createRenderedBlock = createRenderedBlock;

View File

@@ -1,3 +1,4 @@
/* eslint-disable valid-jsdoc */
/**
* @license
* Copyright 2020 Google LLC
@@ -114,4 +115,4 @@ const runCodeGenerationTestSuites = (testSuites) => {
runTestSuites(testSuites, createTestFn);
};
exports.runCodeGenerationTestSuites = runCodeGenerationTestSuites;
exports.runCodeGenerationTestSuites = runCodeGenerationTestSuites;

View File

@@ -201,4 +201,4 @@ function assertNthCallEventArgEquals(spy, n, instanceType, expectedProperties,
const eventArg = nthCall.firstArg;
assertXmlProperties_(eventArg, xmlProperties);
}
exports.assertNthCallEventArgEquals = assertNthCallEventArgEquals;
exports.assertNthCallEventArgEquals = assertNthCallEventArgEquals;

View File

@@ -22,4 +22,4 @@ function assertVariableValues(container, name, type, id) {
chai.assert.equal(variable.type, type);
chai.assert.equal(variable.getId(), id);
}
exports.assertVariableValues = assertVariableValues;
exports.assertVariableValues = assertVariableValues;

View File

@@ -71,4 +71,4 @@ function assertSingleDeprecationWarningCall(spy, functionName) {
sinon.assert.calledOnce(spy);
assertDeprecationWarningCall(spy.getCall(0), functionName);
}
exports.assertSingleDeprecationWarningCall = assertSingleDeprecationWarningCall;
exports.assertSingleDeprecationWarningCall = assertSingleDeprecationWarningCall;