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

eslint-config-forumone-angular

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-config-forumone-angular

Forum One's ESLint configuration for Angular.js 1.x code

  • 1.0.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2
increased by100%
Maintainers
1
Weekly downloads
 
Created
Source

Forum One JavaScript Coding Style (Angular.js Edition)

See forumone/javascript on GitHub for a longer intro.

For best results, mix with a base style guide of your choice. We recommend eslint-config-forumone-es5:

exports.extends = [
  'forumone-es5',
  'forumone-angular',
];

Requirements

This package depends on both eslint and eslint-plugin-angular.

Entry Points

forumone-angular/legacy

For retrofitting existing Angular.js apps. This config adds some simple lints around DI injection style, unused parameters, and holding on to the return of angular.module().

forumone-angular

The default configuration. This builds on the legacy config and bans deprecated Angular.js functionality.

It also warns about patterns that go against best practices, such as scope event typos, naming conventions, and having more than one component per file.

forumone-angular/strict

Like the default, but all warnings are hard errors.

Keywords

FAQs

Package last updated on 01 May 2017

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