Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
ember-cli-template-lint
Advanced tools
ember-cli-template-lint will lint your templates and add a test for each asserting that all style rules have been satisfied.
For example, given the rule no-bare-strings
is enabled, this template would be
in violation:
{{! app/components/my-thing/template.hbs }}
<div>A bare string</div>
Thus a the test TemplateLint: app/components/my-thing/template.hbs
would
fail with the assertion "A bare string was found (0:5)".
To install ember-cli-template-lint
ember install ember-cli-template-lint
Ember CLI >= 2.4.2 is required for linting templates
ember-cli-template-lint is powered by ember-template-lint
which allows configuration by using a .template-lintrc.js
file in the root of your project.
See here details on configuration and rules that are available.
git clone
this repositorynpm install
bower install
ember server
npm run nodetest
ember test
ember test --server
ember build
For more information on using ember-cli, visit http://www.ember-cli.com/.
If your files aren't linted make sure that you don't have the following option set in your ember-cli-build.js
:
var app = new EmberApp(defaults, {
hinting: false
});
v2.0.2
FAQs
Lint your handlebars templates.
The npm package ember-cli-template-lint receives a total of 12,516 weekly downloads. As such, ember-cli-template-lint popularity was classified as popular.
We found that ember-cli-template-lint demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.