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 1.2.5 to 1.3.0

2

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

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

const commonrc = require('./commonrc');
const plugins = ['eslint', 'eslint-config-airbnb-base', 'eslint-plugin-import'];
const plugins = [
'eslint',
'eslint-config-airbnb-base',
'eslint-plugin-import',
];
const rc =

@@ -17,16 +22,5 @@ `{

${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
"no-restricted-syntax": ["off", "BinaryExpression[operator='in']"]
}

@@ -36,5 +30,4 @@ }

const ignore =
``;
const ignore = '';
module.exports = { rc, plugins, ignore };
module.exports =
`
"prefer-template": 0,`;
"prefer-template": 0,
"no-use-before-define": ["error", { "functions": false }], `;
const commonrc = require('./commonrc');
const plugins = ['eslint', 'eslint-config-airbnb-base', 'eslint-plugin-import'];
const plugins = [
'eslint',
'eslint-config-airbnb-base',
'eslint-plugin-import',
];
const rc =

@@ -16,17 +21,3 @@ `{

"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"] }],
"no-use-before-define": 0,
"func-names": 0,
"no-multi-assign": 0,
"prefer-template": 0
"import/no-dynamic-require": 0
}

@@ -36,5 +27,4 @@ }

const ignore =
``;
const ignore = '';
module.exports = { rc, plugins, ignore };
const commonrc = require('./commonrc');
const plugins = [

@@ -7,3 +8,3 @@ 'eslint',

'eslint-import-resolver-webpack',
'eslint-plugin-react'
'eslint-plugin-react',
];

@@ -44,17 +45,4 @@

${commonrc}
"arrow-body-style": 0,
"class-methods-use-this": 0,
"function-paren-newline": 0,
"global-strict": 0,
"no-extra-semi": 1,
"no-underscore-dangle": 0,
"no-console": 0,
"no-unused-vars": 1,
"no-use-before-define": ["error", { "functions": false, "classes": false }],
"no-trailing-spaces": [1, { "skipBlankLines": true }],
"no-unreachable": 1,
"no-alert": 0,
"react/jsx-uses-react": 1,
"react/jsx-uses-vars": 1
"quotes": [ 1, "single" ],
}

@@ -61,0 +49,0 @@ }

const commonrc = require('./commonrc');
const plugins = [
"eslint",
"eslint-config-airbnb-base",
"eslint-friendly-formatter",
"eslint-import-resolver-webpack",
"eslint-loader",
"eslint-plugin-html",
"eslint-plugin-import",
]
'eslint',
'eslint-config-airbnb-base',
'eslint-friendly-formatter',
'eslint-import-resolver-webpack',
'eslint-loader',
'eslint-plugin-html',
'eslint-plugin-import',
];

@@ -42,19 +42,6 @@ const rc =

"optionalDependencies": ["test/unit/index.js"]
}],
"no-debugger": 0,
"no-use-before-define": ["error", { "functions": false }],
"prefer-const": 1,
"no-console": 1,
"no-unused-vars": 0,
"no-underscore-dangle": 0,
"arrow-parens": 0,
"no-param-reassign": 0,
"no-unused-expressions": 0,
"padded-blocks": 0,
"linebreak-style":0,
"no-restricted-syntax": 0,
"eqeqeq": 0
}]
}
}
`
`;

@@ -61,0 +48,0 @@ const ignore =

Sorry, the diff of this file is not supported yet

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