diff options
| author | xuatz <xzlow10@gmail.com> | 2025-06-22 20:29:30 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-06-22 12:29:30 +0100 |
| commit | d5e2973dce617f451e4eb07491b3a6874ea6ca47 (patch) | |
| tree | 9e134ac8c0b263cec755068082ca61c9646efd21 /tooling/eslint/base.js | |
| parent | 91a9d3c1aee04d77b2a2d022821f4a7a38e315f3 (diff) | |
| download | karakeep-d5e2973dce617f451e4eb07491b3a6874ea6ca47.tar.zst | |
chore: migrate away from eslint to oxlint (#1642)
* chore: migrate away from eslint to oxlint
* revert turbo task name lint
* it seems like we can remove the seemingly default globals
Diffstat (limited to 'tooling/eslint/base.js')
| -rw-r--r-- | tooling/eslint/base.js | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/tooling/eslint/base.js b/tooling/eslint/base.js deleted file mode 100644 index 4aa34798..00000000 --- a/tooling/eslint/base.js +++ /dev/null @@ -1,45 +0,0 @@ -/** @type {import("eslint").Linter.Config} */ -const config = { - extends: [ - "turbo", - "eslint:recommended", - "plugin:@typescript-eslint/recommended-type-checked", - "plugin:@typescript-eslint/stylistic-type-checked", - ], - env: { - es2022: true, - node: true, - }, - parser: "@typescript-eslint/parser", - parserOptions: { project: true }, - plugins: ["@typescript-eslint", "import"], - rules: { - "turbo/no-undeclared-env-vars": "off", - "@typescript-eslint/no-unused-vars": [ - "error", - { argsIgnorePattern: "^_", varsIgnorePattern: "^_" }, - ], - "@typescript-eslint/consistent-type-imports": "off", - "@typescript-eslint/no-misused-promises": [ - 2, - { checksVoidReturn: { attributes: false } }, - ], - "import/consistent-type-specifier-style": ["error", "prefer-top-level"], - "@typescript-eslint/no-floating-promises": "off", - "@typescript-eslint/unbound-method": "off", - "@typescript-eslint/restrict-template-expressions": "off", - "@typescript-eslint/prefer-optional-chain": "off", - }, - ignorePatterns: [ - "**/*.config.js", - "**/*.config.cjs", - "**/.eslintrc.cjs", - ".next", - "dist", - "build", - "pnpm-lock.yaml", - ], - reportUnusedDisableDirectives: true, -}; - -module.exports = config; |
