Dominik Ferber
06453dec49
Merge branch 'master' into collections
2015-10-21 19:53:35 +02:00
Dominik Ferber
c643132162
Merge pull request #42 from dferber90/greenkeeper-eslint-1.7.3
...
Update eslint to version 1.7.3 🚀
2015-10-21 19:53:10 +02:00
greenkeeperio-bot
52569bf044
chore(package): update eslint to version 1.7.3
...
http://greenkeeper.io/
2015-10-21 19:18:37 +02:00
Dominik Ferber
0908b6c7b7
feat(globals): Enable setting collection globals through settings
...
Settings can now be used to tell the linter about collections. It marks them as globals for now. In
the future such variables will be linted in special ways by the rule collections, which does not
exist yet.
2015-10-21 17:46:03 +02:00
Dominik Ferber
addc889052
fix(methods): Restirct warnings on NewExpressions to Meteor.Error
...
Previously the rule would warn on all NewExpressions with no arguments.
2015-10-20 23:15:34 +02:00
Dominik Ferber
a2144b5e43
Merge branch 'connections'
2015-10-20 21:34:47 +02:00
Dominik Ferber
c263c74786
feat(connections): Add rule
...
Add rule for connections. Part of Meteor core API.
#3
2015-10-20 21:05:55 +02:00
Dominik Ferber
ccf5074368
Merge pull request #41 from dferber90/greenkeeper-eslint-1.7.2
...
Update eslint to version 1.7.2 🚀
2015-10-20 08:39:07 +02:00
greenkeeperio-bot
0288d4068e
chore(package): update eslint to version 1.7.2
...
http://greenkeeper.io/
2015-10-19 23:15:53 +02:00
Dominik Ferber
aab1a14483
feat(check): Add rule
...
Add rule for check and Match.
#3
2015-10-18 22:40:13 +02: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
1a1f29e477
feat(methods): Add rules for methods
...
This also refactors common functionality with pubsub into utility files.
#3
2015-10-18 19:27:42 +02:00
Dominik Ferber
be1e298b87
fix(pubsub): New strategy for determining context
...
The previous approach was flawed when the publish handler object was accessed from within an
if-block. This commit adds a more sophisticated approach.
2015-10-18 16:50:38 +02:00
Dominik Ferber
7bcbeea82e
fix(pubsub): Remove publish handler object from Arrow Functions
...
Arrow functions can not access the publish handler object. Do not warn in them.
2015-10-18 00:44:19 +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
cbbc32543e
chore(internal): Remove defunct .meteor/release file
2015-10-17 21:01:27 +02:00
Dominik Ferber
e46a8131f4
refactor(internal): Remove isLintedEnv
...
Check through executors instead.
2015-10-17 18:44:12 +02:00
Dominik Ferber
82cdf24479
fix(globals): Set globals in envs other than client and server
2015-10-17 17:24:49 +02:00
Dominik Ferber
350d06933d
fix(rules): Disable linting in Non-Meteor environments
2015-10-17 15:40:57 +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
131a34e3c9
docs(README): add package limitation
2015-10-17 14:48:54 +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
7baee31b9d
docs(README): fix links to commitizen and semantic-release
2015-10-17 13:56:19 +02:00
Dominik Ferber
abf9ca60b9
Merge pull request #39 from dferber90/greenkeeper-istanbul-0.4.0
...
Update istanbul to version 0.4.0 🚀
2015-10-17 12:06:43 +02:00
Dominik Ferber
24c50743fe
Merge pull request #38 from dferber90/greenkeeper-eslint-1.7.1
...
Update eslint to version 1.7.1 🚀
closes #37
2015-10-17 12:06:20 +02:00
greenkeeperio-bot
9632ec1dfc
chore(package): update istanbul to version 0.4.0
...
http://greenkeeper.io/
2015-10-17 06:35:39 +02:00
greenkeeperio-bot
7742627554
chore(package): update eslint to version 1.7.1
...
http://greenkeeper.io/
2015-10-16 23:54:56 +02:00
Dominik Ferber
d73762d80f
docs(README): move limitations paragraph from pubsub to README
2015-10-16 09:20:04 +02:00
Dominik Ferber
03e9c7c520
feat(pubsub): Lint Meteor API in publication context
...
The callback of a publication receives Meteor API through the context. This API is now linted.
#3
2015-10-16 08:34:35 +02:00
Dominik Ferber
a35e4a4d15
perf(rules): Use else-if cases
...
Also renames functions in pubsub
2015-10-15 21:09:58 +02:00
Dominik Ferber
dcc0ba8101
docs(README): Change comments markdown syntax from json to js
...
This way the comments in JSON will look nicer on GitHub hopefully.
2015-10-15 16:52:09 +02:00
Dominik Ferber
4d3b6d3253
perf(internal): Add memoization for getMeta
...
closes #32
2015-10-14 21:04:34 +02:00
Dominik Ferber
ca8a78a172
Merge pull request #35 from dferber90/globals
...
feat(rule): Add rule: globals
2015-10-14 20:53:43 +02:00
Dominik Ferber
cafe187e83
feat(rule): Add rule: globals
...
This rule defines Meteor globals. It works in conjunction with ESLints no-undef.
closes #16
2015-10-14 20:50:24 +02:00
Dominik Ferber
7095d253cc
Merge pull request #34 from dferber90/executors
...
fix(internal): Add locus resloving capabilities
2015-10-13 18:46:47 +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
Dominik Ferber
93498f368b
fix(internal): Add test for getRelativePath
...
#31
2015-10-12 19:30:37 +02:00
Dominik Ferber
0519621776
fix(internal): Correctly ignore files outside of Meteor projects
...
#31
2015-10-12 19:25:09 +02:00
Dominik Ferber
03b1f5acf1
fix(npm): Release new version
...
In 0.9.1 there is an error with npm because of an invalid sha1 which occured because of a force push to master (whoops).
closes #30
2015-10-12 00:56:32 +02:00
Dominik Ferber
1ef73c32e4
Merge pull request #29 from johanbrook/patch-2
...
docs(README): Use correct rule name for no-zero-timeout
2015-10-11 21:38:00 +02:00
Johan Brook
2823dfb1be
Fix incorrectly named rule in README
2015-10-11 21:14:41 +02:00
Dominik Ferber
7fd1f546fc
chore(scaffolding): Change scaffolded file contents
...
No more vars. No more ESLint errors.
2015-10-10 10:06:08 +02:00
Dominik Ferber
2b01583e7f
refactor(): Use let and const instead of var
...
Add rule no-var to configuration of project
2015-10-10 09:54:14 +02:00
Dominik Ferber
d23b61bda7
docs(README): Change badge
...
This project is not express :P
2015-10-10 09:37:04 +02:00
Dominik Ferber
3c6a13eba5
docs(README): Add badge for npm downloads
2015-10-10 09:33:02 +02:00
Dominik Ferber
6551c2567e
fix(rule): support arrow function without BlockStatement in audit-argument-checks
...
Add support for a very raw case which would not make sense in any application.
2015-10-09 17:52:34 +02:00
Dominik Ferber
6acfdbdacc
docs(DEVELOPMENT): Add link to JS AST Explorer
2015-10-09 17:35:10 +02:00
The Gitter Badger
e6b4b1e77d
docs(README): Add gitter badge
...
Also organize badges into different categories.
2015-10-09 17:18:51 +02:00
Dominik Ferber
4e4e94603a
chore(build): Increase mocha test timeout limit to 4s
...
Previously build were failing on node 0.10, because the tests were timing out. This could also be seen in ESLint itself: eslint/eslint/issues/3692
2015-10-09 09:11:25 +02:00
Dominik Ferber
70998835c1
Merge pull request #25 from dferber90/greenkeeper-cz-conventional-changelog-1.1.4
...
Update cz-conventional-changelog to version 1.1.4 🚀
2015-10-09 08:46:36 +02:00