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

eslint-plugin-zhlint

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-zhlint - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

2

lib/rules/zhlint.js

@@ -77,2 +77,3 @@ const zhlint = require("zhlint");

zhlint: {
...context.options[0]?.zhlint,
rules: {

@@ -83,3 +84,2 @@ preset: "default",

},
...context.options[0]?.zhlint,
},

@@ -86,0 +86,0 @@ };

{
"name": "eslint-plugin-zhlint",
"version": "2.0.0",
"version": "2.0.1",
"description": "ESLint plugin for Chinese typographies (中文排版) with zhlint",

@@ -5,0 +5,0 @@ "keywords": [

@@ -53,2 +53,3 @@ # <img src="https://raw.githubusercontent.com/Jinjiang/zhlint/master/docs/logo.svg" style="vertical-align: middle;"> eslint-plugin-zhlint

"rules": {
"halfWidthPunctuation": "",
"fullWidthPunctuation": ",。:;?!“”‘’()",

@@ -68,3 +69,3 @@ "unifiedPunctuation": "traditional"

- `lintStringLiterals` (boolean, default `true`): `true` to enable zhlint in string literals (single-quoted / double-quoted strings, and template literals)
- `zhlint` (object): options passed down to [zhlint](https://github.com/Jinjiang/zhlint#other-type-defs-and-advanced-usage)
- `zhlint` (object): options passed down to [zhlint](https://github.com/Jinjiang/zhlint#options)

@@ -71,0 +72,0 @@ ## Supported rules

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