12 Commits

Author SHA1 Message Date
a1eff3e087 chore: package cleanup 2025-12-03 21:52:10 +02:00
b0e4e355e8 feat: publish workflow 2025-12-03 21:47:55 +02:00
b6cc005af4 chore(deps): upgrade packages 2025-12-03 21:46:44 +02:00
62a96ad4f8 fix(ci): missing write permission 2025-12-03 21:46:44 +02:00
51c5639c1c chore: cr comments. fixes permissions and imports. 2025-12-03 21:46:44 +02:00
af514ef825 chore: rebuild yarn.lock 2025-12-03 21:46:44 +02:00
67ffa64338 chore(deps): upgrade yarn and packages 2025-12-03 21:46:44 +02:00
93b2c27414 chore(deps): update deps, sort package.json 2025-12-03 21:46:44 +02:00
df19e2e97d chore(deps): update yarn dependencies 2025-12-03 21:46:44 +02:00
14076444b4 chore: .nvmrc
# Conflicts:
#	.nvmrc
2025-12-03 21:46:44 +02:00
fa9dbfc10a fix: bump node version requirement to v22
stylelint-config-recommended-scss@15.0.0: The engine "node" is incompatible with this module. Expected version ">=22".
2025-12-03 21:46:44 +02:00
ad609c6c9a feat(ci): new release flow, linting
# Conflicts:
#	.github/workflows/pr-lint.yml
#	.github/workflows/stale.yml
#	.github/workflows/sync-labels.yml

# Conflicts:
#	yarn.lock
2025-12-03 21:46:39 +02:00
17 changed files with 4068 additions and 311 deletions

View File

@@ -1,6 +1,4 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"github>ivuorinen/renovate-config"
]
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["github>ivuorinen/renovate-config"]
}

View File

@@ -29,18 +29,18 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
- name: Initialize CodeQL
uses: github/codeql-action/init@b20883b0cd1f46c72ae0ba6d1090936928f9fa30 # v4.32.0
uses: github/codeql-action/init@fe4161a26a8629af62121b670040955b330f9af2 # v4.31.6
with:
languages: ${{ matrix.language }}
queries: security-and-quality
- name: Autobuild
uses: github/codeql-action/autobuild@b20883b0cd1f46c72ae0ba6d1090936928f9fa30 # v4.32.0
uses: github/codeql-action/autobuild@fe4161a26a8629af62121b670040955b330f9af2 # v4.31.6
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@b20883b0cd1f46c72ae0ba6d1090936928f9fa30 # v4.32.0
uses: github/codeql-action/analyze@fe4161a26a8629af62121b670040955b330f9af2 # v4.31.6
with:
category: '/language:${{matrix.language}}'

View File

@@ -1,10 +1,8 @@
---
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
name: Lint Code Base
name: Lint PR Code Base
on:
push:
branches: [master, main]
pull_request:
branches: [master, main]
@@ -23,8 +21,17 @@ jobs:
statuses: write
contents: read
packages: read
pull-requests: write
steps:
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Yarn Lock Changes
uses: Simek/yarn-lock-changes@34017425198654c20162a4dfd4f238fbece9636f # v0.12.1
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: Run PR Lint
# https://github.com/ivuorinen/actions
uses: ivuorinen/actions/pr-lint@f98ae7cd7d0feb1f9d6b01de0addbb11414cfc73 # v2026.01.21
uses: ivuorinen/actions/pr-lint@fbbb487332f2b01379192eecb73f7252f1cc54d4 # v2025.11.30

View File

@@ -26,7 +26,7 @@ jobs:
steps:
- name: Run PR Lint
# https://github.com/ivuorinen/actions
uses: ivuorinen/actions/pr-lint@f98ae7cd7d0feb1f9d6b01de0addbb11414cfc73 # v2026.01.21
uses: ivuorinen/actions/pr-lint@a52399cf74eac2b0963591ab2c6c8eb0f7f50b2d # v2025.12.01
publish:
name: Publish
@@ -41,12 +41,12 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
with:
fetch-depth: 0
- name: Setup Node.js Environment
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
with:
always-auth: true
node-version-file: ".nvmrc"
@@ -58,7 +58,7 @@ jobs:
run: npm install -g corepack --force && corepack enable
- name: Cache Node Modules
uses: actions/cache@8b402f58fbc84540c8b491a91e594a4576fec3d7 # v5.0.2
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
id: cache
with:
path: node_modules

View File

