Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/ts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ jobs:
- name: install deps
run: cd ./ts && npm ci
- run: cd ./ts && npm run lint
- run: cd ./ts && npm run format:check
type_check:
name: "type check"
runs-on: ubuntu-latest
Expand Down
7 changes: 7 additions & 0 deletions ts/.oxfmtrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"printWidth": 120,
"singleQuote": true,
"trailingComma": "es5",
"sortImports": {},
"ignorePatterns": ["**/dist", "**/*.md", "**/*.mdx", "package-lock.json"]
}
28 changes: 28 additions & 0 deletions ts/.oxlintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"plugins": ["typescript"],
"categories": {
"correctness": "error"
},
"env": {
"commonjs": true,
"es6": true
},
"rules": {
"typescript/explicit-function-return-type": "error",
"typescript/explicit-module-boundary-types": "error",
"typescript/array-type": ["error", { "default": "array-simple" }],
"eqeqeq": ["error", "always"],
"no-unused-vars": "off",
"typescript/no-unused-vars": [
"error",
{
"argsIgnorePattern": "^_",
"varsIgnorePattern": "^_",
"caughtErrorsIgnorePattern": "^_"
}
],
"no-nested-ternary": "error",
"no-restricted-imports": "error"
},
"ignorePatterns": ["**/dist"]
}
5 changes: 0 additions & 5 deletions ts/.prettierignore

This file was deleted.

5 changes: 0 additions & 5 deletions ts/.prettierrc.json

This file was deleted.

49 changes: 0 additions & 49 deletions ts/eslint.config.js

This file was deleted.

Loading
Loading