Skip to content

Fix update core dependencies #1708

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 0 additions & 20 deletions .eslintrc.cjs

This file was deleted.

3 changes: 2 additions & 1 deletion .github/workflows/update-core-deps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ jobs:

# Use ncu to detect major version changes
- run: npm i -g npm-check-updates
- run: ncu -u
# typescript-eslint doesn't yet support eslint 9
- run: ncu -u -x eslint -x @eslint/js
- run: npm i
- run: git restore package.json
# package-lock wants to remember the original version numbers of package.json
Expand Down
26 changes: 26 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
// @ts-check

import eslint from "@eslint/js";
import tseslint from "typescript-eslint";
import prettierRecommended from "eslint-plugin-prettier/recommended";
import globals from "globals";

export default tseslint.config(
eslint.configs.recommended,
...tseslint.configs.recommended,
prettierRecommended,
{
languageOptions: {
globals: {
...globals.node,
...globals.browser,
}
},
rules: {
"no-prototype-builtins": 0,
"@typescript-eslint/no-explicit-any": 0,
"@typescript-eslint/no-non-null-assertion": 0,
"@typescript-eslint/no-var-requires": 0,
},
}
);
Loading