diff --git a/frontend/.eslintrc.cjs b/frontend/.eslintrc.cjs new file mode 100644 index 0000000..ce0ac90 --- /dev/null +++ b/frontend/.eslintrc.cjs @@ -0,0 +1,28 @@ +module.exports = { + root: true, + env: { + node: true, + browser: true, + es2022: true + }, + parser: 'vue-eslint-parser', + parserOptions: { + parser: '@typescript-eslint/parser', + ecmaVersion: 2022, + sourceType: 'module', + extraFileExtensions: ['.vue'] + }, + extends: [ + 'plugin:vue/vue3-essential', + 'eslint:recommended', + '@vue/eslint-config-typescript' + ], + rules: { + 'no-console': 'off', + 'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off', + 'no-unused-vars': 'off', + '@typescript-eslint/no-unused-vars': 'off', + 'no-prototype-builtins': 'off', + 'vue/multi-word-component-names': 'off' + } +} diff --git a/frontend/.eslintrc.js b/frontend/.eslintrc.js deleted file mode 100644 index dda80a0..0000000 --- a/frontend/.eslintrc.js +++ /dev/null @@ -1,20 +0,0 @@ -module.exports = { - root: true, - env: { - node: true - }, - 'extends': [ - 'plugin:vue/essential', - 'eslint:recommended', - '@vue/typescript' - ], - rules: { - 'no-console': 'off', // process.env.NODE_ENV === 'production' ? 'error' : 'off', - 'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off', - 'no-unused-vars': 'off', - 'no-prototype-builtins': 'off', - }, - parserOptions: { - parser: '@typescript-eslint/parser' - } -} diff --git a/frontend/babel.config.js b/frontend/babel.config.js deleted file mode 100644 index 388838a..0000000 --- a/frontend/babel.config.js +++ /dev/null @@ -1,7 +0,0 @@ -module.exports = { - presets: [ - '@vue/app' - ], - plugins: [ - ] -} diff --git a/frontend/public/index.html b/frontend/index.html similarity index 75% rename from frontend/public/index.html rename to frontend/index.html index d7993fd..5ab3e0a 100644 --- a/frontend/public/index.html +++ b/frontend/index.html @@ -5,7 +5,7 @@ - +
-
Roselia-Blog