Skip to content

Commit

Permalink
chore: eslint 9
Browse files Browse the repository at this point in the history
  • Loading branch information
elbotho committed Nov 13, 2024
1 parent e5d558f commit 18769c3
Show file tree
Hide file tree
Showing 36 changed files with 113 additions and 139 deletions.
3 changes: 0 additions & 3 deletions .eslintignore

This file was deleted.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
1 change: 0 additions & 1 deletion esbuild-transformer.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,4 @@ async function processAsync(src, filename) {
}
}

// eslint-disable-next-line import/no-default-export
export default { processAsync }
1 change: 0 additions & 1 deletion jest.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
// eslint-disable-next-line import/no-default-export
export default {
modulePaths: ['<rootDir>/packages'],
moduleNameMapper: {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@
"default-import": "^2.0.1",
"depcheck": "^1.4.7",
"esbuild": "^0.24.0",
"eslint": "^8.57.0",
"eslint": "^9.14.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-react": "^7.35.2",
Expand Down
1 change: 0 additions & 1 deletion packages/server/src/schema/authorization/roles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,6 @@ export function getRolesWithInheritance(initialRoles: Role[] = []): Role[] {
const allRoles: Role[] = []
const queue = [...initialRoles]

// eslint-disable-next-line no-constant-condition
while (true) {
const role = queue.pop()
if (!role) return allRoles
Expand Down
1 change: 0 additions & 1 deletion packages/server/src/typings.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,5 @@ declare module '*.graphql' {
import { DocumentNode } from 'graphql'

const node: DocumentNode
// eslint-disable-next-line import/no-default-export
export default node
}
Loading

0 comments on commit 18769c3

Please sign in to comment.