New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

ember-template-lint-forms

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ember-template-lint-forms

Ember handlebars template linter rules for validating form elements

  • 0.0.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
decreased by-80%
Maintainers
1
Weekly downloads
 
Created
Source

ember-template-lint-forms

Ember handlebars template linter rules for validating form elements. This plugin assumes that your project has ember-template-lint installed.

Installation

yarn add --dev ember-template-lint-forms

Then update your template-lintrc.js file to contain the following:

module.exports = {
    extends: ['recommended', 'ember-template-lint-forms:forms'],
    plugins: ['ember-template-lint-forms'],
    rules: {
        ....
    }
};

Limitations & Caveats

Currently, this plugin only validates that textual input elements (e.g. type="text|password|email|...") have a maxlength attribute defined.

Only native HTML <input> elements and <AngleBracket> invocation style ember components <Input> and <FlInput> (from the ember-floating-labels addon) are validated.

Future Improvements

  • Add more validation rules!
  • Allow customizing what ember components should be validated (e.g. <MyAwesomeInput>)

FAQs

Package last updated on 10 May 2019

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