Add initial setup for React and Vite application
Some checks failed
CI/CD / test-backend (pull_request) Failing after 14s
CI/CD / test-frontend (pull_request) Has been skipped
CI/CD / create-archives (pull_request) Failing after 4s
CI/CD Pipeline / Overall Status ❌ Some checks failed
CI/CD / pr-status (pull_request) Failing after 1s
CI/CD / comment-on-failure (pull_request) Successful in 1s
CI/CD / cleanup (pull_request) Successful in 1s
Some checks failed
CI/CD / test-backend (pull_request) Failing after 14s
CI/CD / test-frontend (pull_request) Has been skipped
CI/CD / create-archives (pull_request) Failing after 4s
CI/CD Pipeline / Overall Status ❌ Some checks failed
CI/CD / pr-status (pull_request) Failing after 1s
CI/CD / comment-on-failure (pull_request) Successful in 1s
CI/CD / cleanup (pull_request) Successful in 1s
- Created essential files including `package.json`, `vite.config.js`, and `index.html`. - Added ESLint configuration for code quality. - Included basic styles in `App.css` and `index.css`. - Implemented main application component in `App.jsx` with a counter feature. - Added necessary assets such as logos and icons. - Established a `.gitignore` file to exclude unnecessary files.
This commit is contained in:
29
web/eslint.config.js
Normal file
29
web/eslint.config.js
Normal file
@@ -0,0 +1,29 @@
|
||||
import js from '@eslint/js'
|
||||
import globals from 'globals'
|
||||
import reactHooks from 'eslint-plugin-react-hooks'
|
||||
import reactRefresh from 'eslint-plugin-react-refresh'
|
||||
import { defineConfig, globalIgnores } from 'eslint/config'
|
||||
|
||||
export default defineConfig([
|
||||
globalIgnores(['dist']),
|
||||
{
|
||||
files: ['**/*.{js,jsx}'],
|
||||
extends: [
|
||||
js.configs.recommended,
|
||||
reactHooks.configs.flat.recommended,
|
||||
reactRefresh.configs.vite,
|
||||
],
|
||||
languageOptions: {
|
||||
ecmaVersion: 2020,
|
||||
globals: globals.browser,
|
||||
parserOptions: {
|
||||
ecmaVersion: 'latest',
|
||||
ecmaFeatures: { jsx: true },
|
||||
sourceType: 'module',
|
||||
},
|
||||
},
|
||||
rules: {
|
||||
'no-unused-vars': ['error', { varsIgnorePattern: '^[A-Z_]' }],
|
||||
},
|
||||
},
|
||||
])
|
||||
Reference in New Issue
Block a user