Skip to content

v1.1.0: Adjust lint rules; upgrade to TypeScript 5.1

Compare
Choose a tag to compare
@nchevsky nchevsky released this 12 Jul 23:36
· 7 commits to master since this release

🌎 External changes

  • Exempt Jest mocks and tests from lint rules react/forbid-foreign-prop-types, react/jsx-props-no-spreading.
  • Exempt Jest mocks from lint rules import/export, import/prefer-default-export.
  • Exempt CommonJS Jest mocks from lint rule import/no-unused-modules, as it only supports ESM.
  • Relax lint rule react/no-unstable-nested-components by adding exception allowAsProps.
  • Fix globs for Jest lint rules to include files in subdirectories of __mocks__ and __tests__.
  • Narrow the return type of guard isObject() to be non-nullable.
  • Upgrade to TypeScript 5.1.

🏠 Internal changes

  • Implement minimum unit test coverage thresholds.

🧹 Chores

  • Upgrade dependencies.