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.1.1 to 0.2.0

bin/eslint-g

6

index.js

@@ -1,2 +0,2 @@

#! node
#!/usr/bin/env node

@@ -10,3 +10,3 @@ const fs = require('fs');

const PATH = path.resolve();
const eslintContent = null;
let eslintContent = null;

@@ -24,4 +24,4 @@ if (argv.n) {

fs.writeFile(PATH + '.eslintrc.js', eslintContent, (e) => {
fs.writeFile(PATH + '/.eslintrc.js', eslintContent, (e) => {
console.log('Generator success!'.green);
});
{
"name": "eslint-g",
"version": "0.1.1",
"version": "0.2.0",
"description": "Generator eslint config for pspgbhu",
"main": "index.js",
"bin": {
"eslint-g": "./index.js"
"eslint-g": "./bin/eslint-g"
},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"test": "echo \"Error: no test specified\" && exit 1",
"start": "./bin/eslint-g",
"clean": "rm .eslintrc.js"
},

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

@@ -5,3 +5,3 @@ const noderc = require('./noderc');

module.exports = {
JSON.stringify(noderc),
noderc,
};

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

const commonrc = require('./commonrc');
const rc = {
module.exports =
`{
env: {

@@ -15,7 +14,17 @@ "node": true,

rules: {
}
"no-restricted-syntax": ["off", "BinaryExpression[operator='in']"],
"import/imports-first": 0,
'import/no-dynamic-require': 0,
"no-unused-vars": 0,
"no-console": 0,
"no-underscore-dangle": 0,
"arrow-parens": 0,
"no-param-reassign": 0,
"no-unused-expressions": 0,
"padded-blocks": 0,
"prefer-const": 1,
"linebreak-style":0,
"max-len":0,
},
};
Object.assign(rc.rules, commonrc.rules);
module.exports = rc;
`;
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