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

@mizdra/eslint-plugin-layout-shift

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mizdra/eslint-plugin-layout-shift - npm Package Compare versions

Comparing version 0.1.0 to 1.0.0

lib/rules/require-size-attributes.js

4

lib/index.js

@@ -5,3 +5,3 @@ 'use strict';

rules: {
'media-element-has-size-attributes': require('./media-element-has-size-attributes'),
'require-size-attributes': require('./require-size-attributes'),
},

@@ -17,3 +17,3 @@ configs: {

rules: {
'@mizdra/layout-shift/media-element-has-size-attributes': 2,
'@mizdra/layout-shift/require-size-attributes': 2,
},

@@ -20,0 +20,0 @@ },

{
"name": "@mizdra/eslint-plugin-layout-shift",
"version": "0.1.0",
"version": "1.0.0",
"description": "ESLint plugin to force responsive media elements to set the width/height attributes",
"repository": "https://github.com/mizdra/eslint-plugin-layout-shift",
"homepage": "https://github.com/mizdra/eslint-plugin-layout-shift",
"bugs": "https://github.com/mizdra/eslint-plugin-layout-shift/issues",
"private": false,

@@ -6,0 +9,0 @@ "license": "MIT",

@@ -48,3 +48,3 @@ # @mizdra/eslint-plugin-layout-shift

"rules": {
"@mizdra/layout-shift/media-element-has-size-attributes": 2
"@mizdra/layout-shift/require-size-attributes": 2
}

@@ -56,3 +56,3 @@ }

- [@mizdra/layout-shift/media-element-has-size-attributes](https://github.com/mizdra/eslint-plugin-layout-shift/blob/master/docs/rules/media-element-has-size-attributes.md): Forbid media element without an explicit size attributes
- [@mizdra/layout-shift/require-size-attributes](https://github.com/mizdra/eslint-plugin-layout-shift/blob/master/docs/rules/require-size-attributes.md): Forbid media element without an explicit size attributes

@@ -62,3 +62,5 @@ ## Release (for contributor)

```console
$ # Wait for passing CI...
$ git switch master
$ git pull
$ yarn version

@@ -65,0 +67,0 @@ $ npm publish

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