
Research
/Security News
Shai Hulud Strikes Again (v2)
Another wave of Shai-Hulud campaign has hit npm with more than 500 packages and 700+ versions affected.
ember-cli-stylelint
Advanced tools
An Ember-CLI addon that allows easy integration with stylelint
ember install ember-cli-stylelint
By default syntax is scss, if you want to use another one you need to configure the option in your ember-cli-build
var app = new EmberApp(defaults, {
stylelint: {
linterConfig:{
syntax: 'less'
},
}
});
You can use one of the following values for syntax
Linting configuration can be added in a
as required by stylelint.
the parent key is styleLint
linterConfig {Object}
Hash as specified by stylelint
doesn't accept files option
onError {function}
A hook that allows you to do whatever you want
consoleLogger {function}
This function is called every time a file has an error. It allows you to generate custom error output according to your preferences.
testFailingFiles {boolean}
If true it will generate a unit test if the file fails lint.
testPassingFiles {boolean}
If true it will generate a unit test if the file passes lint.
generateTests {boolean}
If true it will generate tests for both passing and failing tests, overrides the testPassingFiles and testFailingFiles
disableConsoleLogging {boolean}
If true it will disable logging of errors to console
includePaths {array of strings}
Paths representing trees to lint. The app tree itself will always be included.
In an addon, that path is tests/dummy/app/styles/ (by default). Addon authors
can set includePaths: [ 'app/styles' ] to also lint styles in app/styles/.
npm testAll tests are currently contained in tests/runner.js. This uses Mocha/Chai, not Ember Testing. Tests can be run with:
npm test
See the Contributing guide for details.
PRs are welcomed and should be issued to the master branch.
FAQs
StyleLint addon for ember applications.
We found that ember-cli-stylelint demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
Another wave of Shai-Hulud campaign has hit npm with more than 500 packages and 700+ versions affected.

Product
Add real-time Socket webhook events to your workflows to automatically receive software supply chain alert changes in real time.

Security News
ENISA has become a CVE Program Root, giving the EU a central authority for coordinating vulnerability reporting, disclosure, and cross-border response.