diff --git a/eslint.config.js b/eslint.config.js index 28d010d7..2adcc5f7 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -7,8 +7,6 @@ import preferArrowFunctions from "eslint-plugin-prefer-arrow-functions"; import prettierRecommended from "eslint-plugin-prettier/recommended"; import tseslint from "typescript-eslint"; -/* eslint-disable @typescript-eslint/naming-convention -- Not applicable to this file */ - export default tseslint.config( js.configs.recommended, prettierRecommended, @@ -41,33 +39,6 @@ export default tseslint.config( "@typescript-eslint/explicit-module-boundary-types": "error", "@typescript-eslint/init-declarations": "error", "@typescript-eslint/method-signature-style": ["error", "method"], - "@typescript-eslint/naming-convention": [ - "error", - { - filter: { - match: false, - regex: "^(GITHUB_REPOSITORY|issue_number)$", - }, - format: ["camelCase"], - leadingUnderscore: "allow", - selector: "default", - trailingUnderscore: "allow", - }, - { - format: ["camelCase", "PascalCase"], - selector: "import", - }, - { - format: ["camelCase", "UPPER_CASE"], - leadingUnderscore: "allow", - selector: "variable", - trailingUnderscore: "allow", - }, - { - format: ["PascalCase"], - selector: "typeLike", - }, - ], "@typescript-eslint/no-import-type-side-effects": "error", "@typescript-eslint/no-shadow": "error", "@typescript-eslint/no-unnecessary-parameter-property-assignment": @@ -218,5 +189,3 @@ export default tseslint.config( }, }, ); - -/* eslint-enable @typescript-eslint/naming-convention */ diff --git a/jest.config.js b/jest.config.js index c1911dfa..e785ec09 100644 --- a/jest.config.js +++ b/jest.config.js @@ -8,7 +8,6 @@ export default { setupFiles: ["/__tests__/setup.ts"], testMatch: ["/__tests__/**/*.test.ts"], transform: { - // eslint-disable-next-line @typescript-eslint/naming-convention -- The key is a glob. "^.+\\.[jt]s$": [ "ts-jest", {