Skip to content

Releases: bamlab/react-native-project-config

[email protected]

11 Sep 15:12
5a3b4f6

Choose a tag to compare

Bump to V9 and FlatConfig

What's Changed

  • chore(deps): update devdependencies by @renovate[bot] in #109
  • fix(deps): update dependency react-native to ^0.73.0 by @renovate[bot] in #101
  • feat(eslint-plugin): no-unnecessary-condition by @AntoineThibi in #116
  • feat(eslint-plugin)!: add no-different-displayname custom rule by @remilry in #120
  • chore(deps): update the version of yarn by @AntoineThibi in #121
  • fix(deps): fix yarn4 issues with the package not being linked by @AntoineThibi in #122
  • refactor(deps): use format rules from eslint-plugin-jest by @AntoineThibi in #123
  • chore(deps): Migrate to FlatConfig by @Arlevoy in #125
  • chore(release): Bump version to 7.0.0 for @bam.tech/eslint-plugin by @EliottG-Bam in #126

New Contributors

Full Changelog: https://github.com/bamlab/react-native-project-config/compare/@bam.tech/[email protected][email protected]/[email protected]

[email protected]

09 Jan 15:32

Choose a tag to compare

What's Changed

eslint-plugin

8 new rules that help with avoiding bugs and keeping code readable were added.

Full Changelog: https://github.com/bamlab/react-native-project-config/compare/@bam.tech/[email protected][email protected]/[email protected]

[email protected]

02 Jan 17:14

Choose a tag to compare

What's Changed

How to update

This release adds a deterministic config for JS/TS imports, included in recommended. Imports will be grouped and sorted automatically.

yarn up @bam.tech/eslint-plugin

# peer-deps have changed
npx install-peerdeps @bam.tech/eslint-plugin --dev --yarn

# You will probably have lots of changes, but most of the new rules should be auto-fixable
yarn test:lint --fix 

If you were using VS Code's organizeImports, you can remove it.

{
    "editor.codeActionsOnSave": {
      "source.fixAll.eslint": true,
      "source.organizeImports": false // done through `@bam.tech/eslint-plugin` to allow enforcing in CI
  },
}

You can have a look at the config, in case you want to customize some rules

@bam.tech/[email protected]

14 Sep 13:26

Choose a tag to compare

1.0.0 (2023-09-14)

Features

  • add array-callback-return rule (#58) (0b24132)
  • add new rule react/no-unused-prop-types (#52) (5cfca6d)
  • add unused imports rules (#57) (fbdcd15)
  • remove no-raw-text-r
  • feat: remove no-raw-text rule (#54) (6d5732e)

BREAKING CHANGES

  • add array-callback-return rule
  • add react/no-unused-prop-types rule
  • upgrade testing library plugin