Move backend lint config to cli config

This commit is contained in:
Fredrik Adelöw
2020-04-28 15:54:34 +02:00
parent 9ccf3b0623
commit 69a3fa79e7
7 changed files with 81 additions and 14 deletions
+1 -4
View File
@@ -1,6 +1,3 @@
module.exports = {
rules: {
'no-console': 0, // Permitted in console programs
'new-cap': ['error', { capIsNew: false }], // Because Express constructs things e.g. like 'const r = express.Router()'
},
extends: [require.resolve('@backstage/cli/config/eslint.backend')],
};