mirror of
https://github.com/discourse/discourse.git
synced 2025-02-19 09:58:25 +00: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.