Skip to content

Commit

Permalink
Merge pull request #53 from brown-ccv/feat-lint
Browse files Browse the repository at this point in the history
feat: lint
  • Loading branch information
eldu authored Jan 25, 2024
2 parents 9a57ced + bb1840f commit 96dc040
Show file tree
Hide file tree
Showing 58 changed files with 1,702 additions and 3,472 deletions.
4 changes: 4 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npx lint-staged
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ yarn-debug.log*
yarn-error.log*

keycloak.json
firebase.json

# checkpoints
.ipynb_checkpoints
10 changes: 10 additions & 0 deletions .prettierrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
const brownPrettierConfig = require('@brown-ccv/prettier-config');

/** @type {import("prettier").Config} */
module.exports = {
// Base config
...brownPrettierConfig,
// Custom settings
singleQuote: false,
jsxSingleQuote: false,
};
1 change: 0 additions & 1 deletion .prettierrc.json

This file was deleted.

9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
# ccvpubs-frontend
The frontend for the CCV Publications WebApp (https://publications.ccv.brown.edu). Deployed automatically using firebase and github actions.

The frontend for the CCV Publications WebApp (https://publications.ccv.brown.edu). Deployed automatically using firebase and github actions.

**NOTE:** Preview deployments will not work for the authenticated part of the app (adding publications) due to the dynamism of the redirect URL.

## Installation

* git clone this repository
* cd ccvpubs-frontend
* npm install
- git clone this repository
- cd ccvpubs-frontend
- npm install

## Available Scripts

Expand Down
Loading

0 comments on commit 96dc040

Please sign in to comment.