From f3a0969837c02706e0d59195f992fa7de874699a Mon Sep 17 00:00:00 2001 From: bzzz-coding <86077274+bzzz-coding@users.noreply.github.com> Date: Tue, 23 Jan 2024 09:53:43 -0800 Subject: [PATCH 01/10] Added __init__.py file and updated frontend.md --- mkdocs/docs/developer/frontend.md | 2 +- mkdocs/mkdocs-config/__init__.py | 0 2 files changed, 1 insertion(+), 1 deletion(-) create mode 100644 mkdocs/mkdocs-config/__init__.py diff --git a/mkdocs/docs/developer/frontend.md b/mkdocs/docs/developer/frontend.md index 6cec9973..4907dc22 100644 --- a/mkdocs/docs/developer/frontend.md +++ b/mkdocs/docs/developer/frontend.md @@ -57,7 +57,7 @@ _
Frontend Architecture
_ ## Summary -**Frontend Tech Stack**: React, Babel, webpack, Jest, React Testing Library, HTML, SCSS, JS +**Frontend Tech Stack**: React, Babel, webpack, Jest, React Testing Library, HTML, SCSS, JS, TailwindCSS The over ninety percent of our frontend architecture is housed in our `frontend/` directory. This directory is a [Django app](https://docs.djangoproject.com/en/3.2/intro/tutorial01/), which is a set of files that can be ported to any Django-based application. diff --git a/mkdocs/mkdocs-config/__init__.py b/mkdocs/mkdocs-config/__init__.py new file mode 100644 index 00000000..e69de29b From 5cf4d1b12d0cfeecbd16f65b113a50f949c07f8d Mon Sep 17 00:00:00 2001 From: bzzz-coding <86077274+bzzz-coding@users.noreply.github.com> Date: Tue, 23 Jan 2024 10:13:15 -0800 Subject: [PATCH 02/10] Ignored frontend.md in .stylelintrc.json --- .github/linters/.stylelintrc.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/linters/.stylelintrc.json b/.github/linters/.stylelintrc.json index a2ff0b67..b6602b27 100644 --- a/.github/linters/.stylelintrc.json +++ b/.github/linters/.stylelintrc.json @@ -6,5 +6,5 @@ "stylelint-config-standard-scss", "stylelint-config-prettier-scss" ], - "ignoreFiles": ["../../frontend/src/components/_normalize.scss"] + "ignoreFiles": ["../../frontend/src/components/_normalize.scss", "../../mkdocs/docs/developer/frontend.md"] } From ed3d9959f9a9759e6f9c1ad9ba2abfea9ff197fe Mon Sep 17 00:00:00 2001 From: bzzz-coding <86077274+bzzz-coding@users.noreply.github.com> Date: Tue, 23 Jan 2024 10:26:51 -0800 Subject: [PATCH 03/10] Ignore all md files in mkdocs folder for linting --- .github/linters/.stylelintrc.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/linters/.stylelintrc.json b/.github/linters/.stylelintrc.json index b6602b27..27c6a9ae 100644 --- a/.github/linters/.stylelintrc.json +++ b/.github/linters/.stylelintrc.json @@ -6,5 +6,6 @@ "stylelint-config-standard-scss", "stylelint-config-prettier-scss" ], - "ignoreFiles": ["../../frontend/src/components/_normalize.scss", "../../mkdocs/docs/developer/frontend.md"] + "ignoreFiles": ["../../frontend/src/components/_normalize.scss", "mkdocs/**/*.md" +] } From d2833f9d69f5ea113a8fd8b656b07391d247fc6d Mon Sep 17 00:00:00 2001 From: bzzz-coding <86077274+bzzz-coding@users.noreply.github.com> Date: Tue, 23 Jan 2024 10:33:29 -0800 Subject: [PATCH 04/10] Ignore all md files and patterns in mkdocs folder for linting --- .github/linters/.stylelintrc.json | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/linters/.stylelintrc.json b/.github/linters/.stylelintrc.json index 27c6a9ae..61ce915a 100644 --- a/.github/linters/.stylelintrc.json +++ b/.github/linters/.stylelintrc.json @@ -6,6 +6,11 @@ "stylelint-config-standard-scss", "stylelint-config-prettier-scss" ], - "ignoreFiles": ["../../frontend/src/components/_normalize.scss", "mkdocs/**/*.md" -] + "ignoreFiles": [ + "../../frontend/src/components/_normalize.scss", + "mkdocs/**/*.md", + "mkdocs/docs/developer/frontend.md", + "../../mkdocs/docs/developer/frontend.md" + ], + "ignorePatterns": ["mkdocs/**/*.md"] } From a52e0d441db0e4d22df16e71b540e591fb946c9b Mon Sep 17 00:00:00 2001 From: bzzz-coding <86077274+bzzz-coding@users.noreply.github.com> Date: Tue, 23 Jan 2024 10:40:31 -0800 Subject: [PATCH 05/10] Ignore all md patterns in mkdocs folder for linting --- .github/linters/.stylelintrc.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/linters/.stylelintrc.json b/.github/linters/.stylelintrc.json index 61ce915a..23ad6783 100644 --- a/.github/linters/.stylelintrc.json +++ b/.github/linters/.stylelintrc.json @@ -12,5 +12,5 @@ "mkdocs/docs/developer/frontend.md", "../../mkdocs/docs/developer/frontend.md" ], - "ignorePatterns": ["mkdocs/**/*.md"] + "ignorePatterns": ["**/mkdocs/**/*.md"] } From 843c670e82d573abe0b3f83e7a5f13d421b2d7dd Mon Sep 17 00:00:00 2001 From: bzzz-coding <86077274+bzzz-coding@users.noreply.github.com> Date: Tue, 23 Jan 2024 10:48:43 -0800 Subject: [PATCH 06/10] Updated .stylelintrc.json --- .github/linters/.stylelintrc.json | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/linters/.stylelintrc.json b/.github/linters/.stylelintrc.json index 23ad6783..29f63ce1 100644 --- a/.github/linters/.stylelintrc.json +++ b/.github/linters/.stylelintrc.json @@ -8,9 +8,7 @@ ], "ignoreFiles": [ "../../frontend/src/components/_normalize.scss", - "mkdocs/**/*.md", - "mkdocs/docs/developer/frontend.md", + "**/mkdocs/**/*.md", "../../mkdocs/docs/developer/frontend.md" - ], - "ignorePatterns": ["**/mkdocs/**/*.md"] + ] } From 93a6c2313fd935f5ec76ee7a097536f2fccce6d8 Mon Sep 17 00:00:00 2001 From: bzzz-coding <86077274+bzzz-coding@users.noreply.github.com> Date: Tue, 23 Jan 2024 10:53:05 -0800 Subject: [PATCH 07/10] Updated .stylelintrc.json --- .github/linters/.stylelintrc.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/linters/.stylelintrc.json b/.github/linters/.stylelintrc.json index 29f63ce1..8083d6d8 100644 --- a/.github/linters/.stylelintrc.json +++ b/.github/linters/.stylelintrc.json @@ -10,5 +10,6 @@ "../../frontend/src/components/_normalize.scss", "**/mkdocs/**/*.md", "../../mkdocs/docs/developer/frontend.md" - ] + ], + "ignorePatterns": ["**/mkdocs/**/*.md", "!**/*.md"] } From c02236ac28b8fd39a2d7f04d95ab0413ea43e924 Mon Sep 17 00:00:00 2001 From: bzzz-coding <86077274+bzzz-coding@users.noreply.github.com> Date: Tue, 23 Jan 2024 11:06:10 -0800 Subject: [PATCH 08/10] Updated .stylelintrc.json --- .github/linters/.stylelintrc.json | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/linters/.stylelintrc.json b/.github/linters/.stylelintrc.json index 8083d6d8..e1a1d63e 100644 --- a/.github/linters/.stylelintrc.json +++ b/.github/linters/.stylelintrc.json @@ -11,5 +11,13 @@ "**/mkdocs/**/*.md", "../../mkdocs/docs/developer/frontend.md" ], - "ignorePatterns": ["**/mkdocs/**/*.md", "!**/*.md"] + "ignorePatterns": ["**/mkdocs/**/*.md", "!**/*.md"], + "overrides": [ + { + "files": ["**/*.md"], + "options": { + "processor": "markdown/markdown" + } + } + ] } From e571b8e672f8cc9afddc2b8b83b0de272f1ea1fd Mon Sep 17 00:00:00 2001 From: bzzz-coding <86077274+bzzz-coding@users.noreply.github.com> Date: Tue, 23 Jan 2024 11:20:19 -0800 Subject: [PATCH 09/10] Updated .stylelintrc.json --- .github/linters/.stylelintrc.json | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/.github/linters/.stylelintrc.json b/.github/linters/.stylelintrc.json index e1a1d63e..2959a693 100644 --- a/.github/linters/.stylelintrc.json +++ b/.github/linters/.stylelintrc.json @@ -7,17 +7,7 @@ "stylelint-config-prettier-scss" ], "ignoreFiles": [ - "../../frontend/src/components/_normalize.scss", - "**/mkdocs/**/*.md", - "../../mkdocs/docs/developer/frontend.md" + "../../frontend/src/components/_normalize.scss" ], - "ignorePatterns": ["**/mkdocs/**/*.md", "!**/*.md"], - "overrides": [ - { - "files": ["**/*.md"], - "options": { - "processor": "markdown/markdown" - } - } - ] + "ignorePatterns": ["*.md"] } From 968338e113a95ad57df32034b0f54cdd4e3cff3f Mon Sep 17 00:00:00 2001 From: bzzz-coding <86077274+bzzz-coding@users.noreply.github.com> Date: Tue, 23 Jan 2024 11:45:31 -0800 Subject: [PATCH 10/10] Updated linter.yml --- .github/workflows/linter.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/linter.yml b/.github/workflows/linter.yml index aa8b7d4d..232d819f 100644 --- a/.github/workflows/linter.yml +++ b/.github/workflows/linter.yml @@ -63,6 +63,7 @@ jobs: VALIDATE_ALL_CODEBASE: ${{ (github.event_name == 'workflow_dispatch' && true) || false }} VALIDATE_HTML: false VALIDATE_MARKDOWN: false + VALIDATE_NATURAL_LANGUAGE: false VALIDATE_PYTHON: false VALIDATE_PYTHON_BLACK: false VALIDATE_PYTHON_FLAKE8: false