Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Complete migration away from MUI #492

Draft
wants to merge 25 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
7a65553
add 2024 sponsor logos
JoshCLim Jun 11, 2024
87691b1
add tailwind prettier plugin
JoshCLim Jun 14, 2024
d89aba4
update eslint-plugin-prettier to compatible version
JoshCLim Jun 14, 2024
e268005
format and lint code
JoshCLim Jun 14, 2024
67b9d54
update eslint config
JoshCLim Jun 14, 2024
93c085f
remove grouped tailwind psuedo-classes
JoshCLim Jun 16, 2024
9f116e4
refactor(frontend): remove MUI theme and CSS baseline
JoshCLim Jun 16, 2024
a20223c
resolve merge conflict from sponsor logos
JoshCLim Jun 16, 2024
c91aa3d
format tailwind classes
JoshCLim Jun 16, 2024
3da7c3b
Merge branch 'main' into CHAOS-489-update-eslint-prettier-config
JoshCLim Jun 16, 2024
4ae417f
set prettier config options
JoshCLim Jun 16, 2024
f38688c
format according to prettier config
JoshCLim Jun 16, 2024
1c88a7b
Merge branch 'CHAOS-489-update-eslint-prettier-config' into CHAOS-491…
JoshCLim Jun 16, 2024
6b818da
format tw macros via Tailwind functions config
JoshCLim Jun 16, 2024
71e7655
Merge branch 'CHAOS-489-update-eslint-prettier-config' into CHAOS-491…
JoshCLim Jun 16, 2024
484adc2
AdminSideBar styles and width state rewritten
JoshCLim Jun 16, 2024
afb2b4c
feat(AdminSidebar): migrate admin sidebar from MUI to Radix UI Primit…
JoshCLim Jun 16, 2024
886ac12
feat(CampaignCreationPreview): migrate from MUI and remove bad Campai…
JoshCLim Jun 17, 2024
1d61492
feat(AdminSidebar): add borders between organisations
JoshCLim Jun 17, 2024
e0f8690
refactor(BackgroundWrapper): delete unused component
JoshCLim Jun 18, 2024
5f822ce
feat(ApplicationPreviewer): migrate ApplicationPreviewer away from MUI
JoshCLim Jun 18, 2024
6c5c1f4
feat(CreateOrganisationForm): rewrite components using Tailwind
JoshCLim Jun 25, 2024
6792d86
feat(Dropdown): remove unused imports
JoshCLim Jun 25, 2024
fbeb636
more migration
JoshCLim Jul 18, 2024
2ea1a7a
feat(Signup): migrate to twin
JoshCLim Aug 3, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
62 changes: 35 additions & 27 deletions frontend/.eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,13 @@
"plugin:import/typescript",
"plugin:react/jsx-runtime"
],
"ignorePatterns": [
"babel-plugin-macros.config.js",
"tailwind.config.js",
"prettier.config.js",
"postcss.config.js",
"vite.config.ts"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 12,
Expand All @@ -32,42 +39,43 @@
"@typescript-eslint/no-shadow": "off",
"no-unused-vars": "off",
"@typescript-eslint/no-unused-vars": [
1,
"warn",
{
"varsIgnorePattern": "^_",
"argsIgnorePattern": "^_"
}
],
"@typescript-eslint/naming-convention": [
"error",
{
"selector": "default",
"format": ["camelCase"],
"leadingUnderscore": "allow",
"trailingUnderscore": "allow"
},
"error",
{
"selector": "default",
"format": ["camelCase"],
"leadingUnderscore": "allow",
"trailingUnderscore": "allow"
},

{
"selector": "variable",
"format": ["camelCase", "UPPER_CASE", "PascalCase"],
"leadingUnderscore": "allow",
"trailingUnderscore": "allow"
},
{
"selector": "variable",
"format": ["camelCase", "UPPER_CASE", "PascalCase"],
"leadingUnderscore": "allow",
"trailingUnderscore": "allow"
},

{
"selector": "function",
"format": ["camelCase", "PascalCase"]
},
{
"selector": "function",
"format": ["camelCase", "PascalCase"]
},

{
"selector": "typeLike",
"format": ["PascalCase"]
},
{
"selector": "typeLike",
"format": ["PascalCase"],
"leadingUnderscore": "allow"
},

{
"selector": "objectLiteralProperty",
"format": null
}
{
"selector": "objectLiteralProperty",
"format": null
}
],
"import/prefer-default-export": "off",
"import/no-extraneous-dependencies": ["error", { "devDependencies": true }],
Expand Down Expand Up @@ -103,7 +111,7 @@
"custom": "ignore"
}
],
"react/no-unknown-property": [2, { "ignore": ["tw", "css"] }],
"react/no-unknown-property": ["error", { "ignore": ["tw", "css"] }],
"react/require-default-props": "off",
"@typescript-eslint/consistent-type-imports": "error",
"no-void": "off",
Expand Down
2 changes: 1 addition & 1 deletion frontend/index.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html>
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
Expand Down
Loading
Loading