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,
|
root: true,
|
||||||
env: {
|
env: {
|
||||||
browser: true,
|
browser: true,
|
||||||
node: true
|
node: true,
|
||||||
|
},
|
||||||
|
parserOptions: {
|
||||||
|
ecmaVersion: 2020,
|
||||||
|
sourceType: "module",
|
||||||
|
parser: "@typescript-eslint/parser",
|
||||||
},
|
},
|
||||||
extends: [
|
extends: [
|
||||||
'@nuxtjs/eslint-config-typescript',
|
"plugin:@typescript-eslint/recommended",
|
||||||
'plugin:nuxt/recommended'
|
"plugin:nuxt/recommended",
|
||||||
],
|
"plugin:vue/vue3-recommended",
|
||||||
plugins: [
|
"plugin:prettier/recommended",
|
||||||
],
|
],
|
||||||
|
plugins: ["@typescript-eslint"],
|
||||||
// add your custom rules here
|
// 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 = {
|
module.exports = {
|
||||||
extends: [
|
extends: ["stylelint-config-standard"],
|
||||||
'stylelint-config-standard'
|
|
||||||
],
|
|
||||||
// add your custom config here
|
// add your custom config here
|
||||||
// https://stylelint.io/user-guide/configuration
|
// https://stylelint.io/user-guide/configuration
|
||||||
rules: {}
|
rules: {},
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,15 +1,15 @@
|
||||||
/*
|
/*
|
||||||
** TailwindCSS Configuration File
|
** TailwindCSS Configuration File
|
||||||
**
|
**
|
||||||
** Docs: https://tailwindcss.com/docs/configuration
|
** Docs: https://tailwindcss.com/docs/configuration
|
||||||
** Default: https://github.com/tailwindcss/tailwindcss/blob/master/stubs/defaultConfig.stub.js
|
** Default: https://github.com/tailwindcss/tailwindcss/blob/master/stubs/defaultConfig.stub.js
|
||||||
*/
|
*/
|
||||||
module.exports = {
|
module.exports = {
|
||||||
theme: {
|
theme: {
|
||||||
container: {
|
container: {
|
||||||
center: true
|
center: true,
|
||||||
}
|
},
|
||||||
}
|
},
|
||||||
// purge: {
|
// purge: {
|
||||||
// enabled: process.env.NODE_ENV === 'production',
|
// enabled: process.env.NODE_ENV === 'production',
|
||||||
// content: [
|
// 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