Skip to content

Commit

Permalink
Code base cleanup
Browse files Browse the repository at this point in the history
- Refactored the context symbol table. Custom symbols now are in own files each.
- Switched to newer eslint and fixed issues as suggested by PR #295.
- Solved a number of recursive import problems.
- Replaced 3rd party await-notify module (which has no type definitions) by an own implementation (Signal).

Signed-off-by: Mike Lischke <[email protected]>
  • Loading branch information
mike-lischke committed Aug 25, 2024
1 parent f29de87 commit 51dacf6
Show file tree
Hide file tree
Showing 56 changed files with 888 additions and 312 deletions.
10 changes: 6 additions & 4 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@
"@typescript-eslint/tslint",
"jsdoc",
"prefer-arrow",
"eslint-plugin-import"
"eslint-plugin-import",
"@stylistic/ts"
],
"settings": {},
"globals": {
Expand Down Expand Up @@ -489,7 +490,7 @@
"accessibility": "explicit"
}
],
"@typescript-eslint/indent": [
"@stylistic/ts/indent": [
"error",
4,
{
Expand Down Expand Up @@ -558,15 +559,15 @@
"@typescript-eslint/no-loss-of-precision": "off", // TODO: enable
"@typescript-eslint/prefer-for-of": "error",
"@typescript-eslint/prefer-function-type": "error",
"@typescript-eslint/quotes": [
"@stylistic/ts/quotes": [
"error",
"double",
{
"avoidEscape": true,
"allowTemplateLiterals": true
}
],
"@typescript-eslint/semi": [
"@stylistic/ts/semi": [
"error",
"always"
],
Expand Down Expand Up @@ -657,6 +658,7 @@
],
"@typescript-eslint/no-unsafe-enum-comparison": "off",
"@typescript-eslint/no-base-to-string": "off",
"@typescript-eslint/triple-slash-reference": "off",
"jsdoc/check-alignment": "error",
"jsdoc/check-indentation": "off",
"jsdoc/require-param-type": "off",
Expand Down
1 change: 1 addition & 0 deletions cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@
],
"ignoreWords": [
"Dname",
"ERRCHAR",
"antl",
"atngraph",
"baselistenerdeclarations",
Expand Down
223 changes: 171 additions & 52 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 51dacf6

Please sign in to comment.