
Research
Two Malicious Rust Crates Impersonate Popular Logger to Steal Wallet Keys
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
@shopware-ag/storefront-eslint-rules
Advanced tools
This package provides custom ESLint rules for Shopware Storefront projects. These rules help to ensure code quality, promote best practices, and assist in migrating from older code patterns to more modern approaches.
npm install @shopware-ag/storefront-eslint-rules --save-dev
Add the following to your ESLint configuration file (e.g., .eslintrc.js):
+import storefrontRules from '@shopware-ag/storefront-eslint-rules';
/** @type {import('eslint').Linter.Config[]} */
export default [
{languageOptions: { globals: globals.browser }},
pluginJs.configs.recommended,
...tseslint.configs.recommended,
+ storefrontRules,
{
rules: {
'@typescript-eslint/no-unused-vars': 'warn',
'@typescript-eslint/no-unused-expressions': 'warn',
'@typescript-eslint/no-this-alias': 'warn',
'@typescript-eslint/no-require-imports': 'off',
'no-undef': 'off',
'no-alert': 'error',
'no-console': ['error', { allow: ['warn', 'error'] }],
}
}
];
migrate-plugin-manager
: This rule flags imports from src/plugin-system/plugin.manager and suggests using window.PluginManager instead. It also flags imports from src/plugin-system/plugin.class and suggests using window.PluginBaseClass.no-dom-access-helper
: This rule identifies usages of the DomAccessHelper and suggests using native DOM methods instead.no-http-client
: This rule identifies usages of the HttpClient and suggests using the fetch API instead.no-query-string
: This rule identifies usages of the query-string library and suggests using URLSearchParams instead.FAQs
Shopware Storefront ESLint rules
We found that @shopware-ag/storefront-eslint-rules demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 10 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
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
Research
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.