create-app: add lint command
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
module.exports = {
|
||||
extends: [require.resolve('@backstage/cli/config/eslint.backend')],
|
||||
ignorePatterns: ['templates/**'],
|
||||
rules: {
|
||||
'no-console': 0,
|
||||
},
|
||||
|
||||
@@ -21,7 +21,8 @@
|
||||
"backstage-create-app": "bin/backstage-create-app"
|
||||
},
|
||||
"scripts": {
|
||||
"build": "backstage-cli build --outputs cjs"
|
||||
"build": "backstage-cli build --outputs cjs",
|
||||
"lint": "backstage-cli lint"
|
||||
},
|
||||
"dependencies": {
|
||||
"commander": "^4.1.1",
|
||||
|
||||
Reference in New Issue
Block a user