lrf402788946 5 лет назад
Родитель
Сommit
a4806f66ea
1 измененных файлов с 23 добавлено и 0 удалено
  1. 23 0
      .eslintrc.js

+ 23 - 0
.eslintrc.js

@@ -0,0 +1,23 @@
+// https://eslint.org/docs/user-guide/configuring
+
+module.exports = {
+  root: true,
+  env: {
+    node: true,
+  },
+  extends: ['plugin:vue/essential'],
+  plugins: ['vue'],
+  rules: {
+    'max-len': [
+      'warn',
+      {
+        code: 250,
+      },
+    ],
+    'no-unused-vars': 'off',
+    'no-console': 'off',
+  },
+  parserOptions: {
+    parser: 'babel-eslint',
+  },
+};