-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Implement Chapter 4 (scanner) (#3)
<!-- 👋 Hi, thanks for sending a PR to gravlax! 💖. Please fill out all fields below and make sure each item is true and [x] checked. Otherwise we may not be able to review your PR. --> ## PR Checklist - [ ] Addresses an existing open issue: fixes #000 - [ ] That issue was marked as [`status: accepting prs`](https://github.com/danvk/gravlax/issues?q=is%3Aopen+is%3Aissue+label%3A%22status%3A+accepting+prs%22) - [ ] Steps in [CONTRIBUTING.md](https://github.com/danvk/gravlax/blob/main/.github/CONTRIBUTING.md) were taken ## Overview <!-- Description of what is changed and how the code change does that. -->
- Loading branch information
Showing
18 changed files
with
572 additions
and
74 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
{ | ||
"tasks": [ | ||
{ | ||
"detail": "knip", | ||
"label": "npm: lint:knip", | ||
"problemMatcher": { | ||
"fileLocation": ["relative", "${workspaceFolder}"], | ||
"owner": "tsc", | ||
"pattern": [ | ||
{ | ||
"message": 1, | ||
"regexp": "^([^\\s].*) \\(\\d+\\)$" | ||
}, | ||
{ | ||
"column": 5, | ||
"file": 3, | ||
"line": 4, | ||
"loop": true, | ||
"regexp": "([^ ]+) +([^ ]+) +([^:]+):(\\d+):(\\d+)" | ||
} | ||
] | ||
}, | ||
"script": "lint:knip", | ||
"type": "npm" | ||
}, | ||
{ | ||
"detail": "cspell \"**\" \".github/**/*\"", | ||
"label": "npm: lint:spelling", | ||
"problemMatcher": ["$markdownlint"], | ||
"script": "lint:spelling", | ||
"type": "npm" | ||
}, | ||
{ | ||
"detail": "eslint . .*js --max-warnings 0", | ||
"label": "npm: lint", | ||
"problemMatcher": ["$eslint-stylish"], | ||
"script": "lint", | ||
"type": "npm" | ||
} | ||
], | ||
"version": "2.0.0" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,6 +22,8 @@ | |
"packagejson", | ||
"quickstart", | ||
"tsup", | ||
"wontfix" | ||
"wontfix", | ||
"gravlax", | ||
"Vanderkam" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
print "Hello World"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"$schema": "https://unpkg.com/knip@latest/schema.json", | ||
"entry": ["src/index.ts!"], | ||
"ignoreExportsUsedInFile": { "interface": true, "type": true }, | ||
"ignoreExportsUsedInFile": true, | ||
"project": ["src/**/*.ts!"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.