Skip to content

Commit 0f4c1b4

Browse files
chore(deps): update dependency @somehow-digital/eslint-config to v4 (#352)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Thomas Deinhamer <code@thasmo.dev>
1 parent 7c3a14d commit 0f4c1b4

File tree

11 files changed

+2220
-334
lines changed

11 files changed

+2220
-334
lines changed

.github/workflows/release.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@ jobs:
2929
- name: install node
3030
uses: actions/setup-node@v4
3131
with:
32-
cache: 'pnpm'
32+
cache: pnpm
3333
check-latest: true
34-
node-version-file: '.nvmrc'
34+
node-version-file: .nvmrc
3535
- name: install dependencies
3636
run: pnpm install
3737
- name: release version

.github/workflows/source.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@ jobs:
2424
- name: install node
2525
uses: actions/setup-node@v4
2626
with:
27-
cache: 'pnpm'
27+
cache: pnpm
2828
check-latest: true
29-
node-version-file: '.nvmrc'
29+
node-version-file: .nvmrc
3030
- name: install dependencies
3131
run: pnpm install
3232
- name: lint source

.github/workflows/title.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ jobs:
2121
- name: install node
2222
uses: actions/setup-node@v4
2323
with:
24-
cache: 'pnpm'
24+
cache: pnpm
2525
check-latest: true
26-
node-version-file: '.nvmrc'
26+
node-version-file: .nvmrc
2727
- name: install dependencies
2828
run: pnpm install
2929
- name: lint title

.prettierignore

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

README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,14 @@ pnpm add -D @somehow-digital/commitlint-plugin-spellcheck
1414

1515
```js
1616
export default {
17-
rules: {
18-
'spellcheck/header': [2, 'always'],
19-
'spellcheck/body': [2, 'always'],
20-
'spellcheck/footer': [2, 'always'],
21-
'spellcheck/scope': [2, 'always'],
22-
'spellcheck/subject': [2, 'always'],
23-
'spellcheck/type': [2, 'always'],
24-
},
25-
plugins: ['@somehow-digital/commitlint-plugin-spellcheck'],
17+
rules: {
18+
'spellcheck/header': [2, 'always'],
19+
'spellcheck/body': [2, 'always'],
20+
'spellcheck/footer': [2, 'always'],
21+
'spellcheck/scope': [2, 'always'],
22+
'spellcheck/subject': [2, 'always'],
23+
'spellcheck/type': [2, 'always'],
24+
},
25+
plugins: ['@somehow-digital/commitlint-plugin-spellcheck'],
2626
};
2727
```

eslint.config.js

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
import config from '@somehow-digital/eslint-config/basic';
1+
import config from '@somehow-digital/eslint-config';
22

3-
export default [
4-
...config,
5-
{
6-
ignores: ['**/.*/'],
7-
},
8-
];
3+
export default config();

lint-staged.config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
export default {
2-
'**/*.{js,jsx,ts,tsx}': ['eslint'],
3-
'**/*.{md,json,yml,yaml}': ['prettier --check', 'cspell --no-progress --no-must-find-files'],
2+
'**/*.{*,__eslint__}': ['eslint'],
3+
'**/*.{*,__cspell__}': ['cspell --no-progress --no-must-find-files'],
44
};

package.json

Lines changed: 18 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,35 @@
11
{
22
"name": "@somehow-digital/commitlint-plugin-spellcheck",
3-
"description": "Spellcheck commit messages via `cspell`.",
4-
"version": "1.0.1",
53
"type": "module",
4+
"version": "1.0.1",
5+
"packageManager": "pnpm@10.13.1",
6+
"description": "Spellcheck commit messages via `cspell`.",
67
"license": "MIT",
78
"repository": "somehow-digital/commitlint-plugin-spellcheck",
8-
"packageManager": "pnpm@10.13.1",
99
"keywords": [
1010
"commitlint",
1111
"commitlintplugin"
1212
],
13+
"exports": {
14+
".": "./src/index.js"
15+
},
16+
"files": [
17+
"./src/"
18+
],
1319
"engines": {
1420
"node": ">=22",
1521
"pnpm": ">=10"
1622
},
1723
"scripts": {
1824
"prepare": "husky",
1925
"lint": "concurrently --group --prefix-colors 'auto' 'pnpm:lint:*'",
20-
"lint:eslint": "eslint '**/*.{js,jsx,ts,tsx}'",
21-
"lint:prettier": "prettier --check '**/*.{md,json,yml,yaml}'",
22-
"lint:cspell": "cspell --no-progress --no-summary --no-must-find-files '**/*.*'",
26+
"lint:eslint": "eslint .",
27+
"lint:cspell": "cspell --no-progress --no-summary --no-must-find-files .",
2328
"lint:knip": "knip --no-progress",
2429
"fix": "concurrently --group --prefix-colors 'auto' 'pnpm:fix:*'",
25-
"fix:eslint": "eslint --fix '**/*.{js,jsx,ts,tsx}'",
26-
"fix:prettier": "prettier --write '**/*.{md,json,yml,yaml}'",
30+
"fix:eslint": "eslint --fix .",
2731
"fix:knip": "knip --no-progress --fix"
2832
},
29-
"exports": {
30-
".": "./src/index.js"
31-
},
32-
"files": [
33-
"./src/"
34-
],
3533
"peerDependencies": {
3634
"cspell": "^8.8.1 || ^9.0.0"
3735
},
@@ -42,8 +40,7 @@
4240
"@commitlint/cli": "^19.3.0",
4341
"@somehow-digital/commitlint-config": "^1.0.0",
4442
"@somehow-digital/cspell-dictionary": "^2.0.0",
45-
"@somehow-digital/eslint-config": "^3.0.0",
46-
"@somehow-digital/prettier-config": "^3.0.0",
43+
"@somehow-digital/eslint-config": "^4.0.0",
4744
"@somehow-digital/semantic-release-config": "^2.0.0",
4845
"@types/node": "^22.9.0",
4946
"concurrently": "^9.0.0",
@@ -52,7 +49,11 @@
5249
"husky": "^9.0.11",
5350
"knip": "^5.16.0",
5451
"lint-staged": "^16.0.0",
55-
"prettier": "^3.2.5",
5652
"semantic-release": "^24.2.0"
53+
},
54+
"pnpm": {
55+
"onlyBuiltDependencies": [
56+
"oxc-resolver"
57+
]
5758
}
5859
}

0 commit comments

Comments
 (0)