🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

@hao360/eslint-plugin-cube

Package Overview
Dependencies
Maintainers
8
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hao360/eslint-plugin-cube - npm Package Compare versions

Comparing version
0.1.2
to
0.1.3
+12
-0
lib/index.js

@@ -6,4 +6,16 @@ "use strict";

module.exports.rules = requireIndex(__dirname + "/rules");
module.exports.processors = {
// Fix no parsing of HTML tags.
".tpl": {
preprocess: function(text, filename) {
const tpl = `<div>${text}</div>`;
return [tpl];
},
postprocess: function(messages, filename) {
return [].concat(...messages);
}
}
};
+1
-1
{
"name": "@hao360/eslint-plugin-cube",
"version": "0.1.2",
"version": "0.1.3",
"description": "cube rule validation plugin",

@@ -5,0 +5,0 @@ "main": "lib/index.js",