-
Notifications
You must be signed in to change notification settings - Fork 0
Add parsing of partials and imports #8
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
base: main
Are you sure you want to change the base?
Changes from all commits
7a3caab
1e81667
ccf2722
1ec4f60
15adfc1
775ef72
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 |
|---|---|---|
|
|
@@ -37,6 +37,19 @@ export default tseslint.config( | |
| "@typescript-eslint/no-empty-object-type": "off", | ||
| "@typescript-eslint/no-explicit-any": "warn", | ||
| "@typescript-eslint/only-throw-error": "off", | ||
| "@typescript-eslint/consistent-type-definitions": ["error", "type"], | ||
| "@typescript-eslint/no-unused-vars": [ | ||
|
Collaborator
Author
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. I like having this rule around to mark unused things without eslint yelling at you, especially in array destructuring where the syntax would otherwise be |
||
| "error", | ||
| { | ||
| args: "all", | ||
| argsIgnorePattern: "^_", | ||
| caughtErrors: "all", | ||
| caughtErrorsIgnorePattern: "^_", | ||
| destructuredArrayIgnorePattern: "^_", | ||
| varsIgnorePattern: "^_", | ||
| ignoreRestSiblings: true, | ||
| }, | ||
| ], | ||
| "@typescript-eslint/restrict-template-expressions": [ | ||
| "error", | ||
| { allowNumber: true }, | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -57,13 +57,13 @@ | |
| "dts": true | ||
| }, | ||
| "dependencies": { | ||
| "@types/parsimmon": "^1.10.9", | ||
| "parsimmon": "^1.18.1" | ||
| }, | ||
| "devDependencies": { | ||
| "@arethetypeswrong/cli": "^0.18.2", | ||
| "@eslint/js": "^9.39.1", | ||
| "@types/node": "^24.10.1", | ||
| "@types/parsimmon": "^1.10.9", | ||
|
Collaborator
Author
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. This should have been in devdeps from the beginning - we don't need this as a part of the exported deps. |
||
| "@typescript-eslint/parser": "^8.48.1", | ||
| "eslint": "^9.39.1", | ||
| "eslint-import-resolver-typescript": "^4.4.4", | ||
|
|
||
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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.
This is what enforces the preference for
type.