Huge News!Announcing our $40M Series B led by Abstract Ventures.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.4.7 to 1.0.0

4

package.json
{
"name": "eslint-g",
"version": "0.4.7",
"version": "1.0.0",
"description": "Generator eslint config for pspgbhu",
"main": "index.js",
"bin": {
"esg": "esg"
"esg": "./bin/esg"
},

@@ -9,0 +9,0 @@ "repository": {

@@ -5,28 +5,29 @@ const commonrc = require('./commonrc');

rc =
`
root: true,
"env": {
"browser": true,
"node": true,
},
extends: 'airbnb-base',
"plugins": [
"import"
],
rules: {
${commonrc}
"no-restricted-syntax": ["off", "BinaryExpression[operator='in']"],
"import/imports-first": 0,
'import/no-dynamic-require': 0,
"no-unused-vars": 1,
"no-console": 0,
"no-underscore-dangle": 0,
"arrow-parens": 0,
"no-param-reassign": 0,
"padded-blocks": 0,
"prefer-const": 1,
"linebreak-style":0,
"max-len":0,
"no-shadow": ["error", { "allow": ["err", "error"] }],
"func-names": 0
`{
"root": true,
"env": {
"browser": true,
"node": true
},
"extends": "airbnb-base",
"plugins": [
"import"
],
"rules": {
${commonrc}
"no-restricted-syntax": ["off", "BinaryExpression[operator='in']"],
"import/imports-first": 0,
"import/no-dynamic-require": 0,
"no-unused-vars": 1,
"no-console": 0,
"no-underscore-dangle": 0,
"arrow-parens": 0,
"no-param-reassign": 0,
"padded-blocks": 0,
"prefer-const": 1,
"linebreak-style":0,
"max-len":0,
"no-shadow": ["error", { "allow": ["err", "error"] }],
"func-names": 0
}
}

@@ -33,0 +34,0 @@ `;

@@ -33,3 +33,3 @@ const commonrc = require('./commonrc');

},
"extends": 'airbnb-base',
"extends": "airbnb-base",
"rules": {

@@ -36,0 +36,0 @@ ${commonrc}

@@ -59,1 +59,3 @@ const commonrc = require('./commonrc');

`
module.exports = { rc, plugins };
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