Files
meteor/docs/rules/check.md
Dominik Ferber aab1a14483 feat(check): Add rule
Add rule for check and Match.

#3
2015-10-18 22:40:13 +02:00

618 B

Core API for check and Match (check)

Prevent misusage of Check.

Rule Details

This rule aims to prevent errors when using check and Match.

The following patterns are considered warnings:


check()          // missing arguments


Match.test()     // missing argument

The following patterns are not warnings:


check(foo, String)

When Not To Use It

Disable this rule if you are not using the check package.

Further Reading