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:
We add support of testing tools:
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 utilities to build flat config, also configs and presets, which can be used for build your own configuration.
The defineConfig
utility accepts record with config definitions. Each definition is a ESLint flat config itself, or
object with files
, ignores
and configs
fields.
It's function build flat config with defined names to improve debug and readability.
import { defineConfig } from '@tabula/eslint-config';
export default defineConfig({
typescript: {
files: ['{src,stories}/**/*.{ts,tsx}'],
ignores: ['src/**/*.js'],
configs: presets.typescript(),
},
stories: {
files: ['stories/**/*.{ts,tsx}'],
rules: {
'react/no-multi-comp': 'off',
},
}
});
Also package exports configs
and presets
objects, which provide of single configs or configs list.
This project is ISC licensed.
FAQs
Configuration for the ESLint
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.