Skip to content

Commit b26d07c

Browse files
JohnMcLearclaude
andauthored
chore: move to eslint 9 and flat config (#123)
Claude-Session: https://claude.ai/code/session_01TcYAoDMav4BPPE9JrMtSvw Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
1 parent 08b1798 commit b26d07c

6 files changed

Lines changed: 221 additions & 349 deletions

File tree

‎.eslintrc.cjs‎

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

‎.github/dependabot.yml‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,7 @@ updates:
99
schedule:
1010
interval: "daily"
1111
versioning-strategy: "increase"
12+
ignore:
13+
# typescript-eslint has no release that supports TypeScript 7 yet.
14+
- dependency-name: "typescript"
15+
versions: [">=7"]

‎.github/workflows/lint.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
lint:
88
name: ESLint
99
runs-on: ubuntu-latest
10-
# `eslint .` executes .eslintrc.cjs and every installed ESLint plugin, so
10+
# `eslint .` executes eslint.config.mjs and every installed ESLint plugin, so
1111
# don't hand it the caller's contents:write / id-token:write token.
1212
permissions:
1313
contents: read

‎eslint.config.mjs‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
import etherpad from 'eslint-config-etherpad/flat/plugin.js';
2+
3+
export default etherpad;

‎package.json‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
"ep_plugin_helpers": "^0.6.11"
1616
},
1717
"devDependencies": {
18-
"eslint": "^8.57.1",
19-
"eslint-config-etherpad": "^5.0.3",
18+
"eslint": "^9.39.5",
19+
"eslint-config-etherpad": "^5.0.4",
2020
"typescript": "~6.0.3"
2121
},
2222
"scripts": {

0 commit comments

Comments
 (0)