New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

eslint-plugin-quintoandar

Package Overview
Dependencies
Maintainers
10
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-quintoandar - npm Package Compare versions

Comparing version 1.13.1 to 1.14.0

rules/no-cozy-theme-import.js

2

index.js

@@ -24,2 +24,3 @@ /* eslint-disable global-require */

'no-theme-usage': require('./rules/no-theme-usage'),
'no-cozy-theme-import': require('./rules/no-cozy-theme-import'),
'quintoandar-import-order': require('./rules/quintoandar-import-order'),

@@ -46,2 +47,3 @@ },

'no-theme-usage': 2,
'no-cozy-theme-import': 2,
'quintoandar-import-order': 2,

@@ -48,0 +50,0 @@ },

2

package.json
{
"name": "eslint-plugin-quintoandar",
"version": "1.13.1",
"version": "1.14.0",
"description": "An eslint-plugin for PWA-Tenants custom rules",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -126,2 +126,28 @@ <div align="center">

### No cozy theme import
Do not import cozy theme.
Replace it with one of the cozy tokens.
#### How to use it
Just add the code below in your rules array:
```js
"quintoandar/no-cozy-theme-import": 2,
```
### No theme usage
Do not use theme.palette, theme.spacing, theme.elevations or theme.shape.
Replace it with one of the cozy tokens.
#### How to use it
Just add the code below in your rules array:
```js
"quintoandar/no-theme-usage": 2,
```
### No ThemeProvider import

@@ -128,0 +154,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