@@ -23,4 +23,4 @@ jobs:
issues: write
pull-requests: write
steps:
- uses: ivuorinen/actions/stale@f98ae7cd7d0feb1f9d6b01de0addbb11414cfc73 # v2026.01.21
- uses: ivuorinen/actions/stale@fbbb487332f2b01379192eecb73f7252f1cc54d4 # v2025.11.30

View File

@@ -34,8 +34,8 @@ jobs:
steps:
- name: ⤵️ Checkout Repository
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: ⤵️ Sync Latest Labels Definitions
uses: ivuorinen/actions/sync-labels@f98ae7cd7d0feb1f9d6b01de0addbb11414cfc73 # v2026.01.21
uses: ivuorinen/actions/sync-labels@fbbb487332f2b01379192eecb73f7252f1cc54d4 # v2025.11.30

1
.markdownlintignore Normal file
View File

@@ -0,0 +1 @@
node_modules/

2
.nvmrc
View File

@@ -1 +1 @@
v24
v22

View File

@@ -3,6 +3,7 @@ repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v6.0.0
hooks:
- id: requirements-txt-fixer
- id: detect-private-key
- id: trailing-whitespace
args: [--markdown-linebreak-ext=md]
@@ -11,6 +12,8 @@ repos:
- id: check-executables-have-shebangs
- id: check-shebang-scripts-are-executable
- id: check-symlinks
- id: check-toml
- id: check-xml
- id: check-yaml
args: [--allow-multiple-documents]
- id: end-of-file-fixer
@@ -20,18 +23,41 @@ repos:
args: [--autofix, --no-sort-keys]
- repo: https://github.com/igorshubovych/markdownlint-cli
rev: v0.47.0
rev: v0.46.0
hooks:
- id: markdownlint
args: [-c, .markdownlint.json, --fix]
- repo: https://github.com/adrienverge/yamllint
rev: v1.38.0
rev: v1.37.1
hooks:
- id: yamllint
- repo: https://github.com/scop/pre-commit-shfmt
rev: v3.11.0-1
hooks:
- id: shfmt
- repo: https://github.com/koalaman/shellcheck-precommit
rev: v0.11.0
hooks:
- id: shellcheck
args: ['--severity=warning']
- repo: https://github.com/rhysd/actionlint
rev: v1.7.10
rev: v1.7.9
hooks:
- id: actionlint
args: ['-shellcheck=']
- repo: https://github.com/renovatebot/pre-commit-hooks
rev: 42.27.0
hooks:
- id: renovate-config-validator
- repo: https://github.com/bridgecrewio/checkov.git
rev: '3.2.495'
hooks:
- id: checkov
args:
- '--quiet'

1
.prettierrc.json Normal file
View File

@@ -0,0 +1 @@
"@ivuorinen/prettier-config"

3
.releaserc.json Normal file
View File

@@ -0,0 +1,3 @@
{
"extends": ["@ivuorinen/semantic-release-config"]
}

View File

@@ -1,5 +1,3 @@
{
"extends": [
"@ivuorinen/stylelint-config/css"
]
}
"extends": ["@ivuorinen/stylelint-config/css"]
}

View File

