Releases: bamlab/react-native-project-config
Releases · bamlab/react-native-project-config
[email protected]
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
- @AntoineThibi made their first contribution in #116
- @remilry made their first contribution in #120
- @Arlevoy made their first contribution in #125
- @EliottG-Bam made their first contribution in #126
Full Changelog: https://github.com/bamlab/react-native-project-config/compare/@bam.tech/[email protected][email protected]/[email protected]
[email protected]
What's Changed
eslint-plugin
- add multiple bug prevention rules by @matthieugicquel in #110
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]
What's Changed
- feat(eslint-plugin): add new imports config by @matthieugicquel in #108
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]
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