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

remark-lint-code-block-syntax

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

remark-lint-code-block-syntax - npm Package Compare versions

Comparing version 0.1.0 to 0.2.0

.editorconfig

2

index.js

@@ -65,3 +65,3 @@ "use strict";

try {
yaml.safeLoad(code);
yaml.load(code);
return null;

@@ -68,0 +68,0 @@ } catch (e) {

@@ -65,3 +65,3 @@ "use strict";

message:
"Invalid YAML: can not read a block mapping entry; a multiline key may not be an implicit key at line 3, column 1:",
"Invalid YAML: can not read a block mapping entry; a multiline key may not be an implicit key (3:1)",
ruleId: "code-block-syntax",

@@ -68,0 +68,0 @@ source: "remark-lint",

{
"name": "remark-lint-code-block-syntax",
"version": "0.1.0",
"version": "0.2.0",
"description": "A remark-lint rule to check language syntax in a code block.",

@@ -18,7 +18,9 @@ "author": "Masafumi Koba",

"scripts": {
"test": "jest"
"test": "jest",
"lint": "npx eslint . && npx prettier --check .",
"format": "npx prettier --write ."
},
"dependencies": {
"esprima": "^4.0.1",
"js-yaml": "^3.13.1",
"js-yaml": "^4.0.0",
"unified-lint-rule": "^1.0.5",

@@ -29,4 +31,4 @@ "unist-util-visit": "^2.0.2"

"jest": "^26.0.1",
"remark": "^12.0.0"
"remark": "^13.0.0"
}
}

@@ -0,1 +1,3 @@

[![npm](https://img.shields.io/npm/v/remark-lint-code-block-syntax?style=flat-square)](https://www.npmjs.com/package/remark-lint-code-block-syntax)
# remark-lint-code-block-syntax

@@ -5,6 +7,12 @@

## Supported languages
- JavaScript
- JSON
- YAML
## Install
```console
$ npm install remark remark-lint-code-block-syntax
$ npm install remark-lint-code-block-syntax
```

@@ -11,0 +19,0 @@

Sorry, the diff of this file is not supported yet

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