Skip to content
This repository has been archived by the owner on Nov 10, 2023. It is now read-only.

Commit

Permalink
feat: add stylelint-declaration-block-no-ignored-properties plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-lit committed Feb 4, 2021
1 parent 165f67e commit 164a4ac
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 0 deletions.
1 change: 1 addition & 0 deletions .stylelintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ module.exports = {
extends: [
'stylelint-config-standard',
require.resolve('./plugins/a11y.js'),
require.resolve('./plugins/declaration-block-no-ignored-properties.js'),
require.resolve('./plugins/high-performance-animation.js'),
require.resolve('./plugins/order.js'),
require.resolve('./plugins/scss.js'),
Expand Down
23 changes: 23 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
"stylelint-config-idiomatic-order": "^8.1.0",
"stylelint-config-prettier": "^8.0.2",
"stylelint-config-standard": "^20.0.0",
"stylelint-declaration-block-no-ignored-properties": "^2.3.0",
"stylelint-high-performance-animation": "^1.5.2",
"stylelint-order": "^4.1.0",
"stylelint-prettier": "^1.1.2",
Expand Down
10 changes: 10 additions & 0 deletions plugins/declaration-block-no-ignored-properties.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
/**
* @see [stylelint-declaration-block-no-ignored-properties](https://github.com/kristerkari/stylelint-declaration-block-no-ignored-properties)
*/
module.exports = {
plugins: ['stylelint-declaration-block-no-ignored-properties'],

rules: {
'plugin/declaration-block-no-ignored-properties': true,
},
};

0 comments on commit 164a4ac

Please sign in to comment.