
Product
Socket Now Protects the Chrome Extension Ecosystem
Socket is launching experimental protection for Chrome extensions, scanning for malware and risky permissions to prevent silent supply chain attacks.
@defisaver/eslint-config
Advanced tools
Global eslint configs for DeFi Saver projects. Requires ESLint >=9.0.0.
Three configs are exported:
npm install --save-dev eslint @defisaver/eslint-config
eslint.config.js
import { defineConfig } from 'eslint/config';
import { typescriptConfig } from '@defisaver/eslint-config';
export default defineConfig(
{
extends: typescriptConfig,
files: ['src/**/*.{js,mjs,cjs,ts}', 'tests/**/*.js'],
ignores: ['src/types/generated/**/*']
// ...
},
{
// ...
},
)
eslint.config.mjs
- the .mjs extension is important if your project.json does not have a "type": "module"
set.
import { defineConfig } from 'eslint/config';
import { basicConfig } from '@defisaver/eslint-config';
export default defineConfig(
{
extends: basicConfig,
files: ['src/**/*.{js,mjs,cjs}'],
// ...
},
{
// ...
},
)
no-unresolved
rule when using the basic JS setup (TypeScript setup is not affected). This is due to a long-standing issue with eslint-plugin-import
. Example: import { defineConfig } from 'eslint/config';
FAQs
Global eslint configs for DeFi Saver projects.
The npm package @defisaver/eslint-config receives a total of 330 weekly downloads. As such, @defisaver/eslint-config popularity was classified as not popular.
We found that @defisaver/eslint-config demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 4 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.
Product
Socket is launching experimental protection for Chrome extensions, scanning for malware and risky permissions to prevent silent supply chain attacks.
Product
Add secure dependency scanning to Claude Desktop with Socket MCP, a one-click extension that keeps your coding conversations safe from malicious packages.
Product
Socket now supports Scala and Kotlin, bringing AI-powered threat detection to JVM projects with easy manifest generation and fast, accurate scans.