eclint icon indicating copy to clipboard operation
eclint copied to clipboard

Dependabot

Open zbeekman opened this issue 4 years ago • 2 comments

Add a dependabot configuration file to get automatic dependency bumps for vulnerable dependencies.

You still need to sign up and enable dependabot here.

Also, I added a link in the related projects section of the README and fixed tslint violations and a vulnerable dependency.

However, when I try to compile (node on macOS) I get:

> [email protected] compile /Users/ibeekman/Sandbox/eclint
> tsc

lib/cli.ts:247:3 - error TS2322: Type '(argv: IArgv) => Transform' is not assignable to type '(args: { [argName: string]: unknown; _: string[]; $0: string; }) => void'.
  Types of parameters 'argv' and 'args' are incompatible.
    Type '{ [argName: string]: unknown; _: string[]; $0: string; }' is missing the following properties from type 'IArgv': globs, alias, argv, array, and 59 more.

247     handler: check,
        ~~~~~~~

  node_modules/@types/yargs/index.d.ts:412:9
    412         handler: (args: Arguments<U>) => void;
                ~~~~~~~
    The expected type comes from property 'handler' which is declared here on type 'CommandModule<{}, {}>'


Found 1 error.

I'm not a js/ts programmer, so this is beyond my "googling for a fix" skill level to resolve. (I tried for a while.)

zbeekman avatar Jul 08 '19 18:07 zbeekman

https://github.com/jedmao/eclint/pull/163/commits/454eac9341fb3c4a8fff91de9c7558601e92f1f5 fixes #162

zbeekman avatar Jul 08 '19 18:07 zbeekman

Failing tests are the same issue highlighted in the first comment/PR description

zbeekman avatar Jul 08 '19 19:07 zbeekman