New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

eslint-plugin-stringlint

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-stringlint

这是为项目定制的eslint插件,主要目的为禁止项目中出现的不合法字符串

latest
npmnpm
Version
0.0.6
Version published
Weekly downloads
1
-50%
Maintainers
1
Weekly downloads
 
Created
Source

eslint-plugin-stringlint

这是为项目定制的eslint插件,主要目的为禁止项目中出现的不合法字符串

Installation

You'll first need to install ESLint:

npm i eslint --save-dev

Next, install eslint-plugin-stringlint:

npm install eslint-plugin-stringlint --save-dev

Usage

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

{
    "plugins": [
        "stringlint"
    ]
}

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

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

Configurations

TODO: Run eslint-doc-generator to generate the configs list (or delete this section if no configs are offered).

Rules

TODO: Run eslint-doc-generator to generate the rules list.

Keywords

eslint

FAQs

Package last updated on 10 May 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