Skip to content
🧐 Meteor specific linting rules for ESLint
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
docs refactor: spring cleanup May 9, 2018
lib feat: support ESLint v5 Aug 20, 2018
scripts refactor: spring cleanup May 9, 2018
tests refactor: spring cleanup May 9, 2018
.editorconfig init Sep 24, 2015
.eslintignore refactor: spring cleanup May 9, 2018
.eslintrc.yml refactor: spring cleanup May 9, 2018
.mention-bot chore(mention-bot): blacklist bots (#212) May 16, 2016
.travis.yml chore: remove cache Sep 29, 2018
LICENSE chore: update copyright to 2016 Mar 15, 2016
package-lock.json chore(package): update lockfile package-lock.json Apr 16, 2019


Meteor specific linting rules for ESLint

Build Status Coverage Status Dependency Status

Join the chat at Maintenance Status semantic-release Commitizen friendly

License NPM version NPM downloads


This gif shows integration of ESLint-plugin-Meteor into Atom. Find out more in the integration guide.



Install ESLint and this plugin either locally or globally.

$ npm install eslint --save-dev
$ npm install eslint-plugin-meteor --save-dev


Create an .eslintrc.json file with this content at the root of your project:

  "plugins": ["meteor"],
  "extends": ["plugin:meteor/recommended"]

For a more thorough introduction, read the setup guide.

An article with detailed setup instructions can be found here.

List of supported rules

Best Practices

Core API

  • currently no rules implemented

Any rule idea is welcome !

Recommended Configuration

This plugin exports a recommended configuration which enforces good Meteor practices. The rules enabled in this configuration can be found in lib/index.js.

To enable the recommended configuration use the extends property in your .eslintrc.json config file:

  "plugins": [
  "extends": ["eslint:recommended", "plugin:meteor/recommended"]

You probably also want to enable ESLint to parse ECMAScript 2015 and to support React templates.

Add the following to your .eslintrc.json config file

  "parserOptions": {
    "ecmaVersion": 6,
    "sourceType": "module",
    "ecmaFeatures": {
        "jsx": true

See ESLint documentation for more information about extending configuration files.


ESLint-plugin-Meteor is not aware of where files are going to be executed, to keep the plugin simple. It will not warn when accessing client-only features on the server and vice versa.


Read about set up of the development environment.


This plugin is inspired by eslint-plugin-react.


ESLint-plugin-Meteor is licensed under the MIT License.

You can’t perform that action at this time.