Skip to content

Conversation

arpanlaha
Copy link
Member

@arpanlaha arpanlaha commented May 17, 2020

Version 2.0.0

Changes

Breaking changes are in bold.

Ownership

  • Migrates package ownership from @h4iuiuc to @hack4impact-uiuc to join bridge

Rules

  • Replaces no-anonymous-parameterless-props with the more general no-redundant-functions
  • no-redundant-functions added to detect any functions that are redundant wrappers of other functions (e.g. (foo) => console.log(foo))

Configs

  • Splits the recommended config in two - the base config intended for any project and the `react config
  • Adds all viable HTTP response codes to the ignore list for both no-magic-numbers and @typescript-eslint/no-magic-numbers
  • Adds various rules to the base and react configs that were not previously present in the recommended config

Other

  • Updates the following dependencies with breaking changes
    • @typescript-eslint packages (2 -> 3) - updates configs with new/removed rules
    • eslint (peer dependency, 6 -> 7) - drops support for Node 8
    • eslint-plugin-react-hooks (3 -> 4) - no observable changes made
  • Adds left-out tests to documentation
  • Refactors tests to allow programmatic generation of tests across different scenarios (e.g. class vs. function components, different function types)

@arpanlaha arpanlaha marked this pull request as ready for review May 26, 2020 03:30
@arpanlaha arpanlaha merged commit 178aed4 into master May 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant