
Security News
Crates.io Users Targeted by Phishing Emails
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
@mediamonks/eslint-config
Advanced tools
Sharable eslint config based on Media.Monks Frontend Coding Standards
The Monks ESLint Configuration is a set of linting rules and presets designed to enforce the Frontend Coding Standards at Monks. This configuration helps maintain code quality and consistency across different projects by providing tailored presets for various project types, including JavaScript, TypeScript, and React.
@mediamonks/eslint-config
npm install --save-dev @mediamonks/eslint-config
Create a eslint.config.js
file in the root of your module
Configure your project with one of the configuration presets
Project Type | Preset Name | Description |
---|---|---|
JavaScript | javascript | Preset for standard JavaScript projects |
JavaScript and React | react | Preset for React projects using JavaScript |
TypeScript | typescript | Preset for TypeScript projects |
TypeScript and React | typescriptReact | Preset for React projects using TypeScript |
JavaScript (Node.js) | javascriptNode | Preset for Node.js projects using JavaScript |
TypeScript (Node.js) | typescriptNode | Preset for Node.js projects using TypeScript |
The package provides presets tailored for different project types. These presets ensure that your project adheres to the coding standards and best practices. Below are examples of how to configure your project using these presets.
import { configs } from '@mediamonks/eslint-config';
export default [
...configs.javascript,
{
ignores: ['build/*'],
},
{
languageOptions: {
// Your project language options...
// Please see the eslint documentation for more details
},
},
];
import { configs } from '@mediamonks/eslint-config';
import tseslint from 'typescript-eslint';
export default tseslint.config(
...configs.typescript,
{
ignores: ['build/*'],
},
{
languageOptions: {
// Your project language options...
// Please see the eslint/typescript-eslint documentation for more details
},
},
);
import { configs } from '@mediamonks/eslint-config';
import tseslint from 'typescript-eslint';
export default tseslint.config(
...configs.typescriptReact,
{
ignores: ['build/*'],
},
{
languageOptions: {
// Your project language options...
// Please see the eslint/typescript-eslint documentation for more details
},
},
);
FAQs
Sharable eslint config based on Media.Monks Frontend Coding Standards
The npm package @mediamonks/eslint-config receives a total of 340 weekly downloads. As such, @mediamonks/eslint-config popularity was classified as not popular.
We found that @mediamonks/eslint-config demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 9 open source maintainers 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
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
Product
Socket now lets you customize pull request alert headers, helping security teams share clear guidance right in PRs to speed reviews and reduce back-and-forth.
Product
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.