From 104a33b2c233b1ceab5e06f00bb53a142ebe49eb Mon Sep 17 00:00:00 2001 From: theqi106 Date: Sat, 21 Dec 2024 08:30:15 +0700 Subject: [PATCH] add: base folder frontend --- frontend/eslint.config.js | 52 ++++++++++++------------- frontend/src/assets/.gitkeep | 0 frontend/src/components/.gitkeep | 0 frontend/src/containers/public/.gitkeep | 0 frontend/src/containers/system/.gitkeep | 0 frontend/src/stores/actions/.gitkeep | 0 frontend/src/stores/reducers/.gitkeep | 0 frontend/src/ultils/.gitkeep | 0 8 files changed, 26 insertions(+), 26 deletions(-) create mode 100644 frontend/src/assets/.gitkeep create mode 100644 frontend/src/components/.gitkeep create mode 100644 frontend/src/containers/public/.gitkeep create mode 100644 frontend/src/containers/system/.gitkeep create mode 100644 frontend/src/stores/actions/.gitkeep create mode 100644 frontend/src/stores/reducers/.gitkeep create mode 100644 frontend/src/ultils/.gitkeep diff --git a/frontend/eslint.config.js b/frontend/eslint.config.js index 092408a..f223311 100644 --- a/frontend/eslint.config.js +++ b/frontend/eslint.config.js @@ -1,28 +1,28 @@ -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 reactHooks from 'eslint-plugin-react-hooks'; +import reactRefresh from 'eslint-plugin-react-refresh'; +import globals from 'globals'; +import tseslint from 'typescript-eslint'; export default tseslint.config( - { ignores: ['dist'] }, - { - extends: [js.configs.recommended, ...tseslint.configs.recommended], - files: ['**/*.{ts,tsx}'], - languageOptions: { - ecmaVersion: 2020, - globals: globals.browser, - }, - plugins: { - 'react-hooks': reactHooks, - 'react-refresh': reactRefresh, - }, - rules: { - ...reactHooks.configs.recommended.rules, - 'react-refresh/only-export-components': [ - 'warn', - { allowConstantExport: true }, - ], - }, - }, -) + { ignores: ['dist'] }, + { + extends: [js.configs.recommended, ...tseslint.configs.recommended], + files: ['**/*.{ts,tsx}'], + languageOptions: { + ecmaVersion: 2020, + globals: globals.browser, + }, + plugins: { + 'react-hooks': reactHooks, + 'react-refresh': reactRefresh, + }, + rules: { + ...reactHooks.configs.recommended.rules, + 'react-refresh/only-export-components': [ + 'warn', + { allowConstantExport: true }, + ], + }, + }, +); diff --git a/frontend/src/assets/.gitkeep b/frontend/src/assets/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/frontend/src/components/.gitkeep b/frontend/src/components/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/frontend/src/containers/public/.gitkeep b/frontend/src/containers/public/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/frontend/src/containers/system/.gitkeep b/frontend/src/containers/system/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/frontend/src/stores/actions/.gitkeep b/frontend/src/stores/actions/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/frontend/src/stores/reducers/.gitkeep b/frontend/src/stores/reducers/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/frontend/src/ultils/.gitkeep b/frontend/src/ultils/.gitkeep new file mode 100644 index 0000000..e69de29