From 592aa6d5762b6d04e4f66364da4a58cea6b25d67 Mon Sep 17 00:00:00 2001 From: Maxime Quandalle Date: Thu, 24 Dec 2015 13:07:55 +0100 Subject: 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. --- .eslintrc | 64 ++++++++++++++++++++++++++++----------------------------------- 1 file changed, 28 insertions(+), 36 deletions(-) (limited to '.eslintrc') diff --git a/.eslintrc b/.eslintrc index f9321bfb..64096dbf 100644 --- a/.eslintrc +++ b/.eslintrc @@ -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 -- cgit v1.2.3-1-g7c22