Statoscope config utils
npm install @statoscope/config

Statoscope Config Helpers
``ts`
export type Config = {
silent?: boolean;
validate?: {
plugins?: Array
warnAsError?: boolean;
reporters?: ReporterConfig[];
rules: Record
};
generate?: {
reports?: Report
},
};
For now, it just suppresses stats-validators reporters
Example:
`js``
module.exports = {
validate: {
plugins: ['@statoscope/webpack'],
rules: {
'@statoscope/webpack/restricted-modules': ['error', [/\/src\//]],
'@statoscope/webpack/restricted-packages': ['error', ['foo']],
},
},
};