2016-03-02 21:54:56 +01:00
2016-03-02 21:54:56 +01:00
2016-03-02 10:02:27 +01:00
2015-09-24 19:03:14 +02:00
2015-09-28 00:10:15 +02:00
2016-03-02 14:46:48 +01:00
2015-09-28 00:10:15 +02:00
2015-09-24 19:03:14 +02:00
2016-03-02 20:33:08 +01:00

ESLint-plugin-Meteor

Meteor specific linting rules for ESLint

Build Status Coverage Status Code Climate Dependency Status

Join the chat at https://gitter.im/dferber90/eslint-plugin-meteor Maintenance Status semantic-release Commitizen friendly

NPM version NPM downloads

Example

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

Quickstart

Installation

Install ESLint and this plugin either locally or globally.

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

Configuration

Add plugins section and specify ESLint-plugin-Meteor as a plugin, and enable the recommended rules of this plugin.

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

For a more thorough introduction, read the setup guide.

List of supported rules

Best Practices

Core API

  • currently no rules implemented

Any rule idea is welcome !

Limitations

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.

Contributing

Read about set up of the development environment.

Thanks

This plugin is inspired by eslint-plugin-react.

License

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

Description
No description provided
Readme MIT 202 MiB
Languages
JavaScript 91.1%
TypeScript 3.9%
Shell 0.9%
Java 0.7%
Swift 0.7%
Other 2.5%