![require(esm) Backported to Node.js 20, Paving the Way for ESM-Only Packages](https://cdn.sanity.io/images/cgdhsj6q/production/be8ab80c8efa5907bc341c6fefe9aa20d239d890-1600x1097.png?w=400&fit=max&auto=format)
Security News
require(esm) Backported to Node.js 20, Paving the Way for ESM-Only Packages
require(esm) backported to Node.js 20, easing the transition to ESM-only packages and reducing complexity for developers as Node 18 nears end-of-life.
eslint-config-mitmaro
Advanced tools
This package provides MitMaro's shared extensible ESLint config.
This project provides an interface for generating ESLint configurations.
// .eslintrc.js
const eslintConfig = require('eslint-config-mitmaro');
module.exports = eslintConfig(
[
'node',
'ecmascript-9',
// other configurations
],
{
root: true,
// other base configurations
},
{
// options
}
);
Install this project and it's base dependencies:
npm install --save-dev \
eslint-config-mitmaro \
eslint \
eslint-plugin-filenames \
eslint-plugin-promise \
eslint-plugin-security
Adds support for babel-eslint
and the ESLint babel plugin.
Add 'babel'
to configurations array and install the required dependencies:
npm install --save-dev babel-eslint eslint-plugin-babel
Adds support for @typescript-eslint/parser
and the ESLint Typescript Plugin.
Add 'typescript'
to configurations array and install the required dependencies:
npm install --save-dev @typescript-eslint/eslint-plugin @typescript-eslint/parser
Adds support for the ESLint Chai Expect Plugin.
Add 'chai'
to configurations array and install the required dependencies:
npm install --save-dev eslint-plugin-chai-expect
Adds support for ECMAScript 7 features.
Add 'ecmascript-7'
to configurations array.
Adds support for ECMAScript 8 features including previous versions.
Add 'ecmascript-8'
to configurations array.
Adds support for ECMAScript 9 features including previous versions.
Add 'ecmascript-9'
to configurations array.
Adds support for mocha and adds the ESLint mocha plugin.
Add 'mocha'
to configurations array and install the required dependencies:
npm install --save-dev eslint-plugin-mocha
Adds support for Node.js and adds the ESLint node plugin.
Add 'node'
to configurations array and install the required dependencies:
npm install --save-dev eslint-plugin-node
Extends the Node.js configuration to modify rules for console applications.
Add 'console'
to configurations array.
Adds support for React and adds the ESLint react plugin.
Add 'react'
to configurations array and install the required dependencies:
npm install --save-dev eslint-plugin-react
react.version
to set a custom React version. Default to auto-detect.Adds support for JSDoc and adds the ESLint jsdoc plugin.
Add 'jsdoc'
to configurations array and install the required dependencies:
npm install --save-dev eslint-plugin-jsdoc
jsdoc.ignorePrivate
- default to true
.jsdoc.additionalTagNames
- default to and empty array ([]
).This project follows as closely as possible Semantic Versioning. A MAJOR change would be caused by including a rule that could cause a passing code base to fail. A MINOR change is a modification or removal of a rule that would not cause existing passing code to fail. A PATCH would be any fix that doesn't cause any changes to rules.
This project is released under the ISC license. See LICENSE.
[5.0.2] - 2019-07-18
FAQs
mitmaro's personal ESLint configurations
We found that eslint-config-mitmaro demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
require(esm) backported to Node.js 20, easing the transition to ESM-only packages and reducing complexity for developers as Node 18 nears end-of-life.
Security News
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.