-
-
Notifications
You must be signed in to change notification settings - Fork 1
Feature/update eslint type aware implementation #270
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
c10f44a
c73d5b3
b5d3dec
fe35a4a
f25e306
35c90ea
b83cae0
166c1a6
4917e8b
9624632
85875b4
bc36958
0b3632c
d9dd43c
679e24a
8c2b6ee
da5b73b
79a4e38
6fc918a
a20f96f
a1b3b0b
70fa850
8ba1cd9
85dc1a2
3ef2721
c146a44
206a502
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,32 @@ | ||
| --- | ||
| "@stephansama/eslint-config": minor | ||
| "@example/svelte-social-share-links/svelte-kit": patch | ||
| "@example/svelte-social-share-links/astro": patch | ||
| "@stephansama/catppuccin-jsonresume-theme": patch | ||
| "@stephansama/prettier-plugin-handlebars": patch | ||
| "@stephansama/svelte-social-share-links": patch | ||
| "@example/astro-iconify-svgmap": patch | ||
| "@example/typed-events/vanilla": patch | ||
| "@stephansama/types-github-action-env": patch | ||
| "@example/typed-events/react": patch | ||
| "@stephansama/find-makefile-targets": patch | ||
| "@stephansama/astro-iconify-svgmap": patch | ||
| "@example/remark-asciinema": patch | ||
| "@stephansama/catppuccin-typedoc": patch | ||
| "@stephansama/remark-asciinema": patch | ||
| "@stephansama/typed-nocodb-api": patch | ||
| "@stephansama/typed-templates": patch | ||
| "@stephansama/alfred-kaomoji": patch | ||
| "@stephansama/catppuccin-xsl": patch | ||
| "@stephansama/ai-commit-msg": patch | ||
| "@stephansama/multipublish": patch | ||
| "@stephansama/typed-events": patch | ||
| "@stephansama/auto-readme": patch | ||
| "@stephansama/single-file": patch | ||
| "@stephansama/github-env": patch | ||
| "@stephansama/types-lhci": patch | ||
| "@stephansama/typed-env": patch | ||
| "create-stephansama-example": patch | ||
| --- | ||
|
|
||
| updated eslint type aware implementation |
This file was deleted.
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -0,0 +1,8 @@ | ||||||
| { | ||||||
| "extends": "../../tsconfig.base.json", | ||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Use array format for While TypeScript accepts both string and array formats for 📝 Proposed fix- "extends": "../../tsconfig.base.json",
+ "extends": ["../../tsconfig.base.json"],📝 Committable suggestion
Suggested change
🤖 Prompt for AI Agents |
||||||
| "include": [".vitepress/**/*"], | ||||||
| "compilerOptions": { | ||||||
| "composite": true, | ||||||
| "types": ["node"] | ||||||
| } | ||||||
| } | ||||||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -2,6 +2,7 @@ | |
| **/.vitepress/cache | ||
| **/coverage/ | ||
| *.bak | ||
| *.tsbuildinfo | ||
| *storybook.log | ||
| .DS_Store | ||
| .astro | ||
|
|
||
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,5 @@ | ||
| /* eslint-disable unicorn/no-abusive-eslint-disable */ | ||
| /* eslint-disable */ | ||
|
Comment on lines
+1
to
+2
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🧩 Analysis chain🏁 Script executed: #!/bin/bash
# Description: Check which ESLint rules are violated in config.test.ts
# Remove the eslint-disable comments temporarily and run ESLint
rg -n "eslint-disable" core/ai-commit-msg/test/config.test.tsRepository: stephansama/packages Length of output: 144 🏁 Script executed: cat -n core/ai-commit-msg/test/config.test.ts | head -50Repository: stephansama/packages Length of output: 1826 🏁 Script executed: wc -l core/ai-commit-msg/test/config.test.tsRepository: stephansama/packages Length of output: 106 🏁 Script executed: git -C core/ai-commit-msg log --oneline -n 20 -- test/config.test.tsRepository: stephansama/packages Length of output: 119 Replace blanket ESLint disable with a targeted rule instead. The file disables /* eslint-disable `@typescript-eslint/no-explicit-any` */Alternatively, add a rule-specific disable only at the lines that need it. 🤖 Prompt for AI Agents |
||
| import { cosmiconfig } from "cosmiconfig"; | ||
| import { afterEach, describe, expect, it, vi } from "vitest"; | ||
|
|
||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ensure
public/exists before redirecting outputLine 17 and Line 18 can fail on clean environments when
public/is missing, because shell redirection (>public/...) does not create parent directories. This can breaksetup/predev.Proposed fix
📝 Committable suggestion
🤖 Prompt for AI Agents