|
@@ -1,11 +1,6 @@
|
|
|
ecmaFeatures:
|
|
|
experimentalObjectRestSpread: true
|
|
|
|
|
|
-plugins:
|
|
|
- - meteor
|
|
|
-
|
|
|
-parser: babel-eslint
|
|
|
-
|
|
|
rules:
|
|
|
strict: 0
|
|
|
no-undef: 2
|
|
@@ -50,39 +45,25 @@ rules:
|
|
|
prefer-spread: 2
|
|
|
prefer-template: 2
|
|
|
|
|
|
- # eslint-plugin-meteor
|
|
|
- ## Meteor API
|
|
|
- meteor/globals: 2
|
|
|
- meteor/core: 2
|
|
|
- meteor/pubsub: 2
|
|
|
- meteor/methods: 2
|
|
|
- meteor/check: 2
|
|
|
- meteor/connections: 2
|
|
|
- meteor/collections: 2
|
|
|
- meteor/session: [2, 'no-equal']
|
|
|
-
|
|
|
- ## Best practices
|
|
|
- meteor/no-session: 0
|
|
|
- meteor/no-zero-timeout: 2
|
|
|
- meteor/no-blaze-lifecycle-assignment: 2
|
|
|
-
|
|
|
-settings:
|
|
|
- meteor:
|
|
|
-
|
|
|
- # Our collections
|
|
|
- collections:
|
|
|
- - AccountsTemplates
|
|
|
- - Activities
|
|
|
- - Attachments
|
|
|
- - Boards
|
|
|
- - CardComments
|
|
|
- - Cards
|
|
|
- - Lists
|
|
|
- - UnsavedEditCollection
|
|
|
- - Users
|
|
|
-
|
|
|
globals:
|
|
|
+ # Meteor globals
|
|
|
+ Meteor: false
|
|
|
+ Session: false
|
|
|
+ HTML: false
|
|
|
+ check: false
|
|
|
+ Tracker: false
|
|
|
+ Blaze: false
|
|
|
+ Accounts: false
|
|
|
+ Match: false
|
|
|
+ Mongo: false
|
|
|
+ Random: false
|
|
|
+ ReactiveVar: false
|
|
|
+ Email: false
|
|
|
+ Template: false
|
|
|
+
|
|
|
# Exported by packages we use
|
|
|
+ '$': false
|
|
|
+ _: false
|
|
|
autosize: false
|
|
|
Avatar: true
|
|
|
Avatars: true
|
|
@@ -108,6 +89,17 @@ globals:
|
|
|
T9n: false
|
|
|
TAPi18n: false
|
|
|
|
|
|
+ # Our collections
|
|
|
+ AccountsTemplates: true
|
|
|
+ Activities: true
|
|
|
+ Attachments: true
|
|
|
+ Boards: true
|
|
|
+ CardComments: true
|
|
|
+ Cards: true
|
|
|
+ Lists: true
|
|
|
+ UnsavedEditCollection: true
|
|
|
+ Users: true
|
|
|
+
|
|
|
# Our objects
|
|
|
CSSEvents: true
|
|
|
EscapeActions: true
|