
Security News
Research
Supply Chain Attack on Rspack npm Packages Injects Cryptojacking Malware
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
eslint-config-mitmaro
Advanced tools
This package provides MitMaro's shared extensible ESLint config.
There are two ESLint configurations for your usage.
npm install --save-dev eslint-config-mitmaro eslint-plugin-filenames eslint-plugin-promise eslint-plugin-security eslint
eslint-config-mitmaro
The default export contains a set of common ESLint rules, including ECMAScript 6+.
"extends": "mitmaro"
to your ESLint config fileeslint-config-mitmaro/config/babel
Adds support for babel-eslint
and the ESLint babel plugin.
npm install --save-dev babel-eslint eslint-plugin-babel
"extends": ["mitmaro", "mitmaro/config/babel"]
to your ESLint config fileeslint-config-mitmaro/config/typescript
Adds support for typescript-eslint-parser
and the ESLint Typescript Plugin.
npm install --save-dev babel-eslint eslint-plugin-typescript
"extends": ["mitmaro", "mitmaro/config/typescript"]
to your ESLint config fileeslint-config-mitmaro/config/chai
"extends": "mitmaro/config/chai"
to your ESLint config fileeslint-config-mitmaro/config/ecmascript-6
Adds support for ECMAScript 6 features and sets the source type to module
.
"extends": ["mitmaro", "mitmaro/config/ecmascript-6"]
to your ESLint config fileeslint-config-mitmaro/config/ecmascript-7
Adds support for ECMAScript 7 features. This config automatically brings in eslint-config-mitmaro/config/ecmascript-6
.
"extends": ["mitmaro", "mitmaro/config/ecmascript-7"]
to your ESLint config fileeslint-config-mitmaro/config/ecmascript-8
Adds support for ECMAScript 8 features. This config automatically brings in eslint-config-mitmaro/config/ecmascript-7
.
"extends": ["mitmaro", "mitmaro/config/ecmascript-8]
to your ESLint config fileeslint-config-mitmaro/config/ecmascript-9
Adds support for ECMAScript 9 features. This config automatically brings in eslint-config-mitmaro/config/ecmascript-8
.
"extends": ["mitmaro", "mitmaro/config/ecmascript-9]
to your ESLint config fileeslint-config-mitmaro/config/mocha
Adds support for mocha, disabling certain rules and adding the ESLint mocha plugin.
npm install --save-dev eslint-plugin-mocha
"extends": "mitmaro/config/mocha"
to your ESLint config file"mitmaro/config/typescript-mocha"
to your ESLint config file to support TypeScripteslint-config-mitmaro/config/node
"extends": "mitmaro/config/node"
to your ESLint config fileNote: You should include this after ecmascript-*
configurations.
eslint-config-mitmaro/config/react
npm install --save-dev eslint-plugin-react
"extends": "mitmaro/config/react"
to your ESLint config fileThis 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.
Add new rule definitions under the files located in rules
ensuring to keep the rule correctly categorized and in the
same order as defined on the ESLint rules page.
This project self-lints and ensure that all file paths are correct. You can run these checks with the npm run test
command.
This project is released under the ISC license. See LICENSE.
[4.0.0] - 2018-07-28
FAQs
mitmaro's personal ESLint configurations
The npm package eslint-config-mitmaro receives a total of 17 weekly downloads. As such, eslint-config-mitmaro popularity was classified as not popular.
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
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.
Security News
Sonar’s acquisition of Tidelift highlights a growing industry shift toward sustainable open source funding, addressing maintainer burnout and critical software dependencies.