add prettier scripts and .prettierignore + workflow check

This commit is contained in:
Patrik Oldsberg
2020-09-05 15:53:57 +02:00
parent b4ae5c4d19
commit 7a7396be55
3 changed files with 11 additions and 0 deletions
+3
View File
@@ -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
+7
View File
@@ -0,0 +1,7 @@
.yarn
dist
microsite/build
coverage
*.hbs
templates
plugins/scaffolder-backend/sample-templates
+1
View File
@@ -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"