New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

eslint-config-msb

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-config-msb

msb-fe eslint config

  • 1.0.2
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
3
decreased by-50%
Maintainers
1
Weekly downloads
 
Created
Source

meishubao

javascript规范

  1. 引入依赖 eslint-config-msb

yarn add eslint-config-msb -D

  1. 在eslint的extend段配置 msb
module.exports = {
  root: true,
  extends: [
    'msb',
  ],
}

  1. 在对应的编辑器中添加用户配置如下
  "eslint.validate": [
    "javascript",{
      "language": "vue",
      "autoFix": true
    },
    "javascript",
    "javascriptreact",
    "vue"
  ],
  "editor.formatOnSave": false,
  "eslint.autoFixOnSave": true,
  1. 工具配置

vscode: prettier Vetur eslint

FAQs

Package last updated on 22 Jun 2019

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc