Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@scandipwa/eslint-plugin-scandipwa-guidelines

Package Overview
Dependencies
Maintainers
2
Versions
58
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@scandipwa/eslint-plugin-scandipwa-guidelines - npm Package Compare versions

Comparing version 1.3.0 to 1.4.0

lib/deprecated/use-middleware.js

5

lib/rules/file-structure.js

@@ -109,4 +109,5 @@ /**

const filePath = context.getFilename();
if (filePath.indexOf('src/app') !== -1) {
const relativeToApp = filePath.slice(filePath.indexOf('src/app') + 'src/app'.length + 1);
if (filePath.indexOf('pwa/src/app') !== -1 || filePath.indexOf('base-theme/src/app') !== -1) {
const pathKey = filePath.indexOf('pwa/src/app') !== -1 ? 'pwa/src/app' : 'base-theme/src/app';
const relativeToApp = filePath.slice(filePath.indexOf(pathKey) + pathKey.length + 1);
const exploded = relativeToApp.split('/');

@@ -113,0 +114,0 @@

3

package.json
{
"name": "@scandipwa/eslint-plugin-scandipwa-guidelines",
"version": "1.3.0",
"version": "1.4.0",
"description": "Eslint rules for ScandiPWA",

@@ -16,2 +16,3 @@ "keywords": [

"dependencies": {
"eslint-traverse": "^1.0.0",
"requireindex": "~1.1.0"

@@ -18,0 +19,0 @@ },

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc