UNPKG

counsel

Version:

the end of boilerplate. automatically bake structure, opinions, and business rules into projects

14 lines (12 loc) 299 B
import { ContextWithRules } from './src/counsel' import { rules } from './src/rulesets/nodelib' const values = Object['values'] export const create = (opts: ContextWithRules) => ({ ...opts, rules: [ ...opts.rules, ...values(rules.common), ...values(rules.ts) ] })