Skip to content

Commit

Permalink
Removing no-unsupported-browser-features and replacing with browser-c…
Browse files Browse the repository at this point in the history
…ompat (#500)

* Removing no-unsupported-browser-features and replacing with browser-compat

* Create cold-beers-warn.md
  • Loading branch information
jonrohan authored Oct 8, 2024
1 parent 683c3f2 commit e0d5847
Show file tree
Hide file tree
Showing 4 changed files with 1,720 additions and 1,287 deletions.
5 changes: 5 additions & 0 deletions .changeset/cold-beers-warn.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@primer/stylelint-config": patch
---

Removing no-unsupported-browser-features and replacing with browser-compat
13 changes: 8 additions & 5 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export default {
reportNeedlessDisables: true,
plugins: [
'stylelint-value-no-unknown-custom-properties',
'stylelint-no-unsupported-browser-features',
'stylelint-browser-compat',
'stylelint-order',
borders,
boxShadow,
Expand Down Expand Up @@ -79,13 +79,16 @@ export default {
'no-invalid-position-at-import-rule': [true, {ignoreAtRules: ['use']}],
'number-max-precision': null,
'order/properties-order': propertyOrder,
'plugin/no-unsupported-browser-features': [
'plugin/browser-compat': [
true,
{
severity: 'warning',
ignore: ['css-nesting'],
ignorePartialSupport: true,
browsers,
allow: {
flagged: false,
partialImplementation: true,
prefix: true,
},
browserslist: browsers,
},
],
'primer/borders': true,
Expand Down
Loading

0 comments on commit e0d5847

Please sign in to comment.