Security News
38% of CISOs Fear They’re Not Moving Fast Enough on AI
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
@privyid/eslint-plugin-varspacing
Advanced tools
Forking from https://gitlab.com/Ma27/eslint-plugin-varspacing
This plugin ships a simple and fixable ESLint rule to check if variable declarations are properly aligned.
npm install --save-dev eslint eslint eslint-plugin-varspacing
In order to activate the plugin the following options must be present in .eslintrc
:
{
"plugins": [
"varspacing"
],
"extends": "plugin:varspacing/recommended"
}
Please refer to the var-spacing docs for further details about the ruleset.
It's recommended to use the nix
package manager for development purposes.
A customized developer shell can be opened like this:
$ nix-shell
[nix-shell]$ npm test
Furthermore it's possible to actually build the package:
nix-build -A package tarball
To regenerate the locked package build run the following command:
node2nix . --supplement-input mocha.json -6 --composition nix/default.nix --node-env nix/node-env.nix --output nix/node-packages.nix --input package.json --supplement-output supplement.nix
This module is published under MIT license.
Please refer to the LICENSE
that was distributed with this package for further legal information.
FAQs
A eslint rule for proper var spacing
We found that @privyid/eslint-plugin-varspacing demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 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.
Security News
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
Research
Security News
Socket researchers uncovered a backdoored typosquat of BoltDB in the Go ecosystem, exploiting Go Module Proxy caching to persist undetected for years.
Security News
Company News
Socket is joining TC54 to help develop standards for software supply chain security, contributing to the evolution of SBOMs, CycloneDX, and Package URL specifications.