New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

eslint-g

Package Overview
Dependencies
Maintainers
1
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-g - npm Package Compare versions

Comparing version 0.3.2 to 0.4.0

rc/browserrc.js

13

index.js

@@ -16,4 +16,15 @@ #!/usr/bin/env node

} else if (argv.b) {
// eslintContent = browserrc;
eslintContent = browserrc;
} else if (argv.r) {
eslintContent = reactrc;
} else if (argv.h) {
console.log('-n node rules');
console.log('-b browser rules');
console.log('-r react rules, cannot use yet!!');
console.log('-v vue rules, cannot use yet!!');
return;
} else {

@@ -20,0 +31,0 @@ eslintContent = noderc;

5

package.json
{
"name": "eslint-g",
"version": "0.3.2",
"version": "0.4.0",
"description": "Generator eslint config for pspgbhu",

@@ -11,3 +11,4 @@ "main": "index.js",

"test": "echo \"Error: no test specified\" && exit 1",
"patch": "npm version patch && npm publish"
"patch": "npm version patch && npm publish",
"postversion": "npm publish && git push --follow-tags"
},

@@ -14,0 +15,0 @@ "keywords": [

const noderc = require('./noderc');
const reactrc = require('./reactrc');
const browserrc = require('./browserrc');
module.exports = {
noderc,
reactrc,
browserrc,
};
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