Socket
Book a DemoInstallSign in
Socket

@ifanrx/eslint-plugin

Package Overview
Dependencies
Maintainers
5
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ifanrx/eslint-plugin

eslint plugin,包含各种自定义 eslint rule

latest
npmnpm
Version
0.1.0
Version published
Maintainers
5
Created
Source

@ifanrx/eslint-plugin

💼 Configurations enabled in.
🔧 Automatically fixable by the --fix CLI option.

NameDescription💼🔧
no-use-wxUse uni instead of wx![badge-miniapp][]🔧
require-create-faasEnforce the use of createFaaS function in cloud function![badge-faas][]
vue-pascal-case-importsVue component import names should be in PascalCase.![badge-miniapp][]🔧

新增 rule

pnpm new:rule

自动生成 rule 文档

pnpm update:eslint-docs

允许自动化测试用例

pnpm test

Usage

const {init} = require('@ifanrx/eslint-config-standard/init')

module.exports = init({
  root: true,
  extends: ['plugin:@ifanrx/faas', ...],
})

禁用规则

const {init} = require('@ifanrx/eslint-config-standard/init')

module.exports = init({
  root: true,
  extends: ['plugin:@ifanrx/faas', ...],
  rules: {
    '@ifanrx/require-create-faas': 'off',
  },
})

FAQs

Package last updated on 28 Mar 2024

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

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.