Security News
Opengrep Emerges as Open Source Alternative Amid Semgrep Licensing Controversy
Opengrep forks Semgrep to preserve open source SAST in response to controversial licensing changes.
eslint-config-db
Advanced tools
使用 npm
安装
npm install --save-dev eslint-config-db
使用 yarn
安装
yarn add -D eslint-config-db
在 eslint
配置文件中加入对应配置即可生效
{
extends: ['db'],
}
{
extends: ['db/react'],
}
如果要使用 prettier
自动格式化,需要在根目录创建 .prettierrc.js
文件。
该文件用于覆盖系统默认配置,具体要实现自动格式化还要安装相应插件并设置默认格式化工具
// .prettierrc.js
const prettier = require('eslint-config-db/config/prettier')
module.exports = {
...prettier,
}
FAQs
A collection of configuration files containing eslint
The npm package eslint-config-db receives a total of 9 weekly downloads. As such, eslint-config-db popularity was classified as not popular.
We found that eslint-config-db 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
Opengrep forks Semgrep to preserve open source SAST in response to controversial licensing changes.
Security News
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.