diff --git a/.github/workflows/prettier.yml b/.github/workflows/prettier.yml new file mode 100644 index 0000000..6289ec4 --- /dev/null +++ b/.github/workflows/prettier.yml @@ -0,0 +1,30 @@ +name: Prettier + +on: + push: + branches: [ development, master ] + pull_request: + branches: [ development, master ] + +jobs: + lint: + name: Run prettier + runs-on: ubuntu-latest + + steps: + - name: Check out Git repository + uses: actions/checkout@v2 + + - name: Set up Node.js + uses: actions/setup-node@v1 + with: + node-version: 12 + + - name: Install Node.js dependencies + run: npm ci + + - name: Run linter + uses: wearerequired/lint-action@v1 + with: + prettier: true + auto_fix: true diff --git a/design/README.md b/design/README.md index 46aac2e..b414517 100644 --- a/design/README.md +++ b/design/README.md @@ -1,4 +1,5 @@ # Current Designs + diff --git a/src/components/CreateNewEvent.js b/src/components/CreateNewEvent.js index 17c2e00..923f489 100644 --- a/src/components/CreateNewEvent.js +++ b/src/components/CreateNewEvent.js @@ -44,7 +44,7 @@ const useStyles = makeStyles(theme => ({ width: '200px', height: '38px', borderRadius: '20px', - marginRight: '15px', + marginRight: '15px' }, createbtn: { marginTop: '60px', @@ -60,7 +60,7 @@ const useStyles = makeStyles(theme => ({ width: '200px', height: '38px', borderRadius: '20px', - marginRight: '60px', + marginRight: '60px' }, inputDiv: { background: 'rgba(42, 23, 89, 0.25)',