packages,plugins: migrate to new lint config

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
Patrik Oldsberg
2022-03-07 14:37:14 +01:00
parent ff745f5405
commit 09b37063f2
129 changed files with 237 additions and 406 deletions
+2 -4
View File
@@ -1,7 +1,5 @@
module.exports = {
extends: [require.resolve('@backstage/cli/config/eslint')],
module.exports = require('@backstage/cli/config/eslint-factory')(__dirname, {
rules: {
// Prefer to use rendered.getBy*, which will throw an error
'jest/expect-expect': 0,
},
};
});