remark-clang-format
Advanced tools
Comparing version 2.0.0 to 2.1.0
@@ -12,3 +12,4 @@ 'use strict'; | ||
node.lang.toLowerCase() == 'cpp' || | ||
node.lang.toLowerCase() == 'c') | ||
node.lang.toLowerCase() == 'c') && | ||
(!node.meta || !node.meta.includes('nolint')) | ||
) { | ||
@@ -15,0 +16,0 @@ const child = spawnSync('clang-format', { input: node.value }); |
{ | ||
"name": "remark-clang-format", | ||
"version": "2.0.0", | ||
"version": "2.1.0", | ||
"description": "run clang-format for code in markdown", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -21,1 +21,2 @@ import test from 'ava'; | ||
T(2); | ||
T(3); |
5986
16
58