Skip to content

Commit 5c80261

Browse files
committed
chore: update ESLint configuration and dependencies
- Updated Node version in .nvmrc from 22 to 20.18. - Added .gitignore file for src/typegen.d.ts in the eslint-config package. - Adjusted ESLint configuration to use relative paths for ignored files. - Removed unused typegen.d.ts file from eslint-config package. - Refactored various ESLint rules for improved clarity and maintainability. Signed-off-by: prisis <d.bannert@anolilab.de>
1 parent 6bb2af5 commit 5c80261

File tree

17 files changed

+871
-25942
lines changed

17 files changed

+871
-25942
lines changed

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
22
1+
20.18

packages/eslint-config/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
src/typegen.d.ts

packages/eslint-config/__tests__/rules.test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ const copyFolderRecursive = async (from: string, to: string) => {
2929
recursive: true,
3030
});
3131

32-
// eslint-disable-next-line no-restricted-syntax
3332
for (const element of files) {
3433
// eslint-disable-next-line unicorn/no-await-expression-member,no-await-in-loop
3534
await ((await lstat(join(from, element))).isFile()

packages/eslint-config/eslint.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { createConfig } from "./dist/index.mjs";
22

33
export default createConfig(
44
{
5-
ignores: ["eslint.config.js", "src/typegen.d.ts", "__fixtures__/**/*"],
5+
ignores: ["./eslint.config.js", "./src/typegen.d.ts", "./__fixtures__/**/*"],
66
react: false,
77
playwright: false,
88
storybook: false,

packages/eslint-config/scripts/global-vitest.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ const extract = (file: string) => {
3737
// eslint-disable-next-line @typescript-eslint/no-explicit-any
3838
ts.forEachChild(mNode, (vNode: any) => {
3939
if (ts.isVariableDeclarationList(vNode)) {
40-
// eslint-disable-next-line no-restricted-syntax
4140
for (const declaration of vNode.declarations) {
4241
const name = ts.getNameOfDeclaration(declaration);
4342

0 commit comments

Comments
 (0)