metamigo-common: build, fmt, lint
This commit is contained in:
parent
2a1ced5383
commit
75fb3f84c4
21 changed files with 95 additions and 156 deletions
|
|
@ -1,6 +1,7 @@
|
|||
import chalk from "chalk";
|
||||
import convict from "convict";
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||
const visitLeaf = (path: any, key: any, leaf: any) => {
|
||||
if (leaf.skipGenerate) {
|
||||
return;
|
||||
|
|
@ -20,6 +21,7 @@ const visitLeaf = (path: any, key: any, leaf: any) => {
|
|||
console.log(`\tenv: ${leaf.env}`);
|
||||
};
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||
const visitNode = (path: any, node: any, key = "") => {
|
||||
if (node._cvtProperties) {
|
||||
const keys = Object.keys(node._cvtProperties);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue