Nikita Krupin 3 жил өмнө
parent
commit
896373d998

+ 28 - 0
Website/.eslintrc.js

@@ -0,0 +1,28 @@
+module.exports = {
+    root: true,
+
+    env: {
+        browser: true,
+        node: true,
+    },
+
+    parserOptions: {
+      parser: '@babel/eslint-parser',
+      requireConfigFile: false,
+      ecmaVersion: 2020
+    },
+    extends: [
+      'plugin:vue/essential',
+      'plugin:nuxt/recommended',
+      'plugin:prettier/recommended',
+      'eslint:recommended', //
+      '@vue/prettier',
+      'prettier',
+      '@nuxtjs',
+    ],
+    rules: {
+        'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
+        'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
+    },
+
+}

+ 1 - 0
Website/layouts/default.vue

@@ -27,6 +27,7 @@
 <style>
 html, body {
   height: 100%;
+  background: #111; /* for MacOS/iOS overscroll */
   height: -webkit-fill-available;
   overflow: auto;
 }