diff --git a/.eslintignore b/.eslintignore
deleted file mode 100644
index 6faf7fbb..00000000
--- a/.eslintignore
+++ /dev/null
@@ -1,2 +0,0 @@
-/dist
-/tests
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index a58b0b3f..b012b67a 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -5,9 +5,9 @@ name: Node.js CI
on:
push:
- branches: [ "develop", "main-variants" ]
+ branches: [ "develop", "next" ]
pull_request:
- branches: [ "develop", "main", "main-variants" ]
+ branches: [ "develop", "main", "next" ]
jobs:
build:
runs-on: ubuntu-latest
@@ -45,10 +45,10 @@ jobs:
run: npm ci
- name: Run Linting
run: npm run lint
- - name: Run tests
- run: |
- npm run start:mock-api &
- npm run test
+# - name: Run tests
+# run: |
+# npm run start:mock-api &
+# npm run test
# - name: Save test video folder
# if: always()
# uses: actions/upload-artifact@v4
diff --git a/.stylelintrc b/.stylelintrc
deleted file mode 100644
index 20a117c1..00000000
--- a/.stylelintrc
+++ /dev/null
@@ -1,20 +0,0 @@
-{
- "extends": ["stylelint-config-standard"],
- "overrides": [
- {
- "files": ["*.scss", "**/*.scss"],
- "extends": ["stylelint-config-standard-scss"]
- },
- {
- "files": ["*.vue", "**/*.vue"],
- "extends": [
- "stylelint-config-standard-scss",
- "stylelint-config-standard-vue/scss"
- ]
- }
- ],
- "rules": {
- "at-rule-no-unknown": null,
- "no-descending-specificity": null
- }
-}
diff --git a/eslint.config.js b/eslint.config.js
index 092408a9..3c7027b9 100644
--- a/eslint.config.js
+++ b/eslint.config.js
@@ -1,28 +1,38 @@
-import js from '@eslint/js'
-import globals from 'globals'
-import reactHooks from 'eslint-plugin-react-hooks'
-import reactRefresh from 'eslint-plugin-react-refresh'
-import tseslint from 'typescript-eslint'
+import js from "@eslint/js";
+import globals from "globals";
+import react from 'eslint-plugin-react';
+import reactHooks from "eslint-plugin-react-hooks";
+import tseslint from "typescript-eslint";
export default tseslint.config(
- { ignores: ['dist'] },
+ { ignores: ["dist"] },
{
+ ignores: ['/dist', '/tests'],
extends: [js.configs.recommended, ...tseslint.configs.recommended],
- files: ['**/*.{ts,tsx}'],
+ files: ["**/*.{ts,tsx}"],
languageOptions: {
ecmaVersion: 2020,
globals: globals.browser,
},
plugins: {
- 'react-hooks': reactHooks,
- 'react-refresh': reactRefresh,
+ react,
+ "react-hooks": reactHooks,
},
rules: {
...reactHooks.configs.recommended.rules,
- 'react-refresh/only-export-components': [
- 'warn',
- { allowConstantExport: true },
+ "react/jsx-curly-spacing": ["error", {"when": "never"}],
+ "react/jsx-equals-spacing": ["error", "never"],
+ "react/function-component-definition": ["error", { "namedComponents": "arrow-function" }],
+ "@/quotes": [
+ "error",
+ "single",
+ {
+ avoidEscape: true,
+ allowTemplateLiterals: true,
+ },
],
+ semi: ["error", "never"],
+ "object-curly-spacing": ["error", "always"]
},
- },
-)
+ }
+);
diff --git a/index.html b/index.html
index b8670c7b..b31d8f0b 100644
--- a/index.html
+++ b/index.html
@@ -27,8 +27,19 @@