Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

@mario34/lint-config

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

@mario34/lint-config

通用的前端项目风格校验配置

latest
Source
npmnpm
Version
0.1.4
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

为了解决项目代码风格校验繁琐、且难以及时同步的问题

快速使用

安装依赖

yarn add @mario34/lint-config -D

js

module.export = {
  extend: ['./node_modules/@mario34/lint-config/src/js'],
  rules: [
    // 自定义规则
  ]
}

ts

module.export = {
  extend: ['./node_modules/@mario34/lint-config/src/ts'],
  rules: [
    // 自定义规则
  ]
}

vue项目

module.export = {
  extend: ['./node_modules/@mario34/lint-config/src/vue'],
  rules: [
    // 自定义规则
  ]
}

vue3.x项目

module.export = {
  extend: ['./node_modules/@mario34/lint-config/src/vue3'],
  rules: [
    // 自定义规则
  ]
}

react项目

module.export = {
  extend: ['./node_modules/@mario34/lint-config/src/react'],
  rules: [
    // 自定义规则
  ]
}

Keywords

eslint

FAQs

Package last updated on 24 Aug 2021

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