File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ import { dirname } from 'path';
99import tseslint from 'typescript-eslint' ;
1010import { 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
1515const __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 }
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ const defaultLogDir = log.directory
1010const packageVersion = require ( "../package.json" ) . version
1111
1212yargs
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" , {
You can’t perform that action at this time.
0 commit comments