eslint-plugin-orbit-components
Advanced tools
Comparing version 0.5.0 to 0.5.1
@@ -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 @@ |
@@ -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" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
64859
932