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

eslint-plugin-moxio

Package Overview
Dependencies
Maintainers
3
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-moxio - npm Package Compare versions

Comparing version 4.4.0 to 4.5.0

.github/workflows/ci.yml

6

lib/rules/restrict-css-class-usage-to-files.js

@@ -133,3 +133,7 @@ /*global module*/

if (property.key && property.key.value) {
checkCssClassAttribute(property.key.value, property);
if (property.value && property.value.type === "JSXElement") {
//Skip assignment {$: JSXElement}, not triggering a css class.
} else {
checkCssClassAttribute(property.key.value, property);
}
}

@@ -136,0 +140,0 @@

2

package.json
{
"name": "eslint-plugin-moxio",
"version": "4.4.0",
"version": "4.5.0",
"description": "Custom rules for ESLint as used at Moxio",

@@ -5,0 +5,0 @@ "keywords": [

@@ -0,1 +1,2 @@

![CI](https://github.com/Moxio/eslint-plugin-moxio/workflows/CI/badge.svg)
[![NPM version](https://img.shields.io/npm/v/eslint-plugin-moxio.svg)](https://www.npmjs.com/package/eslint-plugin-moxio)

@@ -2,0 +3,0 @@

@@ -52,2 +52,8 @@ /* global require */

},
{
code: 'const properties = { "restricted-css-class": <div /> }',
filename: 'file.tsx',
errors: default_errors,
options: default_options
},
//Test to see if windows file paths are normalized

@@ -54,0 +60,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