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

@madgex/eslint-config-madgex

Package Overview
Dependencies
Maintainers
21
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@madgex/eslint-config-madgex - npm Package Compare versions

Comparing version 2.1.0 to 2.2.0

11

index.js

@@ -37,7 +37,16 @@ const globals = require('globals');

rules: {
// https://eslint.org/docs/latest/rules/
'no-debugger': process.env.NODE_ENV === 'production' ? 2 : 0,
'no-console': process.env.NODE_ENV === 'production' ? 2 : 0,
'prettier/prettier': 'error',
'no-param-reassign': ['error', { props: true }],
eqeqeq: ['error', 'always', { null: 'ignore' }],
'no-shadow': 'error',
'no-lonely-if': 'error',
camelcase: ['error', { properties: 'never', ignoreDestructuring: false }],
'no-bitwise': 'error',
'default-case': 'error',
'consistent-return': 'error',
'func-names': 'warn',
},
},
];

2

package.json
{
"name": "@madgex/eslint-config-madgex",
"version": "2.1.0",
"version": "2.2.0",
"type": "commonjs",

@@ -5,0 +5,0 @@ "description": "Madgex ESLint config - based on eslint-config-airbnb",

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