[nit] Add consistent method chaining linter (#613)

Enforces that chained accessed should **either** all be on one line, or
all on individual lines (same as imports).
This commit is contained in:
filtered
2025-02-26 21:11:11 +11:00
committed by GitHub
parent 5cdd0581fa
commit 867b9ed316
5 changed files with 51 additions and 13 deletions

View File

@@ -51,6 +51,7 @@
"@types/eslint__js": "^8.42.3",
"@types/node": "^22.1.0",
"eslint": "^9.14.0",
"eslint-plugin-antfu": "^3.1.0",
"eslint-plugin-jsdoc": "^50.6.3",
"eslint-plugin-simple-import-sort": "^12.1.1",
"eslint-plugin-unused-imports": "^4.1.4",