oSoc19 / unshacled

Visual editor for describing Linked Data constraints
https://unshacled.com
MIT License
5 stars 0 forks source link

Readability: `args` + documentation #208

Closed fbrckman closed 5 years ago

fbrckman commented 5 years ago

Instead of

validate(state, args) { ... }

use

validate(state, { data, shapes, format }) { ... }

which is more readable. Don't forget to update the jsdocs too.