Skip to content

Commit 9115d11

Browse files
committed
disable rule by default
1 parent dd2f701 commit 9115d11

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Within your [stylelint config object](http://stylelint.io/user-guide/configurati
1717
```json
1818
{
1919
"extends": ["@primer/stylelint-config"],
20-
"rules": { }
20+
"rules": {}
2121
}
2222
```
2323

@@ -36,7 +36,7 @@ Primer Stylelint Config extends the [stylelint-config-standard](https://github.c
3636
- [primer/borders](./plugins/#primerborders): Enforces the use of certain variables for border properties.
3737
- [primer/box-shadow](./plugins/#primerbox-shadow): Enforces the use of certain variables for `box-shadow`.
3838
- [primer/responsive-widths](./plugins/#primerresponsive-widths): Errors on `width` and `min-width` that is larger than the minimum browser size supported. `320px`
39-
- [primer/namespace-spacing](./plugins/#primernamespace-spacing): Enforces the use of `pr-` namespace prefix for spacing utility classes like margin and padding.
39+
- [primer/namespace-spacing](./plugins/#primernamespace-spacing): Enforces the use of `pr-` namespace prefix for spacing utility classes like margin and padding. (Disabled by default)
4040

4141
## License
4242

index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@ export default {
103103
'primer/typography': true,
104104
'primer/no-display-colors': true,
105105
'primer/namespace-spacing': true,
106+
'primer/namespace-spacing': null,
106107
'property-no-unknown': [
107108
true,
108109
{

0 commit comments

Comments
 (0)