Skip to content

Commit 0d26082

Browse files
committed
feat(config): add order/order + change order/properties-order to Concentric-based
Fork from stylelint-config-recess-order to give credit where credit is due.
1 parent 70ab2a6 commit 0d26082

26 files changed

+3211
-4216
lines changed

.changeset/config.json

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,10 @@
11
{
2-
"$schema": "https://unpkg.com/@changesets/[email protected]/schema.json",
3-
"access": "public",
4-
"baseBranch": "main",
5-
"changelog": [
6-
"@zazen/changesets-changelog",
7-
{ "repo": "stormwarning/stylelint-config-recess-order" }
8-
],
9-
"commit": false,
10-
"ignore": [],
11-
"linked": [],
12-
"updateInternalDependencies": "patch"
2+
"$schema": "https://unpkg.com/@changesets/[email protected]/schema.json",
3+
"access": "public",
4+
"baseBranch": "main",
5+
"changelog": ["@zazen/changesets-changelog", { "repo": "@perplex-digital/stylelint-config" }],
6+
"commit": false,
7+
"ignore": [],
8+
"linked": [],
9+
"updateInternalDependencies": "patch"
1310
}

.commitlintrc.mjs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
export default {
2+
extends: ['@commitlint/config-conventional'],
3+
rules: {
4+
'header-max-length': [2, 'always', 150],
5+
'body-case': [0, 'always', 'lower-case'],
6+
'body-max-line-length': [2, 'always', Infinity],
7+
},
8+
};

.editorconfig

Lines changed: 0 additions & 12 deletions
This file was deleted.

.eslintrc.cjs

Lines changed: 0 additions & 3 deletions
This file was deleted.

.github/workflows/main.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@ jobs:
1515
# https://github.com/pnpm/action-setup
1616
- uses: pnpm/action-setup@v4
1717
with:
18-
version: 6
18+
version: latest
1919

2020
# https://github.com/actions/setup-node
21-
- name: Setup Node.js 18.x
21+
- name: Setup Node.js 22.x
2222
uses: actions/setup-node@v4
2323
with:
24-
node-version: 18.x
24+
node-version: 22.x
2525
cache: pnpm
2626

2727
- name: Install dependencies

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,13 @@ jobs:
2222
# https://github.com/pnpm/action-setup
2323
- uses: pnpm/action-setup@v4
2424
with:
25-
version: 6
25+
version: latest
2626

2727
# https://github.com/actions/setup-node
28-
- name: Setup Node.js 18.x
28+
- name: Setup Node.js 22.x
2929
uses: actions/setup-node@v4
3030
with:
31-
node-version: 18.x
31+
node-version: 22.x
3232
cache: pnpm
3333

3434
- name: Install dependencies

.husky/commit-msg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
npx --no -- commitlint --edit "$1"

.husky/pre-commit

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
1-
#!/usr/bin/env sh
2-
31
# Disable hooks in CI.
42
[ -n "$CI" ] && exit 0
53

6-
. "$(dirname -- "$0")/_/husky.sh"
7-
8-
npx lint-staged
4+
npx lint-staged

.prettierrc.mjs

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
export default {
2+
printWidth: 120,
3+
singleQuote: true,
4+
tabWidth: 4,
5+
singleAttributePerLine: true,
6+
endOfLine: 'auto',
7+
overrides: [
8+
{
9+
files: ['*.yml'],
10+
options: {
11+
tabWidth: 2,
12+
},
13+
},
14+
],
15+
};

0 commit comments

Comments
 (0)