@@ -1,114 +1,63 @@
# Change Log
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [0.3.18](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/stylelint-config@0.3.17...@ivuorinen/stylelint-config@0.3.18) (2025-05-11)
### Bug Fixes
* **deps:** update stylelint-config-recommended-scss to 15.0.0 ([#356](https://github.com/ivuorinen/base-configs/issues/356)) ([8e9d21c](https://github.com/ivuorinen/base-configs/commit/8e9d21c3acca6c203453edd5c2bd628898760dde))
- **deps:** update stylelint-config-recommended-scss to 15.0.0 ([#356](https://github.com/ivuorinen/base-configs/issues/356)) ([8e9d21c](https://github.com/ivuorinen/base-configs/commit/8e9d21c3acca6c203453edd5c2bd628898760dde))
## [0.3.17](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/stylelint-config@0.3.16...@ivuorinen/stylelint-config@0.3.17) (2025-04-21)
### Bug Fixes
* **deps:** update stylelint-order to 7.0.0 ([#353](https://github.com/ivuorinen/base-configs/issues/353)) ([e6f1a12](https://github.com/ivuorinen/base-configs/commit/e6f1a12eaa46f0577e42c17e14d4fa9cef35b780))
- **deps:** update stylelint-order to 7.0.0 ([#353](https://github.com/ivuorinen/base-configs/issues/353)) ([e6f1a12](https://github.com/ivuorinen/base-configs/commit/e6f1a12eaa46f0577e42c17e14d4fa9cef35b780))
## [0.3.16](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/stylelint-config@0.3.15...@ivuorinen/stylelint-config@0.3.16) (2025-04-11)
### Bug Fixes
* **deps:** update stylelint-config-standard to 38.0.0 ([#350](https://github.com/ivuorinen/base-configs/issues/350)) ([aec3f7c](https://github.com/ivuorinen/base-configs/commit/aec3f7cf78715c39dc206e90bd9f4bfece62b724))
- **deps:** update stylelint-config-standard to 38.0.0 ([#350](https://github.com/ivuorinen/base-configs/issues/350)) ([aec3f7c](https://github.com/ivuorinen/base-configs/commit/aec3f7cf78715c39dc206e90bd9f4bfece62b724))
## 0.3.15 (2025-02-23)
**Note:** Version bump only for package @ivuorinen/stylelint-config
## 0.3.14 (2025-02-23)
### Bug Fixes
* **deps:** update globals to 16.0.0 ([#342](https://github.com/ivuorinen/base-configs/issues/342)) ([04b333b](https://github.com/ivuorinen/base-configs/commit/04b333b445b6beb4344d2f9102bb5d3dc72ae26a))
- **deps:** update globals to 16.0.0 ([#342](https://github.com/ivuorinen/base-configs/issues/342)) ([04b333b](https://github.com/ivuorinen/base-configs/commit/04b333b445b6beb4344d2f9102bb5d3dc72ae26a))
## 0.3.13 (2025-01-17)
### Bug Fixes
* **deps:** update eslint-config-prettier to 10.0.1 ([#324](https://github.com/ivuorinen/base-configs/issues/324)) ([8a0d38e](https://github.com/ivuorinen/base-configs/commit/8a0d38e173df40b771d42b694a24145559200506))
- **deps:** update eslint-config-prettier to 10.0.1 ([#324](https://github.com/ivuorinen/base-configs/issues/324)) ([8a0d38e](https://github.com/ivuorinen/base-configs/commit/8a0d38e173df40b771d42b694a24145559200506))
## [0.3.12](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/stylelint-config@0.3.11...@ivuorinen/stylelint-config@0.3.12) (2025-01-16)
### Bug Fixes
* **deps:** update stylelint-config-standard to 37.0.0 ([#323](https://github.com/ivuorinen/base-configs/issues/323)) ([6a5b8ef](https://github.com/ivuorinen/base-configs/commit/6a5b8eff0c59f698b45eb431918fddeca6db4ff9))
- **deps:** update stylelint-config-standard to 37.0.0 ([#323](https://github.com/ivuorinen/base-configs/issues/323)) ([6a5b8ef](https://github.com/ivuorinen/base-configs/commit/6a5b8eff0c59f698b45eb431918fddeca6db4ff9))
## [0.3.11](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/stylelint-config@0.3.10...@ivuorinen/stylelint-config@0.3.11) (2024-12-10)
**Note:** Version bump only for package @ivuorinen/stylelint-config
## [0.3.10](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/stylelint-config@0.3.9...@ivuorinen/stylelint-config@0.3.10) (2024-12-10)
**Note:** Version bump only for package @ivuorinen/stylelint-config
## [0.3.9](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/stylelint-config@0.3.8...@ivuorinen/stylelint-config@0.3.9) (2024-12-10)
**Note:** Version bump only for package @ivuorinen/stylelint-config
## [0.3.8](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/stylelint-config@0.3.7...@ivuorinen/stylelint-config@0.3.8) (2024-12-09)
**Note:** Version bump only for package @ivuorinen/stylelint-config
## 0.3.7 (2024-11-25)
**Note:** Version bump only for package @ivuorinen/stylelint-config
@@ -143,7 +92,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
**Note:** Version bump only for package @ivuorinen/stylelint-config
# [0.3.0](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/stylelint-config@0.2.37...@ivuorinen/stylelint-config@0.3.0) (2024-08-21)
## [0.3.0](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/stylelint-config@0.2.37...@ivuorinen/stylelint-config@0.3.0) (2024-08-21)
- feat!: module & commonjs in stylelint ([e4aed31](https://github.com/ivuorinen/base-configs/commit/e4aed31ef984188923eaedf6d8cff8ab36ecf924))
@@ -365,7 +314,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
**Note:** Version bump only for package @ivuorinen/stylelint-config
# [0.2.0](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/stylelint-config@0.1.33...@ivuorinen/stylelint-config@0.2.0) (2023-10-25)
## [0.2.0](https://github.com/ivuorinen/base-configs/compare/@ivuorinen/stylelint-config@0.1.33...@ivuorinen/stylelint-config@0.2.0) (2023-10-25)
### Features

View File

@@ -8,7 +8,7 @@
- [Installation](#installation)
- [Usage](#usage)
- [CSS <sub><sup>(Default)</sup></sub>](#css-subsupdefaultsupsub)
- [CSS (Default)](#css-default)
- [SCSS](#scss)
- [Extending the config](#extending-the-config)
- [Documentations](#documentations)
@@ -40,7 +40,7 @@ After installing it, a _`.stylelintrc.json`_ file will be created automatically
This package provides configuration for CSS and SCSS, you can choose which one you want to extend:
### CSS <sub><sup>(Default)</sup></sub>
### CSS (Default)
```json
{

View File

@@ -1,4 +1,4 @@
import ivuorinenConfig from '@ivuorinen/eslint-config';
import ivuorinenConfig from '@ivuorinen/eslint-config'
export default [
...ivuorinenConfig,
@@ -9,4 +9,4 @@ export default [
// "no-unused-vars": "warn"
}
}
];
]

View File

@@ -1,66 +1,76 @@
{
"$schema": "https://www.schemastore.org/package.json",
"name": "@ivuorinen/stylelint-config",
"version": "0.3.19",
"type": "module",
"description": "ivuorinen's shareable configuration for stylelint.",
"author": {
"name": "Ismo Vuorinen",
"url": "https://github.com/ivuorinen"
},
"bugs": {
"url": "https://github.com/ivuorinen/base-configs-stylelint/issues"
},
"engines": {
"node": ">=20"
},
"main": "css/index.cjs",
"module": "css/index.mjs",
"exports": {
".": {
"import": "./css/index.mjs",
"require": "./css/index.cjs"
},
"./css": {
"import": "./scss/index.mjs",
"require": "./scss/index.cjs"
},
"./scss": {
"import": "./scss/index.mjs",
"require": "./scss/index.cjs"
}
},
"files": [
"css/*",
"scss/*",
"scripts/*"
],
"homepage": "https://github.com/ivuorinen/base-configs-stylelint#readme",
"keywords": [
"stylelint-config",
"stylelint",
"config",
"ivuorinen"
],
"license": "MIT",
"publishConfig": {
"access": "public"
"homepage": "https://github.com/ivuorinen/base-configs-stylelint#readme",
"bugs": {
"url": "https://github.com/ivuorinen/base-configs-stylelint/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/ivuorinen/base-configs-stylelint.git"
},
"license": "MIT",
"author": {
"name": "Ismo Vuorinen",
"url": "https://github.com/ivuorinen"
},
"maintainers": [
{
"name": "Ismo Vuorinen",
"url": "https://github.com/ivuorinen"
}
],
"type": "module",
"exports": {
".": {
"import": "./css/index.mjs",
"require": "./css/index.cjs"
},
"./css": {
"import": "./css/index.mjs",
"require": "./css/index.cjs"
},
"./scss": {
"import": "./scss/index.mjs",
"require": "./scss/index.cjs"
}
},
"main": "css/index.cjs",
"module": "css/index.mjs",
"files": [
"css/*",
"scss/*",
"scripts/*"
],
"scripts": {
"postinstall": "node scripts/postinstall.cjs"
},
"dependencies": {
"@ivuorinen/config-checker": "^2.1.1",
"postcss": "^8.5.6",
"stylelint": "^17.0.0",
"stylelint": "^16.26.1",
"stylelint-config-recommended-scss": "^16.0.2",
"stylelint-config-standard": "^39.0.1",
"stylelint-order": "^7.0.0",
"stylelint-scss": "^6.13.0"
"stylelint-scss": "^6.12.1"
},
"gitHead": "23d15f15743fb59c1dbe658615ef2ed51c54d230",
"packageManager": "yarn@4.12.0"
"devDependencies": {
"@ivuorinen/semantic-release-config": "^0.3.18"
},
"packageManager": "yarn@4.12.0",
"engines": {
"node": ">=22"
},
"publishConfig": {
"access": "public"
},
"gitHead": "23d15f15743fb59c1dbe658615ef2ed51c54d230"
}

4124
yarn.lock

File diff suppressed because it is too large Load Diff