Skip to content

Commit 37da962

Browse files
committed
fix: update eslint configuration and dependencies
- Added "packem.config.ts" to the list of ignored files in eslint configuration. - Changed the commitlint-config install script from bin.mjs to bin.js. - Upgraded @anolilab/eslint-config to version 16.2.23. - Updated @visulima/packem to version 2.0.0-alpha.18. - Updated esbuild to version 0.25.9. - Updated eslint to version 9.34.0. - Incremented lint-staged to version 16.1.6.
1 parent f755ccc commit 37da962

File tree

4 files changed

+11
-11
lines changed

4 files changed

+11
-11
lines changed

packages/lint-staged-config/__tests__/index.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ import {
88

99
import { defineConfig, eslintExtensions } from "../src";
1010

11+
// eslint-disable-next-line vitest/hoisted-apis-on-top
1112
const { existsSyncMock, findPackageManagerSyncMock, parsePackageJsonMock } = vi.hoisted(() => {
1213
return {
1314
// eslint-disable-next-line vitest/require-mock-type-parameters
@@ -36,7 +37,6 @@ vi.mock("node:fs", async () => {
3637
};
3738
});
3839

39-
// eslint-disable-next-line vitest/valid-title
4040
describe(defineConfig, () => {
4141
beforeEach(() => {
4242
vi.resetAllMocks();

packages/lint-staged-config/eslint.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { createConfig, getFilesGlobs } from "@anolilab/eslint-config";
22

33
export default createConfig({
4-
ignores: ["**/__fixtures__"],
4+
ignores: ["**/__fixtures__", "packem.config.ts"],
55
}, {
66
files: ["./README.md"],
77
rules: {

packages/lint-staged-config/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
}
6666
},
6767
"bin": {
68-
"lint-stage-config:install": "./dist/bin.mjs"
68+
"lint-stage-config:install": "./dist/bin.js"
6969
},
7070
"files": [
7171
"CHANGELOG.md",
@@ -96,12 +96,12 @@
9696
"@arethetypeswrong/cli": "^0.18.2",
9797
"@total-typescript/ts-reset": "^0.6.1",
9898
"@types/shell-quote": "^1.7.5",
99-
"@visulima/packem": "^1.28.2",
99+
"@visulima/packem": "2.0.0-alpha.18",
100100
"@vitest/coverage-v8": "^3.2.4",
101-
"esbuild": "^0.25.8",
102-
"eslint": "^9.32.0",
101+
"esbuild": "^0.25.9",
102+
"eslint": "^9.34.0",
103103
"husky": "^9.1.7",
104-
"lint-staged": "^16.1.4",
104+
"lint-staged": "^16.1.6",
105105
"rimraf": "^6.0.1",
106106
"semantic-release": "^24.2.7",
107107
"type-fest": "^4.41.0",

packages/lint-staged-config/packem.config.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ export default defineConfig({
99
license: {
1010
path: "./LICENSE.md",
1111
},
12-
node10Compatibility: {
13-
typeScriptVersion: ">=5.0",
14-
writeToPackageJson: true,
15-
},
12+
},
13+
node10Compatibility: {
14+
typeScriptVersion: ">=5.0",
15+
writeToPackageJson: true,
1616
},
1717
transformer,
1818
});

0 commit comments

Comments
 (0)