You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

@mulekick/eslint-config-muleslint

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mulekick/eslint-config-muleslint

Mulekicks's base JS / TS / React / Node ESLint config, following my personal standards 😁

2.2.3
latest
Source
npmnpm
Version published
Weekly downloads
2
-50%
Maintainers
1
Weekly downloads
 
Created
Source

My ESLint config for Javascript, Typescript, React and Node 🚀

GitHub package.json version GitHub License Last Commit NPM Version NPM Downloads Socket Badge

I use the ESLint extension on Visual Studio code in my day-to day coding activities. I find ESLint to be of a great help to write some proper, clean-cut ES6 code, avoid errors and enforce best practices. Here is the configuration I use to lint my *.js, *.ts, *.jsx and *.tsx files, available as a shareable config.

How I use ESLint in my dev environment

  • Windows 10 x64, Hyper-V enabled.
  • Debian Bookworm running in a Hyper-V VM.
  • Node.js v22.15.0 LTS on Debian.
  • VSCode targeting Debian through SSH.
  • VSCode ESLint extension enabled.
  • ESLint v9.29.0 installed as a project dev dependency.
  • @mulekick/eslint-config-muleslint installed as a project dev dependency.
  • A minimal eslint.config.js file included in the project's root folder :
// eslint-disable-next-line n/no-unpublished-import, n/no-missing-import
import muleslint from "@mulekick/eslint-config-muleslint";
// eslint-disable-next-line n/no-extraneous-import
import typescript from "typescript-eslint";

// .eslintignore doesn't work with flat configs
export default typescript.config(...muleslint, {
    ignores: [ `**/node_modules/**`, `**/dist/**`, `**/build/**` ]
});

Use it in your own project

  • Install with npx install-peerdeps --dev @mulekick/eslint-config-muleslint.
  • Be sure to add the above eslint.config.js file in your project's root folder.

Configuration details

  • This configuration uses the new eslint flat config format.
  • It extends the following configurations :
configurationdescription
eslint.configs.recommendedcore eslint recommended configuration
stylistic.configs.recommendedrecommended configuration for stylistic-related eslint rules
typescript.configs.strictTypeCheckedtypescript-eslint strict configuration with type-checked linting enabled 🤖
import.flatConfigs.recommendedrecommended configuration from the eslint import plugin
n.configs['flat/recommended']recommended configuration from the eslint node plugin
react.configs.flat.recommendedrecommended configuration from the eslint react plugin
security.configs.recommendedrecommended configuration from the eslint security plugin
  • It also uses the html plugin to lint JS code in HTML pages <script> tags.
  • Quite a few of the eslint.configs.recommended and stylistic.configs.recommended options are overriden 😁
  • The use of modern ECMA features (ES6 and beyond) is enforced whenever possible.
  • The use of Crockford indentation (4 spaces) and unix-style line breaks is enforced as well.
  • ESM modules use is enforced too, therefore making strict mode mandatory everywhere 👍

Keywords

eslint

FAQs

Package last updated on 17 Jun 2025

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