Security News
New Python Packaging Proposal Aims to Solve Phantom Dependency Problem with SBOMs
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.
eslint-config-blvd
Advanced tools
An ESLint config that conforms to the blvd JavaScript/TypeScript styleguide.
✨ An ESLint config that conforms to the blvd JavaScript/TypeScript styleguide.
Install eslint
and eslint-config-blvd
using yarn:
yarn add --dev eslint eslint-config-blvd
or, for npm:
npm install --save-dev eslint eslint-config-blvd
In your .eslintrc
file, extend eslint-config-blvd
.
{
"extends": "eslint-config-blvd"
}
For React projects, extend eslint-config-blvd/react
.
{
"extends": ["eslint-config-blvd/react"]
}
Prettier is an automated code formatter for JavaScript, TypeScript, and other languages.
This eslint config works alongside Prettier, too. To use it, install Prettier as well as eslint-config-prettier
to your project.
yarn add --dev prettier eslint-config-prettier eslint-plugin-prettier
Create a .prettierrc
file. Then add the following configs. This should make Prettier automatically format your code based
on the blvd guidelines.
{
"semi": false,
"tabWidth": 2,
"printWidth": 140,
"singleQuote": true,
"trailingComma": "none"
}
Then include eslint-config-prettier
in your project. IMPORTANT: You must add prettier
extends after extending the blvd
config!
{
"extends": ["blvd", "prettier", "prettier/@typescript-eslint", "plugin:prettier/recommended"],
"plugins": ["prettier"],
"rules": {
"prettier/prettier": "error"
}
}
Also include eslint-config-prettier/react
for React projects.
{
"extends": ["blvd/react", "prettier", "prettier/@typescript-eslint", "prettier/react", "plugin:prettier/recommended"],
"plugins": ["prettier"],
"rules": {
"prettier/prettier": "error"
}
}
FAQs
An ESLint config that conforms to the blvd JavaScript/TypeScript styleguide.
The npm package eslint-config-blvd receives a total of 203 weekly downloads. As such, eslint-config-blvd popularity was classified as not popular.
We found that eslint-config-blvd 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.
Security News
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.
Security News
Socket CEO Feross Aboukhadijeh discusses open source security challenges, including zero-day attacks and supply chain risks, on the Cyber Security Council podcast.
Security News
Research
Socket researchers uncover how threat actors weaponize Out-of-Band Application Security Testing (OAST) techniques across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.