Skip to content

Commit d1a41d1

Browse files
author
Konrad Jamrozik
committed
fix
1 parent 11586bc commit d1a41d1

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

eslint.config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import { dirname } from 'path';
99
import tseslint from 'typescript-eslint';
1010
import { fileURLToPath } from 'url';
1111

12-
// Needed per old Node per:
12+
// Needed to support Node < 20.11 per:
1313
// https://stackoverflow.com/questions/46745014/alternative-for-dirname-in-node-js-when-using-es6-modules
1414
// as linked from: https://typescript-eslint.io/getting-started/typed-linting
1515
const __dirname = dirname(fileURLToPath(import.meta.url));
@@ -42,10 +42,10 @@ export default tseslint.config(
4242
"@typescript-eslint/no-unsafe-member-access": "off",
4343
"@typescript-eslint/no-unsafe-return": "off",
4444
"@typescript-eslint/no-unused-vars": "off",
45+
"@typescript-eslint/no-var-requires": "off",
4546
"@typescript-eslint/restrict-template-expressions": "off",
4647
"no-constant-condition": "off",
4748
"no-useless-escape": "off",
48-
"@typescript-eslint/no-var-requires": "off",
4949
"prefer-const": "off"
5050
}
5151
}

src/cli.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ const defaultLogDir = log.directory
1010
const packageVersion = require("../package.json").version
1111

1212
yargs
13-
.version(packageVersion) // kja temp indentation wrong to check prettier
13+
.version(packageVersion)
1414
.commandDir("lib/commands")
1515
.option("h", { alias: "help" })
1616
.option("l", {

0 commit comments

Comments
 (0)