Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
@strv/eslint-config-react
Advanced tools
Configuration for React projects.
npm install -D @strv/eslint-config-react
'@strv/eslint-config-react'
: A generic ruleset that focuses on code correctness'@strv/eslint-config-react/optional'
: Addiitonal ruleset that might provide useful tips and hints how to improve your code'@strv/eslint-config-react/style'
: Ruleset that focuses solely on code style (indentation, spacing, naming, syntax preference etc.)// eslint.config.mjs
import react from '@strv/eslint-config-react'
import optional from '@strv/eslint-config-react/optional'
import style from '@strv/eslint-config-react/style'
// Just to help us re-use the same globs multiple times
const globs = {
jsx: '**/*.jsx',
}
/** @type {Array<import("eslint").Linter.FlatConfig>} */
const config = [
{ files: [globs.jsx], ...react },
{ files: [globs.jsx], ...optional },
{ files: [globs.jsx], ...style },
// Any custom settings to be applied
{ files: [globs.jsx],
languageOptions: { ecmaVersion: 2023, ecmaFeatures: { jsx: true } },
},
]
export default config
See the LICENSE file for information.
FAQs
STRV's ESLint config for React projects
The npm package @strv/eslint-config-react receives a total of 189 weekly downloads. As such, @strv/eslint-config-react popularity was classified as not popular.
We found that @strv/eslint-config-react 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.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.