Commit 38bd1aa1 authored by a.frajnd@iq-adv.ru's avatar a.frajnd@iq-adv.ru
Browse files

plug in axios and pinia

parent e9a3c39a
Loading
Loading
Loading
Loading

.editorconfig

0 → 100644
+13 −0
Original line number Diff line number Diff line
root = true

[*.css]
charset = utf-8
indent_style = space
indent_size = 2
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true

[*.md]
insert_final_newline = false
trim_trailing_whitespace = false

.env.example

0 → 100644
+2 −0
Original line number Diff line number Diff line
NUXT_PUBLIC_API_URL=http://localhost:3000
NUXT_PUBLIC_BASE_URL=http://localhost:3000

.eslintignore

0 → 100644
+3 −0
Original line number Diff line number Diff line
node_modules
.nuxt
.output

.eslintrc.json

0 → 100644
+73 −0
Original line number Diff line number Diff line
{
  "env": {
    "browser": true,
    "es2021": true,
    "node": true
  },
  "extends": [
    "eslint:recommended",
    "plugin:@typescript-eslint/recommended",
    "plugin:vue/base",
    "plugin:vue/vue3-essential",
    "plugin:vue/vue3-strongly-recommended",
    "plugin:vue/vue3-recommended",
    "@nuxtjs/eslint-config-typescript",
    "prettier"
  ],
  "parserOptions": {
    "ecmaVersion": "latest",
    "parser": "@typescript-eslint/parser",
    "sourceType": "module"
  },
  "plugins": ["vue", "@typescript-eslint", "prettier"],

  "rules": {
    "prettier/prettier": [
      "error",
      {
        "trailingComma": "all",
        "tabWidth": 2,
        "semi": true,
        "singleQuote": true,
        "arrowParens": "always",
        "printWidth": 100,
        "bracketSpacing": true,
        "vueIndentScriptAndStyle": false,
        "endOfLine": "auto"
      }
    ],
    "radix": "off",
    "camelcase": "off",
    "global-require": "off",
    "object-curly-newline": "off",
    "import/first": "off",
    "import/extensions": "off",
    "import/prefer-default-export": "off",
    "import/no-extraneous-dependencies": "off",
    "import/named": "off",
    "no-return-assign": ["error", "except-parens"],
    "no-plusplus": ["error", { "allowForLoopAfterthoughts": true }],
    "no-param-reassign": "off",
    "no-confusing-arrow": "off",
    "no-unused-expressions": "off",
    "no-shadow": "off",
    "no-restricted-syntax": "off",
    "no-use-before-define": "off",
    "no-redeclare": "off",
    "@typescript-eslint/no-redeclare": ["error"],
    "@typescript-eslint/no-use-before-define": "error",
    "@typescript-eslint/no-shadow": "error",
    "@typescript-eslint/no-unused-expressions": "error",
    "@typescript-eslint/no-var-requires": "off",
    "@typescript-eslint/explicit-module-boundary-types": "off",
    "@typescript-eslint/no-non-null-assertion": "off",
    "@typescript-eslint/ban-ts-comment": ["error", { "ts-ignore": "allow-with-description" }],
    "vue/attribute-hyphenation": "off",
    "vue/no-v-html": "off",
    "vue/max-attributes-per-line": "off",
    "vue/no-v-model-argument": "off",
    "vue/v-on-event-hyphenation": "off",
    "vue/require-default-prop": "off",
    "vue/no-multiple-template-root": "off"
  }
}
+2 −0
Original line number Diff line number Diff line
@@ -6,4 +6,6 @@ node_modules
.output
.env
dist
.idea
.DS_Store
data
Loading