Commit Graph

36 Commits

Author SHA1 Message Date
Dominik Ferber
a06d2db784 feat(rules): add rule prefer-session-equals
closes #118
2016-03-07 17:56:26 +01:00
Dominik Ferber
7902451286 docs(guides): remove outdated setup documentation 2016-03-03 15:08:05 +01:00
Dominik Ferber
6056ac4fc4 docs(rules): remove environment hints from rules
As of ESLint-plugin-Meteor v2, the rules do no longer verify they only run in the correct
environment.
2016-03-03 15:06:43 +01:00
Dominik Ferber
874f4bdd00 docs(GUIDES): fix relative links 2016-03-02 21:54:56 +01:00
Dominik Ferber
8b7c0e1906 docs(GUIDES): add guides 2016-03-02 21:22:32 +01:00
Dominik Ferber
2605534554 docs(README): replace demo gif
closes #106
2016-03-02 20:33:08 +01:00
Dominik Ferber
c7e47911d4 docs(README): fix json in config examples 2016-03-02 18:45:33 +01:00
Dominik Ferber
dbc536ccc7 docs(GUIDES): add minimal eslint configuration example 2016-03-02 18:41:59 +01:00
Dominik Ferber
76c9bc7070 docs(GUIDES): update link to astexplorer.net 2016-03-02 18:29:58 +01:00
Dominik Ferber
1a902dde83 docs: add structure for new docs. update README. 2016-03-02 16:43:10 +01:00
Dominik Ferber
99dddabb03 docs(rules): Remove docs for deleted rules 2016-03-02 14:28:59 +01:00
Dominik Ferber
be73ffa031 feat(blaze-consistent-eventmap-params): Add rule
closes #12, #33
2015-10-28 21:24:07 +01:00
Dominik Ferber
a986e7b595 docs(README): Add example setup
Add link to an example where ESLint-plugin-Meteor is set up in a Meteor project.
2015-10-27 18:40:15 +01:00
Dominik Ferber
8d44769f06 feat(session): Add rule
#3
2015-10-25 15:10:58 +01:00
Dominik Ferber
659ec630bf fix(collections): Allow declaration of collection 2015-10-21 21:32:09 +02:00
Dominik Ferber
19cbbe6353 feat(collections): Add rule
#3
2015-10-21 21:26:57 +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
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
aab1a14483 feat(check): Add rule
Add rule for check and Match.

#3
2015-10-18 22:40:13 +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
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
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
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
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
6acfdbdacc docs(DEVELOPMENT): Add link to JS AST Explorer 2015-10-09 17:35:10 +02:00
Dominik Ferber
b3e0a49abf docs(rule): Add pubsub limitation
pubsub does not verify DDPRateLimiter usage
2015-10-08 17:05:55 +02:00
Dominik Ferber
8a21e4e07b docs(rule): Add limitation of pubsub
pubsub does not check properties and methods avialable in context of publication functions
2015-10-08 16:44:38 +02:00
Dominik Ferber
b14cbd82a4 feat(rule): Add core rule
Prevent misuse of the Meteor core API
2015-10-06 21:46:00 +02:00
Dominik Ferber
ed8e726146 docs(README): Add gif 2015-10-05 09:18:28 +02:00
Dominik Ferber
4438a2b74d fix(rule): Add subscribe argument count validation
Also adds docs.
2015-10-04 23:32:06 +02:00
Dominik Ferber
6aa1b63429 feat(rules): Add pubsub rule
Prevent misuse of Meteor API related to Publications and Subscriptions.
2015-10-04 23:23:49 +02:00
Dominik Ferber
d6aade814d docs(): Add instructions for setup and collaborators
Rudimentary instructions for usage of ESLint in Meteor projects. Also how to contribute. Needs a makeover.
2015-10-04 19:57:57 +02:00
Dominik Ferber
2d68493f24 feat(rules): Add rule audit-argument-checks
closes #2
2015-09-27 20:22:25 +02:00
Dominik Ferber
d9824737a1 maintenance
add espree parser to README

add no-zero-timeout

0.2.0

chore: enable semantic-release

fix(semantic-release): config

chore: bump to 1.0.0

chore(travis): Only build master and PRs

0.3.0
2015-09-27 15:00:25 +02:00
Dominik Ferber
baa4b0a223 init 2015-09-24 19:03:14 +02:00