Skip to content

Releases: bamlab/react-native-project-config

[email protected]

09 Jan 15:32
Compare
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
Compare
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
Compare
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