Socket
Book a DemoInstallSign in
Socket

eslint-plugin-td-rules-plugin

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-td-rules-plugin

同盾自定义eslint插件

1.0.1
latest
npmnpm
Version published
Maintainers
1
Created
Source

eslint-plugin-td-rules-plugin

同盾自定义eslint插件

Installation

You'll first need to install ESLint:

npm i eslint --save-dev

Next, install eslint-plugin-td-rules-plugin:

npm install eslint-plugin-td-rules-plugin --save-dev

Usage

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

{
    "plugins": [
        "rules-plugin"
    ],
    "rules": {
        // import 超过3个..建议使用别名
        "td-rules-plugin/js-use-alias-path": 1,
        // interface 名称大写字母开头
        "td-rules-plugin/ts-interface-caps": 1
    }
}

Keywords

eslint

FAQs

Package last updated on 12 Apr 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

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.