diff options
author | Maxime Quandalle <maxime@quandalle.com> | 2015-12-24 13:07:55 +0100 |
---|---|---|
committer | Maxime Quandalle <maxime@quandalle.com> | 2015-12-24 13:13:05 +0100 |
commit | 592aa6d5762b6d04e4f66364da4a58cea6b25d67 (patch) | |
tree | 6b320f99f7e894f5f7eeda85e0ad30bf45c2da17 /.eslintrc | |
parent | d9bc56896dc1bb546dc8d430827dc17889c97535 (diff) | |
download | wekan-592aa6d5762b6d04e4f66364da4a58cea6b25d67.tar.gz wekan-592aa6d5762b6d04e4f66364da4a58cea6b25d67.tar.bz2 wekan-592aa6d5762b6d04e4f66364da4a58cea6b25d67.zip |
Partially revert aae5030
As discussed in #370 and announced in the official Eslint-meteor
plugin repository (https://github.com/dferber90/eslint-plugin-meteor),
it is recommended to not use this plugin anymore has the author has it
is currently broken and the author has abandoned it.
Diffstat (limited to '.eslintrc')
-rw-r--r-- | .eslintrc | 64 |
1 files changed, 28 insertions, 36 deletions
@@ -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 |