Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

eslint-plugin-supaur

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-supaur

数跑定制eslint验证, 以及集合规则包

  • 0.0.9
  • latest
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

eslint-plugin-supaur

数跑定制eslint验证, 以及集合规则包

Installation

You'll first need to install ESLint:

npm i eslint --save-dev

Next, install eslint-plugin-supaur:

npm install eslint-plugin-supaur --save-dev

Usage

Add supaur to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:

{
    "plugins": [
        "supaur"
    ]
}

Then configure the rules you want to use under the rules section.

{
    "rules": {
        "supaur/rule-name": 2
    }
}

Supported Rules

  • Fill in provided rules here
规则描述
plugin:supaur/supaur定制规则
plugin:supaur/vuevue常规规则
plugin:supaur/tsts常规规则

[!CAUTION]

项目解析器采用 vue-eslint-parser + @typescript-eslint/parser 组合解析用作解析

[!CAUTION]

Supported Rules

  • Fill in provided rules here
规则描述
valid-templete-computed模板复杂计算,建议使用computed
valid-func-name方法名需要带指定动词开头
valid-ref不要通过ref与parent调用实例的方法和属性
valid-router请使用/xxx-xxx/xxx-xxx格式

[!CAUTION] 目前以实现功能为主, 并未分析上下文语法, 后续会逐渐完善, 有问题可提出, 会及时完善

Keywords

FAQs

Package last updated on 08 Jun 2022

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