Skip to content

Commit 9b10a91

Browse files
committed
Fix lint config path, resolve warning
1 parent 346fedd commit 9b10a91

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

gulpfile.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ gulp.task("lint", function (done) {
189189

190190
runExternalModule("eslint/bin/eslint.js", [
191191
"-c",
192-
path.join(getPackageRoot("terriajs"), ".eslintrc"),
192+
path.join(getPackageRoot("terriajs"), ".eslintrc.js"),
193193
"--ignore-pattern",
194194
"lib/ThirdParty",
195195
"--max-warnings",

lib/ViewModels/PreviewLinkViewModel.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ function PreviewLinkViewModel(options) {
1515
knockout.track(this, ["isShown"]);
1616
}
1717

18-
PreviewLinkViewModel.prototype.hide = function (container) {
18+
PreviewLinkViewModel.prototype.hide = function (_container) {
1919
this.isShown = false;
2020
};
2121

0 commit comments

Comments
 (0)