Skip to content

Commit ae195ec

Browse files
leeyi45ianyong
andauthoredSep 7, 2023
Use Asynchronous Code for Loading Modules (#1471)
* Add async loading code * Made infinite loop checking async * Update stepper to be async * Add assert and misc utils * Update transpiler to be async * Update runners * Add new import options * Ignore tests during typechecking * Relocate typeguards * Update with assertions and typeguards * Update repl transpiler to be async * Abstract out module context initialization and tab loading * Renamed promise timeout error and added tests * Remove old code * Update options * Add files to avoid line ending issues * Use POSIX paths on Windows systems * Ran format * Update eslint rules to follow exclusion of tests * Incorporate changes for posix path handling * Minor change to resolve certain webpack issues with the frontend * Use a different posix path import * Allow loading of export default tabs * Refactor collation of import declarations --------- Co-authored-by: Ian Yong <[email protected]>
1 parent 532f16f commit ae195ec

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+1407
-639
lines changed
 

‎.editorconfig

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[*]
2+
end_of_line = lf

‎.eslintrc.json

+9-1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
"plugin:@typescript-eslint/recommended-requiring-type-checking",
1010
"prettier"
1111
],
12+
"ignorePatterns": ["src/**/__tests__/**", "src/**/__mocks__/**"],
1213
"parser": "@typescript-eslint/parser",
1314
"parserOptions": {
1415
"project": "tsconfig.json",
@@ -45,5 +46,12 @@
4546
"@typescript-eslint/unbound-method": "off",
4647
"prefer-rest-params": "off",
4748
"simple-import-sort/imports": "warn"
48-
}
49+
},
50+
"overrides": [{
51+
"files": ["src/**/__tests__/**", "src/**/__mocks__/**"],
52+
"plugins": ["simple-import-sort"],
53+
"rules": {
54+
"simple-import-sort/imports": "warn"
55+
}
56+
}]
4957
}

0 commit comments

Comments
 (0)
Please sign in to comment.