Skip to content

Commit

Permalink
Disable more typescript eslint rules within markdown files
Browse files Browse the repository at this point in the history
  • Loading branch information
psirenny authored Jul 25, 2024
1 parent 1777f4a commit e29ed41
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/flat-apricots-jog.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@spear-ai/eslint-config": patch
---

Disabled more unusable ESLint TypeScript rules within markdown files.
3 changes: 3 additions & 0 deletions packages/eslint-config/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -673,6 +673,7 @@ export const baseEslintConfig: Linter.FlatConfig[] = [
"@typescript-eslint/no-throw-literal": ["off"],
"@typescript-eslint/no-unnecessary-boolean-literal-compare": ["off"],
"@typescript-eslint/no-unnecessary-condition": ["off"],
"@typescript-eslint/no-unnecessary-template-expression": ["off"],
"@typescript-eslint/no-unnecessary-type-arguments": ["off"],
"@typescript-eslint/no-unnecessary-type-assertion": ["off"],
"@typescript-eslint/no-unsafe-argument": ["off"],
Expand All @@ -684,11 +685,13 @@ export const baseEslintConfig: Linter.FlatConfig[] = [
"@typescript-eslint/no-useless-template-literals": ["off"],
"@typescript-eslint/non-nullable-type-assertion-style": ["off"],
"@typescript-eslint/only-throw-error": ["off"],
"@typescript-eslint/prefer-find": ["off"],
"@typescript-eslint/prefer-includes": ["off"],
"@typescript-eslint/prefer-nullish-coalescing": ["off"],
"@typescript-eslint/prefer-optional-chain": ["off"],
"@typescript-eslint/prefer-promise-reject-errors": ["off"],
"@typescript-eslint/prefer-reduce-type-parameter": ["off"],
"@typescript-eslint/prefer-regexp-exec": ["off"],
"@typescript-eslint/prefer-return-this-type": ["off"],
"@typescript-eslint/prefer-string-starts-ends-with": ["off"],
"@typescript-eslint/require-await": ["off"],
Expand Down

0 comments on commit e29ed41

Please sign in to comment.