mirror of
https://github.com/discourse/discourse.git
synced 2025-02-20 23:39:23 +08:00

Usage: ``` @validation="integer" ``` This commit also adds a default for rules. By default a rule will now be `ruleName: {}`, this avoids all the boilerplate in validation-parser.js.