add prettier scripts and .prettierignore + workflow check
This commit is contained in:
@@ -69,6 +69,9 @@ jobs:
|
||||
- name: verify doc links
|
||||
run: node docs/verify-links.js
|
||||
|
||||
- name: prettier
|
||||
run: yarn prettier:check
|
||||
|
||||
- name: lint
|
||||
run: yarn lerna -- run lint --since origin/master
|
||||
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
.yarn
|
||||
dist
|
||||
microsite/build
|
||||
coverage
|
||||
*.hbs
|
||||
templates
|
||||
plugins/scaffolder-backend/sample-templates
|
||||
@@ -23,6 +23,7 @@
|
||||
"create-plugin": "backstage-cli create-plugin",
|
||||
"remove-plugin": "backstage-cli remove-plugin",
|
||||
"release": "if [ \"$(git symbolic-ref --short HEAD)\" = master ]; then echo \"don't try to release master\"; exit 1; else lerna version --no-push --force-publish; fi",
|
||||
"prettier:check": "prettier --check .",
|
||||
"lerna": "lerna",
|
||||
"storybook": "yarn workspace storybook start",
|
||||
"build-storybook": "yarn workspace storybook build-storybook"
|
||||
|
||||
Reference in New Issue
Block a user