Update docs/releases/v1.23.0.md

Co-authored-by: Patrik Oldsberg <poldsberg@gmail.com>
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
This commit is contained in:
Fredrik Adelöw
2024-02-20 14:46:00 +01:00
parent 7647b46f79
commit 645e1cbda5
+12
View File
@@ -30,6 +30,18 @@ Thanks to [@pjungermann](https://github.com/pjungermann)s work, weve now b
This change also deprecates the original `@backstage/plugin-scaffolder-backend-module-bitbucket`, so if youre using the new Backend System we encourage you to move towards using these new modules instead.
### New lint rule to forbid top-level MUI imports
The `@backstage/eslint-rules` package now provides the `@backstage/no-top-level-material-ui-4-imports` rule that forbids imports such as `import { Box } from '@material-ui/core'`. This rule is currently disabled by default and needs to be manually enabled in `.eslintrc.js`:
```ts
module.exports = require('@backstage/cli/config/eslint-factory')(__dirname, {
rules: {
'@backstage/no-top-level-material-ui-4-imports': 'error',
},
});
```
### Automatic package `repository` fields
The `backstage-cli repo fix` command will now update the `repository` fields in all workspace packages, as long as the root `package.json` has the `repository` field set.