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.
eslint-config-handsome
Advanced tools
🤘Handsome ESLint shareable config. Enforces strict and readable code.🤘
This config aims to improve code readability which is good for team collaboration. So it's a little bit strict but not too much.
The details are more cumbersome, not one by one description here. You could find detailed rules in the code.
Here are some basic rules about stylistic:
if (condition) {}
function name (arg) { ... }
const arr = [1, 2, 3]
const obj = { foo: 'bar' }
===
instead of ==
By npm:
npm i eslint-config-handsome --save-dev
By yarn:
yarn add -D eslint-config-handsome
Shareable configs are designed to work with the extends
feature of ESLint configuration files or eslintConfig
field in package.json
file.
You can learn more about Shareable Configs on the official ESLint website.
After install eslint-config-handsome
package, there's 2 ways to active it:
package.json
filepackage.json
fileAdd this to your package.json
file:
{
"eslintConfig": {
"extends": "handsome"
}
}
Add this to your ESLint configuration file such as .eslintrc
:
{
"extends": "handsome"
}
Use this in one of your projects? Include one of these badges in your README file to let people know that your code is using the handsome style.
[![badge](https://img.shields.io/badge/eslint-handsome-brightgreen.svg)](https://github.com/poppinlp/eslint-config-handsome)
[![flat badge](https://img.shields.io/badge/eslint-handsome-brightgreen.svg?style=flat-square)](https://github.com/poppinlp/eslint-config-handsome)
FAQs
Handsome ESLint shareable config
The npm package eslint-config-handsome receives a total of 17 weekly downloads. As such, eslint-config-handsome popularity was classified as not popular.
We found that eslint-config-handsome 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
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.