UNPKG

solhint-community

Version:
15 lines (12 loc) 360 B
const baseConfigProperties = { rules: { type: 'object' }, excludedFiles: { type: 'array' }, extends: { anyOf: [{ type: 'string' }, { type: 'array', items: { type: 'string' } }] }, plugins: { type: 'array' }, } const configSchema = { type: 'object', properties: baseConfigProperties, additionalProperties: false, } module.exports = configSchema