Security News
pnpm 10.0.0 Blocks Lifecycle Scripts by Default
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
coffee-lint-loader
Advanced tools
$ npm install coffee-lint-loader
In your Webpack configuration:
module.exports = {
// ...
module: {
preLoaders: [
{
test: /\.coffee$/,
loader: "coffee-lint-loader",
exclude: /node_modules/
}
]
}
// ...
}
You can pass directly some coffeelint options by
{
module: {
loaders: [
{
test: /\.coffee$/,
loader: "coffee-lint-loader?{...}",
exclude: /node_modules/,
},
],
},
}
coffeelint
entry in you webpack config for global options:module.exports = {
coffeelint: {
configFile: 'path/.coffeelint'
}
}
Note that you can use both method in order to benefit from global & specific options
A reporter will provide as default. However, if you prefer a custom reporter, you can define a reporter in the options object. The reporter function will be passed an array of violations generated by coffeelint. See coffeelint api. The context of the reporter will be set to the same context as Webpack loaders. See webpack loader context
You can choose to ignore warnings that are generated by coffeelint by defining a quiet boolean option in the options object.
FAQs
Coffeelint loader module for Webpack
The npm package coffee-lint-loader receives a total of 2 weekly downloads. As such, coffee-lint-loader popularity was classified as not popular.
We found that coffee-lint-loader 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.
Security News
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.