-
Notifications
You must be signed in to change notification settings - Fork 108
Remove Non-Det Interpreter #1725
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
Merged
Merged
Changes from 3 commits
Commits
Show all changes
30 commits
Select commit
Hold shift + click to select a range
bbcabab
Remove non-det
leeyi45 47b83cf
Continue removing non-det
leeyi45 b77b2ec
Update eslint and fix linting errors
leeyi45 7a8133a
Fix bug where cleaning docs would remove the gitignore
leeyi45 af91f2b
Add ts-check and tseslint helper as requested
leeyi45 a06bb43
Add explanation for ts-expect-error
leeyi45 cf9ea38
Remove jsdoc stuff pertaining to non-det
leeyi45 cabdfe1
Remove from non-det from the script
leeyi45 dff60b0
Merge branch 'remove-non-det' of github.com:source-academy/js-slang i…
leeyi45 49b6000
Replace docs scripts with javascript code
leeyi45 474bd64
Misc change
leeyi45 d419bdd
Get make to output to stdio
leeyi45 a0a2e3a
Update to use the proper functions from child_process
leeyi45 d9b4ba6
Add documentation and silent option for prepare
leeyi45 5685d4d
Make autocomplete exit with error code
leeyi45 04ac630
Put the query parameter back for module importing
leeyi45 d32fc4f
Merge remote-tracking branch 'origin/master' into remove-non-det
leeyi45 db1fb91
Merge remote-tracking branch 'origin/master' into remove-non-det
leeyi45 281a20e
Finish merge
leeyi45 b80a9a5
Merge branch 'remove-non-det' of github.com:source-academy/js-slang i…
leeyi45 b2e26fb
Merge main
leeyi45 9514256
Update eslint import
leeyi45 eda9b09
Merge branch 'remove-non-det' of github.com:source-academy/js-slang i…
leeyi45 172b796
Merge remote-tracking branch 'origin/master' into remove-non-det
leeyi45 8fcd02d
Merge from main
leeyi45 ecb9925
Merge commit '07f1f877a0447ac40a5a741511ffb8984ceaf5ad' into remove-n…
leeyi45 2dc951a
Update docs
leeyi45 26a8779
Merge commit '1ec766986e552f9e0d08e1075510838671117e1d' into remove-n…
leeyi45 f956613
Update scm-slang
s-kybound 7a63ac3
Merge branch 'remove-non-det' of https://github.com/source-academy/js…
s-kybound File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains hidden or 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,5 +1,6 @@ | ||
| node_modules | ||
| *.js | ||
| !eslint.config.js | ||
| !docs/jsdoc/templates/**/*.js | ||
| !docs/lib/**/*.js | ||
| *.map | ||
|
|
||
This file contains hidden or 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,75 @@ | ||
| import tseslint from 'typescript-eslint' | ||
| import globals from 'globals' | ||
| import importPlugin from 'eslint-plugin-import' | ||
|
|
||
| /** | ||
| * @type {import('eslint').Linter.FlatConfig[]} | ||
| */ | ||
| export default [ | ||
| { | ||
| // global ignores | ||
| ignores: ['dist', 'src/alt-langs', 'src/py-slang', 'src/__tests__/sicp', '**/*.snap'] | ||
| }, | ||
| ...tseslint.configs.recommended, | ||
| { | ||
| files: ['**/*.ts*'], | ||
| languageOptions: { | ||
| globals: { | ||
| ...globals.node, | ||
| ...globals.es2016, | ||
| ...globals.browser | ||
| }, | ||
| parser: tseslint.parser, | ||
| parserOptions: { | ||
| project: './tsconfig.json' | ||
| } | ||
| }, | ||
| plugins: { | ||
| '@typescript-eslint': tseslint.plugin, | ||
| import: importPlugin | ||
| }, | ||
| rules: { | ||
| 'import/no-duplicates': ['warn', { 'prefer-inline': true }], | ||
| 'import/order': 'warn', | ||
| '@typescript-eslint/no-base-to-string': 'off', // TODO: Remove | ||
| 'prefer-const': 'off', // TODO: Remove | ||
| 'no-var': 'off', // TODO: Remove | ||
| '@typescript-eslint/ban-ts-comment': 'warn', | ||
| '@typescript-eslint/ban-types': 'off', | ||
| '@typescript-eslint/camelcase': 'off', | ||
| '@typescript-eslint/explicit-function-return-type': 'off', | ||
| '@typescript-eslint/explicit-module-boundary-types': 'off', | ||
| '@typescript-eslint/interface-name-prefix': 'off', | ||
| '@typescript-eslint/no-duplicate-type-constituents': 'off', | ||
| '@typescript-eslint/no-empty-function': 'off', | ||
| '@typescript-eslint/no-explicit-any': 'off', | ||
| '@typescript-eslint/no-floating-promises': 'off', | ||
| '@typescript-eslint/no-implied-eval': 'off', | ||
| '@typescript-eslint/no-inferrable-types': 'off', | ||
| '@typescript-eslint/no-non-null-asserted-optional-chain': 'off', | ||
| '@typescript-eslint/no-non-null-assertion': 'off', | ||
| '@typescript-eslint/no-redundant-type-constituents': 'off', | ||
| '@typescript-eslint/no-unnecessary-type-assertion': 'off', | ||
| '@typescript-eslint/no-unsafe-argument': 'off', | ||
| '@typescript-eslint/no-unsafe-assignment': 'off', | ||
| '@typescript-eslint/no-unsafe-call': 'off', | ||
| '@typescript-eslint/no-unsafe-enum-comparison': 'off', | ||
| '@typescript-eslint/no-unsafe-function-type': 'off', | ||
| '@typescript-eslint/no-unsafe-member-access': 'off', | ||
| '@typescript-eslint/no-unsafe-return': 'off', | ||
| '@typescript-eslint/no-unused-vars': ['warn', { argsIgnorePattern: '^_' }], | ||
| '@typescript-eslint/no-var-requires': 'off', | ||
| '@typescript-eslint/require-await': 'error', | ||
| '@typescript-eslint/restrict-plus-operands': 'off', | ||
| '@typescript-eslint/restrict-template-expressions': 'off', | ||
| '@typescript-eslint/unbound-method': 'off', | ||
| 'prefer-rest-params': 'off' | ||
| } | ||
| }, | ||
| { | ||
| files: ['**/*.js', 'src/repl/*.ts'], | ||
| rules: { | ||
| '@typescript-eslint/no-require-imports': 'off' | ||
| } | ||
| } | ||
| ] | ||
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.