Skip to content

Commit

Permalink
Update stylelintrc rules to match air-light 9.4.6-dev
Browse files Browse the repository at this point in the history
  • Loading branch information
ronilaukkarinen committed Nov 25, 2024
1 parent 359f783 commit 3992b60
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 18 deletions.
7 changes: 3 additions & 4 deletions .stylelintrc
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"rem-over-px/rem-over-px": [
true,
{
"fontSize": 10,
"fontSize": 16,
"ignore": [
"-4px",
"-3px",
Expand Down Expand Up @@ -91,8 +91,7 @@
"no-duplicate-selectors": true,
"length-zero-no-unit": true,
"font-weight-notation": "numeric",
"number-leading-zero": "never",
"number-max-precision": 3,
"number-max-precision": 4,
"selector-class-pattern": null,
"selector-max-class": 4,
"selector-max-combinators": 3,
Expand Down Expand Up @@ -207,4 +206,4 @@
"background"
]
}
}
}
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
### 2.6.0: 2024-11-25

* Remove postcss plugins postcss-minify-font-values and postcss-discard-unused
* Update stylelintrc rules to match air-light 9.4.6-dev

### 2.5.9: 2024-10-25

* Remove declaration-property-unit-allowed-list
Expand Down
4 changes: 0 additions & 4 deletions gulp/tasks/devstyles.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,8 @@ const autoprefixer = require('autoprefixer');
const calcFunction = require('postcss-calc');
const colormin = require('postcss-colormin');
const discardEmpty = require('postcss-discard-empty');
const discardUnused = require('postcss-discard-unused');
const mergeLonghand = require('postcss-merge-longhand');
const mergeAdjacentRules = require('postcss-merge-rules');
const minifyFontValues = require('postcss-minify-font-values');
const minifyGradients = require('postcss-minify-gradients');
const normalizePositions = require('postcss-normalize-positions');
const normalizeUrl = require('postcss-normalize-url');
Expand All @@ -40,10 +38,8 @@ function devstyles() {
colormin(),
calcFunction(),
discardEmpty(),
discardUnused(),
mergeLonghand(),
mergeAdjacentRules(),
minifyFontValues(),
minifyGradients(),
normalizePositions(),
normalizeUrl(),
Expand Down
4 changes: 0 additions & 4 deletions gulp/tasks/prodstyles.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,8 @@ const cssnano = require('cssnano');
const calcFunction = require('postcss-calc');
const colormin = require('postcss-colormin');
const discardEmpty = require('postcss-discard-empty');
const discardUnused = require('postcss-discard-unused');
const mergeLonghand = require('postcss-merge-longhand');
const mergeAdjacentRules = require('postcss-merge-rules');
const minifyFontValues = require('postcss-minify-font-values');
const minifyGradients = require('postcss-minify-gradients');
const normalizePositions = require('postcss-normalize-positions');
const normalizeUrl = require('postcss-normalize-url');
Expand All @@ -34,10 +32,8 @@ function prodstyles() {
colormin(),
calcFunction(),
discardEmpty(),
discardUnused(),
mergeLonghand(),
mergeAdjacentRules(),
minifyFontValues(),
minifyGradients(),
normalizePositions(),
normalizeUrl(),
Expand Down
10 changes: 4 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "PROJECTNAME",
"version": "2.5.9",
"version": "2.6.0",
"description": "PROJECTNAME powered by dudestack + devpackages",
"author": "Digitoimisto Dude Oy (moro@dude.fi)",
"devDependencies": {
Expand Down Expand Up @@ -42,28 +42,26 @@
"postcss-calc": "^8.2.4",
"postcss-colormin": "^5.3.0",
"postcss-discard-empty": "^5.1.1",
"postcss-discard-unused": "^5.1.0",
"postcss-merge-longhand": "^5.1.7",
"postcss-merge-rules": "^5.1.3",
"postcss-minify-font-values": "^5.1.0",
"postcss-minify-gradients": "^5.1.1",
"postcss-normalize-positions": "^5.1.1",
"postcss-normalize-url": "^5.1.0",
"postcss-scss": "^4.0.6",
"postcss-unique-selectors": "^5.1.1",
"postcss-zindex": "^5.1.0",
"sass": "^1.58.1",
"stylelint": "^15.1.0",
"stylelint": "^15.6.2",
"stylelint-config-recommended": "^10.0.1",
"stylelint-config-recommended-scss": "^9.0.1",
"stylelint-config-standard": "^30.0.1",
"stylelint-config-standard-scss": "^7.0.1",
"stylelint-order": "^6.0.2",
"stylelint-rem-over-px": "^1.0.0",
"stylelint-rem-over-px": "^1.0.2",
"stylelint-scss": "^4.4.0",
"terser-webpack-plugin": "^5.3.6",
"vinyl-named": "^1.1.0",
"webpack": "^5.75.0",
"webpack-stream": "^7.0.0"
}
}
}

0 comments on commit 3992b60

Please sign in to comment.