Commit Graph

8 Commits

Author SHA1 Message Date
Dominik Ferber
20a04cb88d test: bring code coverage thersholds down
Temporarily bring code coverage thresholds down, until https://github.com/babel/babel-jest/issues/27
is resolved.
2016-03-02 16:21:22 +01:00
Dominik Ferber
a58304d203 style: adapt airbnb code style 2016-03-02 14:46:48 +01:00
Dominik Ferber
c818fb07d5 feat(rules): remove a ton of rules
This further gets rid of all environment checks, keeping it simple

no longer support environments
2016-03-02 13:52:20 +01:00
Dominik Ferber
ff5af1f7ff fix(rules): Ignore locus checks with unkown expressions
Instead of aborting when finding an if-statement with unkown statements in the ancestors of any
node, ignore that if-statement. This way the linter will cover more code. Assumes the code never
mixes locus checks with other expressions.
2015-10-18 19:53:54 +02:00
Dominik Ferber
bbf9f22109 refactor(): Determine env only once per file
Also fixes a bug in audit-argument-checks where it would show errors in non-meteor blocks.

BREAKING CHANGE: Envs specified through comments are now restricted to client and server.
2015-10-17 23:28:42 +02:00
Dominik Ferber
0cafe3b87c refactor(internal): Remove isobuild from executors
isobuild can be determined based on the env. No need to have it as an executor.
2015-10-17 15:22:57 +02:00
Dominik Ferber
e426e2cae3 feat(rules): Add inline configuration for Meteor environments
Environments can now be configured inline. Enables linting files in packages.

closes #36
2015-10-17 14:45:58 +02:00
Dominik Ferber
0b9622dedd fix(internal): Add locus resloving capabilities
Resolve all Meteor.isClient, Meteor.isServer and Meteor.isCordova LogicalExpressions
2015-10-13 18:42:31 +02:00