Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
@tabula/eslint-config
Advanced tools
This package provides ESLint configurators as shared configs.
We use recommended rules from the following packages:
We add support of React for browser:
Also, we add our opinionated rules configuration on top of it.
Use the package manager pnpm to install @tabula/eslint-config
.
pnpm add @tabula/eslint-config --save-dev
The package provides browser
and node
presets. Add an .eslintrc.json
configuration file to the root of your
project for browser:
{
"extends": "@tabula/eslint-config/browser",
"parserOptions": {
"project": ["tsconfig.json"]
}
}
or for browser tests:
{
"extends": "@tabula/eslint-config/browser-tests",
"parserOptions": {
"project": ["tsconfig.json"]
}
}
or for Node.js:
{
"extends": "@tabula/eslint-config/node",
"parserOptions": {
"project": ["tsconfig.json"]
}
}
Pay attention to the parserOptions.project
option.
We use rules which require type checking. The parser must be configured properly for them.
See more information about parserOptions.project
here.
This project is ISC licensed.
FAQs
Configuration for the ESLint
The npm package @tabula/eslint-config receives a total of 20 weekly downloads. As such, @tabula/eslint-config popularity was classified as not popular.
We found that @tabula/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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.