lrf402788946 5 năm trước cách đây
mục cha
commit
a4806f66ea
1 tập tin đã thay đổi với 23 bổ sung0 xóa
  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',
+  },
+};