File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -11,5 +11,8 @@ module.exports = {
1111 "unicorn/no-abusive-eslint-disable" : "off" ,
1212 "@typescript-eslint/no-use-before-define" : "off" ,
1313 "node/no-missing-import" : "off" ,
14+ "@typescript-eslint/no-explicit-any" : "warn" ,
15+ "@typescript-eslint/no-require-imports" : "off" ,
16+ "no-useless-escape" : "warn" ,
1417 } ,
1518} ;
Original file line number Diff line number Diff line change 11import { Command } from "@contentstack/cli-command" ;
2- import { flags } from "@contentstack/cli-utilities" ;
2+ import { flags , FlagInput } from "@contentstack/cli-utilities" ;
33import * as path from "path" ;
44import * as fs from "fs" ;
55import { generateTS , graphqlTS } from "@contentstack/types-generator" ;
@@ -29,7 +29,7 @@ export default class TypeScriptCodeGeneratorCommand extends Command {
2929 '$ csdx tsgen -a "delivery token alias" -o "contentstack/generated.d.ts" --api-type graphql --namespace "GraphQL" ' ,
3030 ] ;
3131
32- static flags : any = {
32+ static flags : FlagInput = {
3333 "token-alias" : flags . string ( {
3434 char : "a" ,
3535 description : "delivery token alias" ,
You can’t perform that action at this time.
0 commit comments