Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

eslint-plugin-ember

Package Overview
Dependencies
Maintainers
5
Versions
189
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-ember

ESLint plugin for Ember.js apps

  • 11.5.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
113K
decreased by-32.58%
Maintainers
5
Weekly downloads
 
Created

What is eslint-plugin-ember?

eslint-plugin-ember is an ESLint plugin that provides linting rules specific to Ember.js applications. It helps developers follow best practices and maintain consistency in their Ember.js codebase.

What are eslint-plugin-ember's main functionalities?

Best Practices

This rule enforces the best practice of avoiding the use of observers in Ember.js applications. Observers can lead to unpredictable behavior and are generally discouraged.

module.exports = {
  rules: {
    'ember/no-observers': 'error'
  }
};

Stylistic Issues

This rule ensures that developers use Ember's `get` and `set` methods for property access and assignment, which is a stylistic convention in Ember.js.

module.exports = {
  rules: {
    'ember/use-ember-get-and-set': 'error'
  }
};

Ember-Specific Rules

This rule disallows the use of jQuery in Ember.js applications, encouraging developers to use native DOM APIs or Ember's own abstractions.

module.exports = {
  rules: {
    'ember/no-jquery': 'error'
  }
};

Other packages similar to eslint-plugin-ember

Keywords

FAQs

Package last updated on 05 Apr 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc