Skip to content

Commit 0d1f267

Browse files
committed
release: 1.0.9.
1 parent 859b744 commit 0d1f267

7 files changed

+2799
-4109
lines changed

Diff for: .eslintrc.json

-22
This file was deleted.

Diff for: eslint.config.js

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
import { ecmascript, vitest } from '@gcoguiec/eslint-config';
2+
3+
export default [
4+
...(await ecmascript()),
5+
...(await vitest({
6+
overrides: {
7+
'vitest/expect-expect': 'off'
8+
}
9+
}))
10+
];

Diff for: index.spec.mjs renamed to index.spec.js

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import { expect, describe, it } from 'vitest';
12
import lint from '@commitlint/lint';
23

34
import config from './index.cjs';

Diff for: jest.config.mjs

-7
This file was deleted.

Diff for: package.json

+19-18
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@gcoguiec/commitlint-config",
3-
"version": "1.0.8",
3+
"version": "1.0.9",
44
"description": "gcoguiec's commitlint config",
55
"author": "Guillaume 'Yugo' Coguiec <[email protected]> (https://github.com/gcoguiec/)",
66
"license": "BSD-2-Clause",
@@ -23,39 +23,40 @@
2323
"scripts": {
2424
"fmt": "prettier --write \"./**/*.{js,cjs,json,md}\"",
2525
"fmt:check": "prettier --list-different \"./**/*.{js,cjs,json,md}\"",
26-
"lint": "DEBUG=eslint:cli-engine eslint . --ext .js,.cjs,.mjs",
26+
"lint": "eslint .",
2727
"lint:fix": "pnpm lint --fix",
2828
"lint:conflicts": "npx eslint-config-prettier .eslintrc.cjs",
2929
"precommit": "pnpm lint-staged",
30-
"prepare": "husky install",
30+
"prepare": "husky || true",
3131
"prepush": "pnpm fmt:check",
3232
"pub": "pnpm publish --access public",
3333
"spellcheck": "cspell --config=.cspell.json \"**/*.{md,js,cjs,mjs}\"",
34-
"test": "NODE_OPTIONS=--experimental-vm-modules jest"
34+
"test": "vitest run"
3535
},
3636
"devDependencies": {
37-
"@commitlint/cli": "^19.0.3",
38-
"@commitlint/lint": "^19.0.3",
39-
"@gcoguiec/eslint-config-base": "^1.0.8",
40-
"cspell": "^8.6.0",
41-
"eslint": "^8.57.0",
37+
"@commitlint/cli": "^19.3.0",
38+
"@commitlint/lint": "^19.2.2",
39+
"@gcoguiec/eslint-config": "^1.1.2",
40+
"cspell": "^8.8.1",
41+
"eslint": "^9.2.0",
4242
"eslint-config-prettier": "^9.1.0",
43-
"eslint-plugin-import": "^2.29.1",
44-
"eslint-plugin-jest": "^27.9.0",
45-
"eslint-plugin-promise": "^6.1.1",
43+
"eslint-plugin-import-x": "^0.5.0",
44+
"eslint-plugin-perfectionist": "^2.10.0",
45+
"eslint-plugin-vitest": "^0.5.4",
4646
"husky": "^9.0.11",
47-
"jest": "^29.7.0",
4847
"lint-staged": "^15.2.2",
49-
"prettier": "^3.2.5"
48+
"prettier": "^3.2.5",
49+
"tslib": "^2.6.2",
50+
"vitest": "^1.6.0"
5051
},
5152
"devEngines": {
52-
"node": ">=21"
53+
"node": ">=22"
5354
},
5455
"volta": {
55-
"node": "21.1.0",
56-
"pnpm": "8.10.2"
56+
"node": "22.1.0",
57+
"pnpm": "9.1.0"
5758
},
58-
"packageManager": "pnpm@8.10.2",
59+
"packageManager": "pnpm@9.1.0",
5960
"pnpm": {
6061
"overrides": {
6162
"semver@<5.7.2": ">=5.7.2",

0 commit comments

Comments
 (0)