diff --git a/front/.eslintignore b/front/.eslintignore new file mode 100644 index 0000000..e69de29 diff --git a/front/.eslintrc.js b/front/.eslintrc.js index c2607a8..4ee9074 100644 --- a/front/.eslintrc.js +++ b/front/.eslintrc.js @@ -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" }, + }, + ], } diff --git a/front/.gitignore b/front/.gitignore new file mode 100644 index 0000000..4ba249a --- /dev/null +++ b/front/.gitignore @@ -0,0 +1,6 @@ +node_modules +*.log +.nuxt +nuxt.d.ts +.output +.env \ No newline at end of file diff --git a/front/.prettierrc b/front/.prettierrc new file mode 100644 index 0000000..f6ca428 --- /dev/null +++ b/front/.prettierrc @@ -0,0 +1,6 @@ +{ + "trailingComma": "es5", + "tabWidth": 2, + "semi": false, + "singleQuote": false +} diff --git a/front/stylelint.config.js b/front/stylelint.config.js index ebf3078..44e1e91 100644 --- a/front/stylelint.config.js +++ b/front/stylelint.config.js @@ -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: {}, } diff --git a/front/tailwind.config.js b/front/tailwind.config.js index 9017904..c86595a 100644 --- a/front/tailwind.config.js +++ b/front/tailwind.config.js @@ -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: [ diff --git a/server/.flake8 b/server/.flake8 new file mode 100644 index 0000000..d36ec50 --- /dev/null +++ b/server/.flake8 @@ -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