
Security News
PodRocket Podcast: Inside the Recent npm Supply Chain Attacks
Socket CEO Feross Aboukhadijeh discusses the recent npm supply chain attacks on PodRocket, covering novel attack vectors and how developers can protect themselves.
@dzo/eslint-config-esdz
Advanced tools
个人前端 ESLint 规范,目前支持vue|react
npm install @dzo/eslint-config-esdz -D
# OR
yarn add @dzo/eslint-config-esdz --dev
在你的工程根目录下创建一个.eslintrc.js
配置文件
配置如下:
module.exports = {
extends: ['@dzo/esdz']
}
module.exports = {
extends: ['@dzo/esdz/vue']
}
module.exports = {
extends: ['@dzo/esdz/react']
}
:::caution
如果项目之前安装过 ESLint 相关的包,建议卸载,避免引入不必要的包。如eslint
、eslint-plugin-vue
、@babel/eslint-parser
、@typescript-eslint/eslint-plugin
、@typescript-eslint/parser
、@vue/eslint-config-typescript
、eslint-config-react-app
、
eslint-plugin-import
等,直接在 package.json 搜索eslint,相关的包全部卸载
:::
版本更新 0.0.2 修改"semi": ["error", "always"],必须分号结束 0.0.3 新增prettier.js配置文件 0.0.4 修改space-before-function-paren配置
FAQs
ESLint 基础配置,集成react,vue,ts的规范。
We found that @dzo/eslint-config-esdz demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 6 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
Socket CEO Feross Aboukhadijeh discusses the recent npm supply chain attacks on PodRocket, covering novel attack vectors and how developers can protect themselves.
Security News
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.
Product
Socket Firewall is a free tool that blocks malicious packages at install time, giving developers proactive protection against rising supply chain attacks.