
Security News
Next.js Patches Critical Middleware Vulnerability (CVE-2025-29927)
Next.js has patched a critical vulnerability (CVE-2025-29927) that allowed attackers to bypass middleware-based authorization checks in self-hosted apps.
eslint-config-monots
Advanced tools
This package provides the default eslint configurations used within the monots codebase.
yarn add eslint-config-monots
In your package.json
files add the following configuration
{
"name": "my-cool-library",
"version": "0.0.0",
"eslintConfig": {
"extends": ["monots"],
"overrides": [
{
"files": ["*.ts", "*.tsx"],
"extends": ["monots/full"],
"parserOptions": {
"project": ["./path/to/tsconfig.lint.json"]
}
},
{ "files": ["*.tsx"], "extends": ["monots/react"] }
]
}
}
If you don't want to use your package.json
file, you can use any of the supported eslint configuration formats to export a string, e.g. .eslintrc.json
:
{
"extends": ["monots"]
}
You can always add your own rules and disable any rules you don't like by adding a rules property to the configuration.
module.exports = {
extends: ['monots'],
};
This config is primarily for use within a monots
repo. Rules are strict but they do allow multiple people working on a project to conform to the same standard.
monots
Provides the default rules and sets the parser to use @typescript-eslint/parser
.
monots/full
Provides stricter rules and the cpu intensive @typescript-eslint/eslint-plugin
/ eslint-plugin-import
which should be scoped to *.ts
files in your project.
monots/react
Rules for a react codebase.
monots/markdown
Experimental rules for markdown files. This currently doesn't interop well with @typescript-eslint/parser
when the project option is set.
monots/full-off
Can be used to disable the full
rule for certain groups of files.
module.exports = {
extends: ['monots'],
"overrides": [
{
"files": ["*.ts", "*.tsx"],
"extends": ["monots/full"],
"parserOptions": {
"project": ["./path/to/tsconfig.lint.json"]
}
},
{ "files": ["*.tsx"], "extends": ["monots/react"] },
// Disable the `full` rules for certain matching files.
{"files": ["*.d.ts"], extends: ['monots/full-off'] }
]
}
};
FAQs
Provides the monots eslint configuration
The npm package eslint-config-monots receives a total of 13 weekly downloads. As such, eslint-config-monots popularity was classified as not popular.
We found that eslint-config-monots 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
Next.js has patched a critical vulnerability (CVE-2025-29927) that allowed attackers to bypass middleware-based authorization checks in self-hosted apps.
Security News
A survey of 500 cybersecurity pros reveals high pay isn't enough—lack of growth and flexibility is driving attrition and risking organizational security.
Product
Socket, the leader in open source security, is now available on Google Cloud Marketplace for simplified procurement and enhanced protection against supply chain attacks.