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

Madgex ESLint config - based on eslint-config-airbnb

  • 2.2.0
  • npm
  • Socket score

Version published
Weekly downloads
216
increased by44%
Maintainers
21
Weekly downloads
 
Created
Source

eslint-config-madgex

ESLint rules related to Madgex projects.

Install

npm install eslint@9 @madgex/eslint-config-madgex -save-dev

VSCode extension

Use VSCode Extension v3.0.5+ (you might need to switch to pre-release version)

Usage

⚠️ Recomended to use only 1 type of source file in your repo, either commonjs or module (esm). eslint & eslint-plugin-n (this config depends on) has difficulty supporting both at the same time in a monorepo.

// package.json
// ESM import/export modules, set to commonjs if you are using `require/module.exports`, you cant use both
"type": "module",
{
  "engines": {
    "node": ">=18"
  }
}

Node/Browser

// eslint.config.js
import configMadgex from '@madgex/eslint-config-madgex';
export default [...configMadgex];

Vue

config order matters.

// eslint.config.js
import configMadgex from '@madgex/eslint-config-madgex';
import pluginVue from 'eslint-plugin-vue';

export default [...configMadgex, ...pluginVue.configs['flat/recommended']];

FAQs

Package last updated on 23 Apr 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

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