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

eslint-plugin-orbit-components

Package Overview
Dependencies
Maintainers
12
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-orbit-components - npm Package Compare versions

Comparing version 0.5.0 to 0.5.1

11

CHANGELOG.md

@@ -6,2 +6,13 @@ # Change Log

## [0.5.1](https://github.com/kiwicom/orbit/compare/eslint-plugin-orbit-components@0.5.0...eslint-plugin-orbit-components@0.5.1) (2021-04-22)
### Bug Fixes
* use-rtl error messages ([#2876](https://github.com/kiwicom/orbit/issues/2876)) ([caac28a](https://github.com/kiwicom/orbit/commit/caac28a24f840f5226b7f34685cf4acd47d3cdab))
# [0.5.0](https://github.com/kiwicom/orbit/compare/eslint-plugin-orbit-components@0.4.0...eslint-plugin-orbit-components@0.5.0) (2021-04-07)

@@ -8,0 +19,0 @@

12

dist/rules/useRtl.js

@@ -20,11 +20,7 @@ "use strict";

var ERROR_RTL_SPACING = "Values for right and left edges are different. Use Orbit's rtlSpacing utility.";
var ERROR_RTL_SPACING = "Use Orbit's rtlSpacing utility because values for right and left edges are different. https://orbit.kiwi/utilities/right-to-left-languages/#rtlspacing";
exports.ERROR_RTL_SPACING = ERROR_RTL_SPACING;
var ERROR_BORDER_RADIUS = "border-radius edge values are different. Use borderRadius utility.";
exports.ERROR_BORDER_RADIUS = ERROR_BORDER_RADIUS;
var errorBasic = function errorBasic(prop, value) {
return "Values for ".concat(prop, " and ").concat(value, " edges are different. Use Orbit's rtlSpacing utility. https://orbit.kiwi/utilities/right-to-left-languages/#rtlspacing");
};
var errorBasic = "Values for right and left edges are different. Use Orbit's rtl utility. https://orbit.kiwi/utilities/right-to-left-languages";
exports.errorBasic = errorBasic;

@@ -134,3 +130,3 @@

node: node,
message: errorBasic(prop, value.trim())
message: errorBasic
});

@@ -143,3 +139,3 @@ }

node: node,
message: errorBasic(prop, value.trim())
message: errorBasic
});

@@ -146,0 +142,0 @@ }

{
"name": "eslint-plugin-orbit-components",
"description": "Collection of ESLint rules to enforce the best usage practices of @kiwicom/orbit-components",
"version": "0.5.0",
"version": "0.5.1",
"author": "Kiwi.com",

@@ -37,5 +37,5 @@ "main": "dist/index.js",

"devDependencies": {
"@types/eslint": "^7.2.6"
"@types/eslint": "^7.2.10"
},
"gitHead": "ba5ad7bcfb81dc6d0e70b598a5053ee7c4e0eac0"
"gitHead": "1d0d25ba1b6af553afb10adf4ff220965f82d86b"
}
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