-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit e05d436
Showing
154 changed files
with
9,846 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
# Javascript Node CircleCI 2.0 configuration file | ||
# | ||
# Check https://circleci.com/docs/2.0/language-javascript/ for more details | ||
version: 2 | ||
jobs: | ||
lint: | ||
docker: | ||
- image: cimg/node:18.1.0 | ||
steps: | ||
- checkout | ||
- restore_cache: | ||
key: package-cache-{{checksum "package.json"}} | ||
- run: | ||
command: yarn install | ||
- save_cache: | ||
key: package-cache-{{checksum "package.json"}} | ||
paths: | ||
- node_modules | ||
- run: | ||
command: yarn run lint | ||
|
||
workflows: | ||
version: 2 | ||
weekly_rebase: | ||
jobs: | ||
- lint: | ||
filters: | ||
tags: | ||
only: /^(v\d*\.\d*\.\d*)(?:-(\w*\d*))?/ | ||
branches: | ||
ignore: /.*/ | ||
|
||
test_and_deploy: | ||
jobs: | ||
- lint |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
NEXT_PUBLIC_ACM_API_URL="https://api.acmucsd.com/api/v2" | ||
NEXT_PUBLIC_NOTION_API_TOKEN=""" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
{ | ||
"parser": "@typescript-eslint/parser", | ||
"extends": [ | ||
"airbnb", | ||
"prettier", | ||
"next", | ||
"next/core-web-vitals" | ||
], | ||
"plugins": [ | ||
"prettier", | ||
"node", | ||
"@typescript-eslint", | ||
"import", | ||
"jsdoc" | ||
], | ||
"rules": { | ||
"prettier/prettier": "error", | ||
"no-unused-vars": "warn", | ||
"no-console": "warn", | ||
"func-names": "off", | ||
"no-process-exit": "off", | ||
"object-shorthand": "off", | ||
"class-methods-use-this": "off", | ||
"arrow-body-style": "off", | ||
"react/jsx-props-no-spreading": "off", | ||
"import/extensions": "off", | ||
"no-shadow": "off", | ||
"react/require-default-props": "off", | ||
"jsx-a11y/anchor-is-valid": [ | ||
"error", | ||
{ | ||
"components": [ | ||
"Link" | ||
], | ||
"specialLink": [ | ||
"to" | ||
] | ||
} | ||
], | ||
"react/jsx-filename-extension": [ | ||
2, | ||
{ | ||
"extensions": [ | ||
".js", | ||
".jsx", | ||
".ts", | ||
".tsx" | ||
] | ||
} | ||
], | ||
"react/function-component-definition": [ | ||
2, | ||
{ | ||
"namedComponents": [ | ||
"arrow-function", | ||
"function-declaration" | ||
], | ||
"unnamedComponents": "arrow-function" | ||
} | ||
] | ||
}, | ||
"ignorePatterns": "src/**/*.d.ts" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# Auto detect text files and perform LF normalization | ||
* text=auto |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
- @farisashai |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# Set to true to add reviewers to pull requests | ||
addReviewers: true | ||
|
||
# Set to true to add assignees to pull requests | ||
addAssignees: author | ||
|
||
# A list of reviewers to be added to pull requests (GitHub user name) | ||
reviewers: | ||
- farisashai | ||
|
||
# A number of reviewers added to the pull request | ||
# Set 0 to add all the reviewers (default: 0) | ||
numberOfReviewers: 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
name: 'Auto-Assign Reviewers and Label to New PR' | ||
on: | ||
pull_request: | ||
types: [opened, ready_for_review] | ||
|
||
jobs: | ||
add-reviews-and-labels: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: kentaro-m/[email protected] | ||
- uses: actions-ecosystem/action-add-labels@v1 | ||
with: | ||
labels: 'PR: Needs Review' | ||
github_token: ${{ secrets.GITHUB_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
name: 'Add Label to Fully-Reviewed PR' | ||
on: pull_request_review | ||
jobs: | ||
labelWhenApproved: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Add approval label | ||
uses: pullreminders/label-when-approved-action@master | ||
env: | ||
APPROVALS: 2 | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
ADD_LABEL: 'PR: Good to Merge' | ||
REMOVE_LABEL: | | ||
"PR: Needs Review" | ||
"PR: Reviewed w/ Comments" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files. | ||
|
||
# dependencies | ||
/node_modules | ||
/.pnp | ||
.pnp.js | ||
|
||
# testing | ||
/coverage | ||
|
||
# next.js | ||
/.next/ | ||
/out/ | ||
|
||
# production | ||
/build | ||
|
||
# misc | ||
.DS_Store | ||
*.pem | ||
|
||
# debug | ||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
.pnpm-debug.log* | ||
|
||
# local env files | ||
.env*.local | ||
.env.development | ||
.env.production | ||
|
||
# vercel | ||
.vercel | ||
|
||
# typescript | ||
*.tsbuildinfo | ||
next-env.d.ts |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
v18.10.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ | ||
"quoteProps": "as-needed", | ||
"singleQuote": true, | ||
"arrowParens": "avoid", | ||
"tabWidth": 2, | ||
"useTabs": false, | ||
"printWidth": 100, | ||
"proseWrap": "always", | ||
"bracketSpacing": true, | ||
"trailingComma": "es5", | ||
"semi": true, | ||
"jsxSingleQuote": false, | ||
"bracketSameLine": false, | ||
"endOfLine": "auto" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{ | ||
"extends": "stylelint-config-sass-guidelines", | ||
"plugins": ["stylelint-order"], | ||
"rules": { | ||
"order/order": ["custom-properties", "declarations"], | ||
"max-nesting-depth": null, | ||
"selector-max-compound-selectors": null, | ||
"function-parentheses-space-inside": null, | ||
"order/properties-alphabetical-order": true, | ||
"font-family-no-missing-generic-family-keyword": [ | ||
true, | ||
{ | ||
"ignoreFontFamilies": ["Nunito", "Roboto"] | ||
} | ||
], | ||
"selector-class-pattern": "^[a-z][a-zA-Z0-9]+$", | ||
"unit-allowed-list": ["px", "rem", "em", "%", "vh", "vw", "fr", "s", "deg"] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{ | ||
// See https://go.microsoft.com/fwlink/?LinkId=827846 to learn about workspace recommendations. | ||
// Extension identifier format: ${publisher}.${name}. Example: vscode.csharp | ||
// List of extensions which should be recommended for users of this workspace. | ||
"recommendations": [ | ||
"esbenp.prettier-vscode", | ||
"rvest.vs-code-prettier-eslint", | ||
"dbaeumer.vscode-eslint", | ||
"stylelint.vscode-stylelint", | ||
"hex-ci.stylelint-plus", | ||
"formulahendry.auto-rename-tag", | ||
"formulahendry.auto-close-tag", | ||
"vincaslt.highlight-matching-tag", | ||
"christian-kohler.npm-intellisense", | ||
"christian-kohler.path-intellisense", | ||
"burkeholland.simple-react-snippets" | ||
], | ||
// List of extensions recommended by VS Code that should not be recommended for users of this workspace. | ||
"unwantedRecommendations": [] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{ | ||
"editor.defaultFormatter": "esbenp.prettier-vscode", | ||
"editor.formatOnSave": true, | ||
"typescript.preferences.importModuleSpecifier": "non-relative", | ||
"editor.codeActionsOnSave": { | ||
"source.fixAll": true, | ||
"source.organizeImports": true | ||
}, | ||
"css.validate": false, | ||
"less.validate": false, | ||
"scss.validate": false, | ||
"stylelint.validate": [ | ||
"scss" | ||
], | ||
"files.associations": { | ||
"*.env.development": "env", | ||
"*.env.production": "env" | ||
} | ||
} |
Oops, something went wrong.