Skip to content

Commit

Permalink
Fix eslint variable shadowing issue
Browse files Browse the repository at this point in the history
  • Loading branch information
lucperkins committed Apr 20, 2024
1 parent 7484cb5 commit dadab92
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@
"rules": {
"i18n-text/no-en": "off",
"eslint-comments/no-use": "off",
"import/extensions": [
"error",
"ignorePackages",
{ "json": "always", "ts": "never" }
],
"import/no-namespace": "off",
"no-unused-vars": "off",
"@typescript-eslint/no-unused-vars": [
Expand Down
4 changes: 2 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* @packageDocumentation
* Determinate Systems' TypeScript library for creating GitHub Actions logic.
*/
import { version } from "../package.json";
import { version as pkgVersion } from "../package.json";
import * as ghActionsCorePlatform from "./actions-core-platform.js";
import * as correlation from "./correlation.js";
import * as platform from "./platform.js";
Expand Down Expand Up @@ -121,7 +121,7 @@ export class IdsToolbox {

this.facts = {
$lib: "idslib",
$lib_version: version,
$lib_version: pkgVersion,
project: this.actionOptions.name,
ids_project: this.actionOptions.idsProjectName,
};
Expand Down

0 comments on commit dadab92

Please sign in to comment.