
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
@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 334 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 0 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
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.