tsgolint
Type aware linting for oxlint
File Explorer
- SKILL.md
- action.yml
- autofix.yml
- check-schemas.yml
- ci.yml
- dprint.yml
- release.yml
- security.yml
- update-typescript-go.yml
- renovate.json
- SECURITY.md
- .gitignore
- bench.sh
- clone-projects.sh
- Containerfile
- eslint.config.mjs
- README.md
- setup.sh
- enablevtprocessing_other.go
- enablevtprocessing_windows.go
- headless.go
- headless_bench_test.go
- main.go
- overlayfs.go
- overlayfs_test.go
- payload.go
- snapshot.test.ts.snap
- index.ts
- index.ts
- index.ts
- index.ts
- index.ts
- index.ts
- index.ts
- index.ts
- void.ts
- index.ts
- index.ts
- index.ts
- index.ts
- index.ts
- index.ts
- index.ts
- index.ts
- index.ts
- index.ts
- index.ts
- index.ts
- index.ts
- index.ts
- index.ts
- index.ts
- index.ts
- index.ts
- index.ts
- index.ts
- index.ts
- index.ts
- index.ts
- index.ts
- index.ts
- index.ts
- index.ts
- index.ts
- index.ts
- index.ts
- index.ts
- index.ts
- index.ts
- index.ts
- index.ts
- index.ts
- index.ts
- index.ts
- index.ts
- index.ts
- index.ts
- index.ts
- index.ts
- a.ts
- b.mts
- c.cts
- d.tsx
- tsconfig.json
- index.ts
- tsconfig.json
- index.ts
- tsconfig.json
- index.ts
- tsconfig.json
- types.d.ts
- index.ts
- tsconfig.json
- index.ts
- tsconfig.json
- index.ts
- tsconfig.json
- terminal.ts
- tsconfig.json
- tsconfig.json
- enum.ts
- index.ts
- tsconfig.app.json
- tsconfig.base.json
- tsconfig.json
- tsconfig.spec.json
- package.json
- index.ts
- tsconfig.json
- a.ts
- b.mts
- tsconfig.json
- original.ts
- tsconfig.json
- index.ts
- tsconfig.json
- index.ts
- tsconfig.json
- index.ts
- tsconfig.json
- index.ts
- test.ts
- tsconfig.json
- package.json
- pnpm-lock.yaml
- README.md
- snapshot.test.ts
- tsconfig.json
- vitest.config.ts
- diagnostic.go
- linter.go
- linter_test.go
- source_code_fixer.go
- timing.go
- rule.go
- await-thenable.snap
- consistent-return.snap
- consistent-type-exports.snap
- dot-notation.snap
- no-array-delete.snap
- no-base-to-string.snap
- no-confusing-void-expression.snap
- no-deprecated.snap
- no-duplicate-type-constituents.snap
- no-floating-promises.snap
- no-for-in-array.snap
- no-implied-eval.snap
- no-meaningless-void-operator.snap
- no-misused-promises.snap
- no-misused-spread.snap
- no-mixed-enums.snap
- no-redundant-type-constituents.snap
- no-unnecessary-boolean-literal-compare.snap
- no-unnecessary-condition.snap
- no-unnecessary-qualifier.snap
- no-unnecessary-template-expression.snap
- no-unnecessary-type-arguments.snap
- no-unnecessary-type-assertion.snap
- no-unnecessary-type-conversion.snap
- no-unnecessary-type-parameters.snap
- no-unsafe-argument.snap
- no-unsafe-assignment.snap
- no-unsafe-call.snap
- no-unsafe-enum-comparison.snap
- no-unsafe-member-access.snap
- no-unsafe-return.snap
- no-unsafe-type-assertion.snap
- no-unsafe-unary-minus.snap
- no-useless-default-assignment.snap
- non-nullable-type-assertion-style.snap
- only-throw-error.snap
- prefer-find.snap
- prefer-includes.snap
- prefer-nullish-coalescing.snap
- prefer-optional-chain.snap
- prefer-promise-reject-errors.snap
- prefer-readonly-parameter-types.snap
- prefer-readonly.snap
- prefer-reduce-type-parameter.snap
- prefer-regexp-exec.snap
- prefer-return-this-type.snap
- prefer-string-starts-ends-with.snap
- promise-function-async.snap
- related-getter-setter-pairs.snap
- require-array-sort-compare.snap
- require-await.snap
- restrict-plus-operands.snap
- restrict-template-expressions.snap
- return-await.snap
- strict-boolean-expressions.snap
- strict-void-return.snap
- switch-exhaustiveness-check.snap
- unbound-method.snap
- use-unknown-in-catch-callback-variable.snap
- rule_tester.go
- snapshot.go
- snapshot_test.go
- await_thenable.go
- await_thenable_test.go
- consistent_return.go
- consistent_return_test.go
- options.go
- schema.json
- consistent_type_exports.go
- consistent_type_exports_test.go
- options.go
- schema.json
- dot_notation.go
- dot_notation_test.go
- options.go
- schema.json
- index.ts
- reexport-1.ts
- reexport-2-named.ts
- reexport-2-namespace.ts
- type-only-exports.ts
- type-only-reexport.ts
- value-reexport.ts
- class.ts
- deprecated.ts
- file.ts
- fixtures.go
- foo.ts
- mixed-enums-decl.ts
- react.tsx
- repro.js
- switch-exhaustiveness-check.ts
- tsconfig.checkJs.json
- tsconfig.exactOptionalPropertyTypes.json
- tsconfig.includeTypes.json
- tsconfig.json
- tsconfig.lib-dom.json
- tsconfig.minimal.json
- tsconfig.moduleResolution-node16.json
- tsconfig.noImplicitThis.json
- tsconfig.noPropertyAccessFromIndexSignature.json
- tsconfig.noUncheckedIndexedAccess.json
- tsconfig.unstrict.json
- var-declaration.ts
- no_array_delete.go
- no_array_delete_test.go
- no_base_to_string.go
- no_base_to_string_test.go
- options.go
- schema.json
- no_confusing_void_expression.go
- no_confusing_void_expression_test.go
- options.go
- schema.json
- no_deprecated.go
- no_deprecated_test.go
- options.go
- schema.json
- no_duplicate_type_constituents.go
- no_duplicate_type_constituents_test.go
- options.go
- schema.json
- no_floating_promises.go
- no_floating_promises_test.go
- options.go
- schema.json
- no_for_in_array.go
- no_for_in_array_test.go
- no_implied_eval.go
- no_implied_eval_test.go
- no_meaningless_void_operator.go
- no_meaningless_void_operator_test.go
- options.go
- schema.json
- no_misused_promises.go
- no_misused_promises_test.go
- options.go
- schema.json
- no_misused_spread.go
- no_misused_spread_test.go
- options.go
- schema.json
- no_mixed_enums.go
- no_mixed_enums_test.go
- no_redundant_type_constituents.go
- no_redundant_type_constituents_test.go
- no_unnecessary_boolean_literal_compare.go
- no_unnecessary_boolean_literal_compare_test.go
- options.go
- schema.json
- no_unnecessary_condition.go
- no_unnecessary_condition_test.go
- options.go
- schema.json
- no_unnecessary_qualifier.go
- no_unnecessary_qualifier_test.go
- no_unnecessary_template_expression.go
- no_unnecessary_template_expression_test.go
- no_unnecessary_type_arguments.go
- no_unnecessary_type_arguments_test.go
- no_unnecessary_type_assertion.go
- no_unnecessary_type_assertion_test.go
- options.go
- schema.json
- no_unnecessary_type_conversion.go
- no_unnecessary_type_conversion_test.go
- no_unnecessary_type_parameters.go
- no_unnecessary_type_parameters_test.go
- no_unsafe_argument.go
- no_unsafe_argument_test.go
- no_unsafe_assignment.go
- no_unsafe_assignment_test.go
- no_unsafe_call.go
- no_unsafe_call_test.go
- no_unsafe_enum_comparison.go
- no_unsafe_enum_comparison_test.go
- static_value.go
- suggestion.go
- no_unsafe_member_access.go
- no_unsafe_member_access_test.go
- options.go
- schema.json
- no_unsafe_return.go
- no_unsafe_return_test.go
- no_unsafe_type_assertion.go
- no_unsafe_type_assertion_test.go
- no_unsafe_unary_minus.go
- no_unsafe_unary_minus_test.go
- no_useless_default_assignment.go
- no_useless_default_assignment_test.go
- non_nullable_type_assertion_style.go
- non_nullable_type_assertion_style_test.go
- only_throw_error.go
- only_throw_error_test.go
- options.go
- schema.json
- prefer_find.go
- prefer_find_test.go
- prefer_includes.go
- prefer_includes_test.go
- options.go
- prefer_nullish_coalescing.go
- prefer_nullish_coalescing_test.go
- schema.json
- base_cases_test.go
- options.go
- prefer_optional_chain.go
- prefer_optional_chain_test.go
- schema.json
- options.go
- prefer_promise_reject_errors.go
- prefer_promise_reject_errors_test.go
- schema.json
- options.go
- prefer_readonly.go
- prefer_readonly_test.go
- schema.json
- options.go
- prefer_readonly_parameter_types.go
- prefer_readonly_parameter_types_test.go
- schema.json
- prefer_reduce_type_parameter.go
- prefer_reduce_type_parameter_test.go
- prefer_regexp_exec.go
- prefer_regexp_exec_test.go
- prefer_return_this_type.go
- prefer_return_this_type_test.go
- options.go
- prefer_string_starts_ends_with.go
- prefer_string_starts_ends_with_test.go
- schema.json
- options.go
- promise_function_async.go
- promise_function_async_test.go
- schema.json
- related_getter_setter_pairs.go
- related_getter_setter_pairs_test.go
- options.go
- require_array_sort_compare.go
- require_array_sort_compare_test.go
- schema.json
- require_await.go
- require_await_test.go
- options.go
- restrict_plus_operands.go
- restrict_plus_operands_test.go
- schema.json
- options.go
- restrict_template_expressions.go
- restrict_template_expressions_test.go
- schema.json
- options.go
- return_await.go
- return_await_test.go
- schema.json
- options.go
- schema.json
- strict_boolean_expressions.go
- strict_boolean_expressions_test.go
- options.go
- schema.json
- strict_void_return.go
- strict_void_return_test.go
- options.go
- schema.json
- switch_exhaustiveness_check.go
- switch_exhaustiveness_check_test.go
- generate-natively-bound-members.mjs
- natively_bound_members.go
- options.go
- schema.json
- unbound_method.go
- unbound_method_test.go
- use_unknown_in_catch_callback_variable.go
- use_unknown_in_catch_callback_variable_test.go
- shared_schemas.json
- base_type_utils.go
- bfs.go
- builtin_symbol_likes.go
- builtin_symbol_likes_test.go
- create_program.go
- diagnostic_helpers.go
- find_tsconfig.go
- find_tsconfig_test.go
- host.go
- log.go
- map.go
- overlay_vfs.go
- set.go
- string_literal.go
- ts_api_utils.go
- ts_eslint.go
- type_matches_specifier.go
- utils.go
- tsgolint.js
- 0001-Adapt-project-service-for-single-run-mode.patch
- 0002-patch-expose-more-functions-via-the-shim-with-type-f.patch
- 0003-fix-early-return-from-invalid-tsconfig-for-better-er.patch
- 0004-fix-collections-avoid-internal-json-import-in-ordere.patch
- 0005-perf-vfs-cache-ReadFile-results-in-cachedvfs.patch
- README.md
- extra-shim.json
- go.mod
- go.sum
- helpers.go
- shim.go
- go.mod
- go.sum
- shim.go
- extra-shim.json
- go.mod
- go.sum
- shim.go
- extra-shim.json
- go.mod
- go.sum
- shim.go
- go.mod
- go.sum
- shim.go
- go.mod
- go.sum
- shim.go
- go.mod
- go.sum
- shim.go
- go.mod
- go.sum
- shim.go
- extra-shim.json
- go.mod
- go.sum
- shim.go
- go.mod
- go.sum
- shim.go
- extra-shim.json
- go.mod
- go.sum
- shim.go
- go.mod
- go.sum
- shim.go
- go.mod
- go.sum
- shim.go
- go.mod
- go.sum
- shim.go
- extra-shim.json
- go.mod
- go.sum
- shim.go
- main.go
- README.md
- gen-json-schemas.ts
- gen-npm-packages.mjs
- update-typescript-go-shims.sh
- .gitattributes
- .gitignore
- .gitmodules
- .golangci.yml
- .node-version
- .typos.toml
- AGENTS.md
- ARCHITECTURE.md
- CONTRIBUTING.md
- dprint.json
- go.mod
- go.sum
- go.work
- go.work.sum
- justfile
- LICENSE
- package.json
- pnpm-lock.yaml
- pnpm-workspace.yaml
- README.md
- test_computed_property.js
- THIRD-PARTY-LICENSE
- typescript-go
# Use via CDN
jsDelivrjsDelivr serves any public GitHub repository as a CDN with zero setup. Pick a version and a file to get a ready-to-paste link and snippet.
Command Glossary
Commands referenced in this DOCs, explained below.
eslint
View Details ▼
eslint
A pluggable linting utility for JavaScript and JSX.
eslint --init
Create the ESLint configuration file:
eslint {{path/to/file1.js path/to/file2.js ...}}
Lint one or more files:
eslint --fix
Fix lint issues:
pnpm
View Details ▼
pnpm
Fast, disk space efficient package manager for Node.js.
Manage Node.js projects and their module dependencies.
pnpm init
Create a `package.json` file:
pnpm {{[i|install]}}
Download all the packages listed as dependencies in `package.json`:
pnpm add {{module_name}}@{{version}}
Download a specific version of a package and add it to the list of dependencies in `package.json`:
