Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
lukestanley committed Oct 16, 2024
1 parent 22819b4 commit 738c70f
Show file tree
Hide file tree
Showing 618 changed files with 20,969 additions and 17,953 deletions.
50 changes: 24 additions & 26 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,34 +1,32 @@
// For format details, see https://aka.ms/devcontainer.json. For config options, see the README at:
// https://github.com/microsoft/vscode-dev-containers/tree/v0.241.1/containers/typescript-node
{
"name": "Node.js & TypeScript",
"build": {
"dockerfile": "Dockerfile",
// Update 'VARIANT' to pick a Node version: 18, 16, 14.
// Append -bullseye or -buster to pin to an OS version.
// Use -bullseye variants on local on arm64/Apple Silicon.
"args": {
"VARIANT": "16-bullseye"
}
},
"name": "Node.js & TypeScript",
"build": {
"dockerfile": "Dockerfile",
// Update 'VARIANT' to pick a Node version: 18, 16, 14.
// Append -bullseye or -buster to pin to an OS version.
// Use -bullseye variants on local on arm64/Apple Silicon.
"args": {
"VARIANT": "16-bullseye"
}
},

// Configure tool-specific properties.
"customizations": {
// Configure properties specific to VS Code.
"vscode": {
// Add the IDs of extensions you want installed when the container is created.
"extensions": [
"dbaeumer.vscode-eslint"
]
}
},
// Configure tool-specific properties.
"customizations": {
// Configure properties specific to VS Code.
"vscode": {
// Add the IDs of extensions you want installed when the container is created.
"extensions": ["dbaeumer.vscode-eslint"]
}
},

// Use 'forwardPorts' to make a list of ports inside the container available locally.
"forwardPorts": [4200],
// Use 'forwardPorts' to make a list of ports inside the container available locally.
"forwardPorts": [4200],

// Use 'postCreateCommand' to run commands after the container is created.
"postCreateCommand": "npm install --legacy-peer-deps",
// Use 'postCreateCommand' to run commands after the container is created.
"postCreateCommand": "npm install --legacy-peer-deps",

// Comment out to connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root.
"remoteUser": "node"
// Comment out to connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root.
"remoteUser": "node"
}
28 changes: 12 additions & 16 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,14 @@
{
"env": {
"browser": true,
"es2021": true
},
"overrides": [
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module"
},
"plugins": [
"@typescript-eslint"
],
"rules": {
}
"env": {
"browser": true,
"es2021": true
},
"overrides": [],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module"
},
"plugins": ["@typescript-eslint"],
"rules": {}
}
13 changes: 9 additions & 4 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -1,36 +1,41 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: ''
assignees: ''

title: ""
labels: ""
assignees: ""
---

**Bug description**

<!-- A clear and concise description of what the bug is. -->

<!-- Screenshot and / or short video can be really helpful in understanding the issue, especially for dynamic or interactive bugs. -->

**Reproduction steps**

<!-- Provide steps to reproduce the behaviour, e.g: -->

1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

**Expected behaviour**

<!-- Explain clearly and simply what you expected to happen instead of the bug. -->

**Flow Configuration** <!-- To help diagnose issues with Flows, the flow's JSON configuration or a shared link to the Flow makes it easier to replicate and understand the issue. For ways to share flows see: https://kendraio-app.readthedocs.io/en/latest/workflow/sharing.html -->

**Runtime environment**

- OS: <!-- [e.g. Ubuntu] -->
- Browser: <!-- [e.g. Firefox 123, Chrome 45, Safari 67] -->
- App version:
- Angular Version: <!-- (if known) -->

**Additional context**

<!--Add any other context about the problem here. -->

<!--- Please check for label tags that match the issue type, e.g., use 'state' tag for state reactivity bugs. -->
2 changes: 1 addition & 1 deletion .github/actions/tests/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ runs:
args:
- ${{ inputs.vercel-token }}
- ${{ inputs.repo }}
- ${{ inputs.record }}
- ${{ inputs.record }}
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: firebase_deploy

on:
push:
branches: [ main ]
branches: [main]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
Expand Down Expand Up @@ -45,4 +45,4 @@ jobs:
with:
args: deploy --only hosting,functions
env:
GCP_SA_KEY: ${{ secrets.GCP_SA_KEY }}
GCP_SA_KEY: ${{ secrets.GCP_SA_KEY }}
2 changes: 1 addition & 1 deletion .github/workflows/vercel_deployment_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ jobs:
with:
vercel-token: ${{ secrets.VERCEL_TOKEN }}
repo: kendraio-app&teamId=kendraio
record: ${{ secrets.CYPRESS_RECORD_KEY }}
record: ${{ secrets.CYPRESS_RECORD_KEY }}
6 changes: 3 additions & 3 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@ build:

# Build documentation in the docs/ directory with Sphinx
sphinx:
configuration: docs/conf.py
configuration: docs/conf.py

# If using Sphinx, optionally build your docs in additional formats such as PDF
# formats:
# - pdf

# Optionally declare the Python requirements required to build your docs
python:
install:
- requirements: docs/requirements.txt
install:
- requirements: docs/requirements.txt
2 changes: 1 addition & 1 deletion SECURITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Email [email protected] with full details of the security issue,
we will add it to the private security issue workspace, and reply to
you with full details of how we are dealing with the issue.

We thank you for your contribution and for responsible
We thank you for your contribution and for responsible
reporting of security issues.

:heart:
25 changes: 7 additions & 18 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"@schematics/angular:application": {
"strict": true
}
},
},
"architect": {
"build": {
"builder": "@angular-devkit/build-angular:browser",
Expand Down Expand Up @@ -161,24 +161,17 @@
"polyfills": "src/polyfills.ts",
"tsConfig": "src/tsconfig.spec.json",
"karmaConfig": "src/karma.conf.js",
"styles": [
"src/styles.scss"
],
"styles": ["src/styles.scss"],
"scripts": [],
"assets": [
"src/favicon.ico",
"src/assets",
"src/manifest.json"
]
"assets": ["src/favicon.ico", "src/assets", "src/manifest.json"]
}
},
"cypress-run": {
"builder": "@cypress/schematic:cypress",
"options": {
"devServerTarget": "kendraio-app:serve"
},
"configurations": {
}
"configurations": {}
},
"cypress-open": {
"builder": "@cypress/schematic:cypress",
Expand All @@ -194,8 +187,7 @@
"watch": true,
"headless": false
},
"configurations": {
}
"configurations": {}
}
}
},
Expand All @@ -219,12 +211,9 @@
}
}
}

},
"cli": {
"analytics": false,
"schematicCollections": [
"@ngrx/schematics"
]
"schematicCollections": ["@ngrx/schematics"]
}
}
}
22 changes: 11 additions & 11 deletions cypress.config.ts
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
import { defineConfig } from 'cypress'
import { defineConfig } from "cypress";

export default defineConfig({
videosFolder: 'cypress/videos',
videosFolder: "cypress/videos",
video: false,
screenshotsFolder: 'cypress/screenshots',
fixturesFolder: 'cypress/fixtures',
reporter: 'mochawesome',
screenshotsFolder: "cypress/screenshots",
fixturesFolder: "cypress/fixtures",
reporter: "mochawesome",

reporterOptions: {
reportDir: 'cypress/results',
reportDir: "cypress/results",
overwrite: false,
html: true,
json: true,
},

watchForFileChanges: false,
projectId: 'ebzwp1',
projectId: "ebzwp1",
pageLoadTimeout: 100000,
defaultCommandTimeout: 30000,

Expand All @@ -29,8 +29,8 @@ export default defineConfig({
e2e: {
setupNodeEvents(on, config) {},
supportFile: false,
baseUrl: 'http://localhost:4200',
specPattern: 'cypress/e2e/**/*.{js,jsx,ts,tsx}',
experimentalRunAllSpecs: true
baseUrl: "http://localhost:4200",
specPattern: "cypress/e2e/**/*.{js,jsx,ts,tsx}",
experimentalRunAllSpecs: true,
},
})
});
Loading

0 comments on commit 738c70f

Please sign in to comment.