Skip to content

Commit

Permalink
Fix lint config path, resolve warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Lawrence Owen committed Dec 19, 2024
1 parent 346fedd commit 9b10a91
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ gulp.task("lint", function (done) {

runExternalModule("eslint/bin/eslint.js", [
"-c",
path.join(getPackageRoot("terriajs"), ".eslintrc"),
path.join(getPackageRoot("terriajs"), ".eslintrc.js"),
"--ignore-pattern",
"lib/ThirdParty",
"--max-warnings",
Expand Down
2 changes: 1 addition & 1 deletion lib/ViewModels/PreviewLinkViewModel.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ function PreviewLinkViewModel(options) {
knockout.track(this, ["isShown"]);
}

PreviewLinkViewModel.prototype.hide = function (container) {
PreviewLinkViewModel.prototype.hide = function (_container) {
this.isShown = false;
};

Expand Down

0 comments on commit 9b10a91

Please sign in to comment.