Skip to content

Commit

Permalink
chore: custom eslint config for test project
Browse files Browse the repository at this point in the history
  • Loading branch information
Akronae committed Sep 21, 2024
1 parent 85348bc commit d46c885
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
// @ts-check

import tseslint from "typescript-eslint";
import { plugin as ex } from "./dist/index.mjs";

const ignores = [
"node_modules",
Expand All @@ -19,7 +18,6 @@ const ignores = [
export default tseslint.config(
...tseslint.configs.recommended.map((x) => ({ ...x, ignores })),
{
plugins: { ex },
languageOptions: {
parserOptions: {
parser: "@typescript-eslint/parser",
Expand All @@ -30,9 +28,6 @@ export default tseslint.config(
files: ["**/*.ts", "**/*.tsx", "**/*.js", "**/*.jsx"],
ignores,
rules: {
"ex/no-unhandled": "error",
"ex/might-throw": "warn",
"ex/use-error-cause": "warn",
"@typescript-eslint/no-unused-vars": [
"error",
{ argsIgnorePattern: "_" },
Expand Down

0 comments on commit d46c885

Please sign in to comment.