1
0
Fork 0
mirror of https://github.com/mealie-recipes/mealie.git synced 2025-07-24 07:39:41 +02:00

refactor(frontend): 🏗️ scafold pages and componenets folder

Setup the file structure for components, pages, layouts, api, and all new frontend structure
This commit is contained in:
hay-kot 2021-07-31 14:45:28 -08:00
parent 8d3db89327
commit 91f56b42de
47 changed files with 1027 additions and 146 deletions

View file

@ -2,15 +2,24 @@ module.exports = {
root: true,
env: {
browser: true,
node: true
node: true,
},
extends: [
'@nuxtjs/eslint-config-typescript',
'plugin:nuxt/recommended',
'prettier'
],
plugins: [
],
parserOptions: {
parser: "@typescript-eslint/parser",
requireConfigFile: false,
},
extends: ["@nuxtjs/eslint-config-typescript", "plugin:nuxt/recommended", "prettier"],
plugins: ["prettier"],
// add your custom rules here
rules: {}
}
rules: {
"no-console": process.env.NODE_ENV === "production" ? "warn" : "off",
"no-debugger": process.env.NODE_ENV === "production" ? "warn" : "off",
quotes: ["error", "double"],
"vue/component-name-in-template-casing": ["error", "PascalCase"],
camelcase: 0,
"vue/singleline-html-element-content-newline": "off",
"vue/multiline-html-element-content-newline": "off",
"vue/no-mutating-props": "off",
"vue/no-v-for-template-key-on-child": "off",
},
};