Skip to content

Commit b8b950e

Browse files
authored
chore: update .gitignore and eslint.config.js (#221)
1 parent 5106e93 commit b8b950e

File tree

4 files changed

+101
-71
lines changed

4 files changed

+101
-71
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ versions.json
1313
.cache
1414
/packages/**/node_modules
1515
/.vscode
16+
*.code-workspace
17+
.cursor
1618
.sublimelinterrc
1719
.svn
1820
/credentials.json

eslint.config.js

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
"use strict";
22

3+
const { defineConfig, globalIgnores } = require("eslint/config");
34
const eslintConfigESLint = require("eslint-config-eslint/cjs");
45
const globals = require("globals");
56

6-
module.exports = [
7-
...eslintConfigESLint,
8-
{
9-
ignores: ["coverage/"]
10-
},
7+
module.exports = defineConfig([
8+
globalIgnores(["coverage/"]),
9+
eslintConfigESLint,
1110
{
1211
rules: {
1312
camelcase: ["error", { properties: "never" }],
@@ -30,4 +29,4 @@ module.exports = [
3029
"n/no-unpublished-require": "off"
3130
}
3231
}
33-
];
32+
]);

package-lock.json

Lines changed: 92 additions & 63 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,10 @@
2727
"probot": "^13.4.1"
2828
},
2929
"devDependencies": {
30-
"eslint": "^9.18.0",
30+
"eslint": "^9.28.0",
3131
"eslint-config-eslint": "^11.0.0",
3232
"fetch-mock": "^12.2.0",
33-
"globals": "^13.24.0",
33+
"globals": "^16.2.0",
3434
"jest": "^29.7.0",
3535
"lint-staged": "^13.2.1",
3636
"yorkie": "^2.0.0"

0 commit comments

Comments
 (0)