/examples

Various examples of working with typescript-eslint. 📝

Primary LanguageTypeScriptMIT LicenseMIT

typescript-eslint Examples

Various examples of working with typescript-eslint. 📝

Example Use Case
eslint-plugin-example-typed-linting ESLint plugin showing typed linting with @typescript-eslint/utils.
fastify-floating-promises Using Fastify along with the @typescript-eslint/no-floating-promises allowForKnownSafePromises option.
flat-config-disable-type-checked Linting TypeScript code with type information, disabling typed rules on *.js files.
flat-config-typed Linting TypeScript code with type information using Project Service.
flat-config-typed-tsconfig Linting TypeScript code with type information and a tsconfig.eslint.json.
flat-config-untyped Linting TypeScript code without type information.
node-test-floating-promises Using node:test along with the @typescript-eslint/no-floating-promises allowForKnownSafeCalls option.
typed-rule-via-linter Running a single typed rule via ESLint's Linter class.
typescript-estree-standalone Using the @typescript-eslint/estree package to generate an AST standalone (without ESLint).