Skip to content

Commit

Permalink
Merge pull request #169 from showbie/SOC-3505/update-stylelint-config…
Browse files Browse the repository at this point in the history
…-property-sort-order-smacss-6-3-0-to-fix-npm-warn-ebadengine

Soc 3505/update stylelint config property sort order smacss 6 3 0 to fix npm warn ebadengine
  • Loading branch information
RobinPayne committed Dec 18, 2023
2 parents f13116d + 9a0cc15 commit 447c3a2
Show file tree
Hide file tree
Showing 7 changed files with 3,919 additions and 5,036 deletions.
5 changes: 5 additions & 0 deletions .changeset/sixty-eagles-pay.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@showbie/stylelint-config': major
---

This release updates stylelint in a major way, so that it can run properly under node 18. To use this version update to node 18!
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ jobs:
fetch-depth: 0

# https://github.com/actions/setup-node/
- name: Setup Node.js 15.x
uses: actions/setup-node@v2.4.0
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 15.x
node-version-file: '.nvmrc'
registry-url: https://npm.pkg.github.com

# Create a temp .npmrc file so changesets doesn't use its default.
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
node_modules/
.idea/
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
lts/hydrogen
2 changes: 2 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
module.exports = {
plugins: ['stylelint-order', 'stylelint-scss'],
extends: [
'stylelint-config-standard',
'stylelint-config-sass-guidelines',
'stylelint-config-property-sort-order-smacss',
],
rules: {
' alpha-value-notation': null,
'function-parentheses-newline-inside': 'always-multi-line',
'function-parentheses-space-inside': 'never-single-line',
'selector-class-pattern': ['^[a-z0-9\\-_]+$'],
Expand Down

0 comments on commit 447c3a2

Please sign in to comment.