@primer/stylelint-config 12.3.3-rc.7590f39 → 12.3.3-rc.c178bc3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +3 -1
- package/package.json +1 -1
- package/plugins/spacing.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,7 +4,9 @@
|
|
|
4
4
|
|
|
5
5
|
### Patch Changes
|
|
6
6
|
|
|
7
|
-
- [#
|
|
7
|
+
- [#218](https://github.com/primer/stylelint-config/pull/218) [`c03be7d`](https://github.com/primer/stylelint-config/commit/c03be7da1126123c079d86e00a2158a913e015f8) Thanks [@jonrohan](https://github.com/jonrohan)! - [Bug fix] Catching values with dots in them
|
|
8
|
+
|
|
9
|
+
* [#217](https://github.com/primer/stylelint-config/pull/217) [`5bb2834`](https://github.com/primer/stylelint-config/commit/5bb28342a6194dfdd4fbf5197682367ea54792b7) Thanks [@jsoref](https://github.com/jsoref)! - Spelling fixes
|
|
8
10
|
|
|
9
11
|
## 12.3.2
|
|
10
12
|
|
package/package.json
CHANGED
package/plugins/spacing.js
CHANGED
|
@@ -76,7 +76,7 @@ module.exports = stylelint.createPlugin(ruleName, (enabled, options = {}, contex
|
|
|
76
76
|
|
|
77
77
|
const valueUnit = valueParser.unit(cleanValue)
|
|
78
78
|
|
|
79
|
-
if (valueUnit && (valueUnit.unit === '' || !/^[0-9]+$/.test(valueUnit.number))) {
|
|
79
|
+
if (valueUnit && (valueUnit.unit === '' || !/^[0-9.]+$/.test(valueUnit.number))) {
|
|
80
80
|
return
|
|
81
81
|
}
|
|
82
82
|
|