Skip to main content

๐Ÿ’Ž Strictest

Use when you want the strongest available compiler-strictness enforcement this plugin can validate for tsconfig*.json files.

Config keyโ€‹

tsconfig.configs.strictest

Flat Config exampleโ€‹

import tsconfig from "eslint-plugin-tsconfig";

export default [tsconfig.configs.strictest];

Rules in this presetโ€‹

  • Fix legend:
    • ๐Ÿ”ง = autofixable
    • ๐Ÿ’ก = suggestions available
    • โ€” = report only
RuleFix
no-disable-strict-subsetโ€”
no-skip-lib-checkโ€”
no-suppress-implicit-any-index-errorsโ€”
require-exact-optional-property-types๐Ÿ”ง
require-force-consistent-casing-in-file-names๐Ÿ”ง
require-isolated-declarations๐Ÿ”ง
require-no-fallthrough-cases-in-switch๐Ÿ”ง
require-no-implicit-override๐Ÿ”ง
require-no-implicit-returns๐Ÿ”ง
require-no-property-access-from-index-signature๐Ÿ”ง
require-no-unchecked-indexed-access๐Ÿ”ง
require-no-unused-locals๐Ÿ”ง
require-no-unused-parameters๐Ÿ”ง
require-strict-mode๐Ÿ”ง
require-use-unknown-in-catch-variables๐Ÿ”ง
PresetDescription
๐ŸŸก recommendedDefault baseline for most TypeScript codebases
๐Ÿ”ด strictRecommended plus a richer set of safety rules
๐ŸŸข jsconfigStrictness-oriented coverage for jsconfig.json projects
๐ŸŸฃ allEvery rule, including experimental coverage
๐Ÿ”’ strict-modeStrict mode options beyond the base strict flag