
Product
Rust Support Now in Beta
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.
@shopware-ag/admin-eslint-rules
Advanced tools
This package provides ESLint rules for the Shopware Administration.
You can install this package using npm:
npm install @shopware-ag/admin-eslint-rules --save-dev
Add the following to your .eslintrc.js
file:
module.exports = {
"plugins": [
"@shopware-ag/admin-eslint-rules"
],
"rules": {
"@shopware-ag/admin-eslint-rules/no-snippet-import": "error",
"@shopware-ag/admin-eslint-rules/no-src-import": "error",
"@shopware-ag/admin-eslint-rules/no-sw-extension-override": "error",
"@shopware-ag/admin-eslint-rules/require-explict-emits": "error",
"@shopware-ag/admin-eslint-rules/state-import": "error"
}
};
no-snippet-import
: Prevents direct import of snippets.no-src-import
: Prevents direct import of src
files.no-sw-extension-override
: Prevents overriding of sw-extension
components.require-explict-emits
: Requires explicit emits in components.state-import
: Enforces correct import of state.FAQs
Shopware Administration ESLint rules
The npm package @shopware-ag/admin-eslint-rules receives a total of 210 weekly downloads. As such, @shopware-ag/admin-eslint-rules popularity was classified as not popular.
We found that @shopware-ag/admin-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.
Product
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.
Product
Socket Fix 2.0 brings targeted CVE remediation, smarter upgrade planning, and broader ecosystem support to help developers get to zero alerts.
Security News
Socket CEO Feross Aboukhadijeh joins Risky Business Weekly to unpack recent npm phishing attacks, their limited impact, and the risks if attackers get smarter.