Commit Graph

31 Commits

Author SHA1 Message Date
Rúnar Berg Baugsson Sigríðarson
687767660c feat(eventmap-params): add destructuring options (#205)
Closes #200
2016-05-23 13:40:25 +02:00
Maxim Dikun
fd7df85399 Update prefix-eventmap-selectors.md (#174)
Fix rule name in ESLint comments.
2016-04-18 18:39:16 +02:00
Dominik Ferber
a43c9ddad5 feat(rule): add no-template-parent-data
closes #122
2016-03-22 15:55:13 +01:00
Dominik Ferber
a42b93f097 feat(rule): add rule no-dom-lookup-on-created
closes #137
2016-03-16 15:51:09 +01:00
Dominik Ferber
99e5c52060 feat(rule): add rule scope-dom-lookups
closes ##19
2016-03-16 15:03:54 +01:00
Dominik Ferber
06d6fd93fd feat(rule): add prefix-eventmap-selectors
closes #13
2016-03-14 19:19:00 +01:00
Dominik Ferber
faefe6c5d1 refactor: rename rules
The previous names were confusing, long and partially redundant.
The new names are:
- blaze-consistent-eventmap-params -> eventmap-params
- no-blaze-lifecycle-assignment -> no-template-lifecycle-assignments
- template-naming-convention -> template-names

BREAKING CHANGE: Rule names have changed.
2016-03-09 18:38:23 +01:00
Dominik Ferber
12036a2d71 feat(rule): add rule template-naming-convention
closes #22
2016-03-08 13:44:34 +01:00
Dominik Ferber
e218093a23 docs(prefer-session-equals): change wording 2016-03-07 18:14:05 +01:00
Dominik Ferber
a06d2db784 feat(rules): add rule prefer-session-equals
closes #118
2016-03-07 17:56:26 +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
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
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
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
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
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
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