feat [front]: switch to nuxt3 and vue3
This commit is contained in:
parent
6a85d0694e
commit
ed1cd6a466
7 changed files with 45 additions and 18 deletions
0
front/.eslintignore
Normal file
0
front/.eslintignore
Normal file
|
@ -2,14 +2,27 @@ module.exports = {
|
|||
root: true,
|
||||
env: {
|
||||
browser: true,
|
||||
node: true
|
||||
node: true,
|
||||
},
|
||||
parserOptions: {
|
||||
ecmaVersion: 2020,
|
||||
sourceType: "module",
|
||||
parser: "@typescript-eslint/parser",
|
||||
},
|
||||
extends: [
|
||||
'@nuxtjs/eslint-config-typescript',
|
||||
'plugin:nuxt/recommended'
|
||||
],
|
||||
plugins: [
|
||||
"plugin:@typescript-eslint/recommended",
|
||||
"plugin:nuxt/recommended",
|
||||
"plugin:vue/vue3-recommended",
|
||||
"plugin:prettier/recommended",
|
||||
],
|
||||
plugins: ["@typescript-eslint"],
|
||||
// add your custom rules here
|
||||
rules: {}
|
||||
rules: {},
|
||||
|
||||
overrides: [
|
||||
{
|
||||
files: ["layouts/*.vue", "pages/**/*.vue"],
|
||||
rules: { "vue/multi-word-component-names": "off" },
|
||||
},
|
||||
],
|
||||
}
|
||||
|
|
6
front/.gitignore
vendored
Normal file
6
front/.gitignore
vendored
Normal file
|
@ -0,0 +1,6 @@
|
|||
node_modules
|
||||
*.log
|
||||
.nuxt
|
||||
nuxt.d.ts
|
||||
.output
|
||||
.env
|
6
front/.prettierrc
Normal file
6
front/.prettierrc
Normal file
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"trailingComma": "es5",
|
||||
"tabWidth": 2,
|
||||
"semi": false,
|
||||
"singleQuote": false
|
||||
}
|
|
@ -1,8 +1,6 @@
|
|||
module.exports = {
|
||||
extends: [
|
||||
'stylelint-config-standard'
|
||||
],
|
||||
extends: ["stylelint-config-standard"],
|
||||
// add your custom config here
|
||||
// https://stylelint.io/user-guide/configuration
|
||||
rules: {}
|
||||
rules: {},
|
||||
}
|
||||
|
|
|
@ -1,15 +1,15 @@
|
|||
/*
|
||||
** TailwindCSS Configuration File
|
||||
**
|
||||
** Docs: https://tailwindcss.com/docs/configuration
|
||||
** Default: https://github.com/tailwindcss/tailwindcss/blob/master/stubs/defaultConfig.stub.js
|
||||
*/
|
||||
** TailwindCSS Configuration File
|
||||
**
|
||||
** Docs: https://tailwindcss.com/docs/configuration
|
||||
** Default: https://github.com/tailwindcss/tailwindcss/blob/master/stubs/defaultConfig.stub.js
|
||||
*/
|
||||
module.exports = {
|
||||
theme: {
|
||||
container: {
|
||||
center: true
|
||||
}
|
||||
}
|
||||
center: true,
|
||||
},
|
||||
},
|
||||
// purge: {
|
||||
// enabled: process.env.NODE_ENV === 'production',
|
||||
// content: [
|
||||
|
|
4
server/.flake8
Normal file
4
server/.flake8
Normal file
|
@ -0,0 +1,4 @@
|
|||
[flake8]
|
||||
ignore=E501,W503,E731
|
||||
exclude = .git,__pycache__,docs/source/conf.py,build,dist,migrations,media,fixtures,requirements,static,assets
|
||||
max-complexity = 10
|
Loading…
Reference in a new issue