All Projects → dferber90 → Eslint Plugin Meteor

dferber90 / Eslint Plugin Meteor

Licence: mit
🧐 Meteor specific linting rules for ESLint

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Eslint Plugin Meteor

Meteor Integration
🚀 meteor add apollo
Stars: ✭ 107 (-8.55%)
Mutual labels:  meteor
Workflow
审批王,华炎魔方内置BPM工作流引擎,低代码快速开发平台。
Stars: ✭ 111 (-5.13%)
Mutual labels:  meteor
Meteor Webpack
https://medium.com/@ardatan/meteor-with-webpack-in-2018-faster-compilation-better-source-handling-benefit-from-bc5ccc5735ef
Stars: ✭ 116 (-0.85%)
Mutual labels:  meteor
Lecture Frontend Dev Env
"[인프런] 프론트엔드 개발환경의 이해와 실습" 강의 실습 자료입니다.
Stars: ✭ 108 (-7.69%)
Mutual labels:  eslint
Sapper Firebase Typescript Graphql Tailwindcss Actions Template
A template that includes Sapper for Svelte, Firebase functions and hosting, TypeScript and TypeGraphQL, Tailwind CSS, ESLint, and automatic building and deployment with GitHub Actions
Stars: ✭ 111 (-5.13%)
Mutual labels:  eslint
Eslint Plugin Css Modules
Project status: NOT MAINTAINED; Checks that you are using the existent css/scss classes, no more no less
Stars: ✭ 115 (-1.71%)
Mutual labels:  eslint
Meteor Jalik Ufs
Upload File System for Meteor **DISCONTINUED**
Stars: ✭ 103 (-11.97%)
Mutual labels:  meteor
Ember Cli Eslint
Ember CLI addon for linting Ember projects with ESLint
Stars: ✭ 116 (-0.85%)
Mutual labels:  eslint
Meteor Autoform
AutoForm is a Meteor package that adds UI components and helpers to easily create basic forms with automatic insert and update events, and automatic reactive validation.
Stars: ✭ 1,453 (+1141.88%)
Mutual labels:  meteor
Meteor Timesync
NTP-style time synchronization between server and client, and facilities to use server time reactively in Meteor applications.
Stars: ✭ 115 (-1.71%)
Mutual labels:  meteor
Typescript Eslint Language Service
TypeScript language service plugin for ESLint
Stars: ✭ 108 (-7.69%)
Mutual labels:  eslint
Quick Survey
A tool for quick surveys, try it out. (No longer maintained).
Stars: ✭ 109 (-6.84%)
Mutual labels:  meteor
React Redux Auth0 Kit
Minimal starter boilerplate project with CRA, React, Redux, React Router and Auth0 authentication
Stars: ✭ 115 (-1.71%)
Mutual labels:  eslint
Meteor
Meteor, the JavaScript App Platform
Stars: ✭ 42,739 (+36429.06%)
Mutual labels:  meteor
Reeakt
A modern React boilerplate to awesome web applications
Stars: ✭ 116 (-0.85%)
Mutual labels:  eslint
Node Flowtype Boilerplate
This boilerplate repository is outdated and no longer maintained. Instead, I strongly recommend to use TypeScript.
Stars: ✭ 104 (-11.11%)
Mutual labels:  eslint
Zoe
🌀 Zero-config ESLint toolchain with sensible defaults.
Stars: ✭ 113 (-3.42%)
Mutual labels:  eslint
Static Site Boilerplate
A better workflow for building modern static websites.
Stars: ✭ 1,633 (+1295.73%)
Mutual labels:  eslint
Habr App
React tutorial for Habrahabr
Stars: ✭ 116 (-0.85%)
Mutual labels:  eslint
Meteor Transactions
App level transactions for Meteor + Mongo
Stars: ✭ 115 (-1.71%)
Mutual labels:  meteor

ESLint-plugin-Meteor

Meteor specific linting rules for ESLint

Build Status Coverage Status Dependency Status

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

License NPM version NPM downloads

Example

This gif shows integration of ESLint-plugin-Meteor into Atom. 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

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": [
    "meteor"
  ],
  "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.

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.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].