From 0448cb8e5be25c7e29a86142deaa97e4d2e8315f Mon Sep 17 00:00:00 2001
From: jxdnsong <592566207@qq.com>
Date: Wed, 05 Apr 2023 09:38:00 +0800
Subject: [PATCH] 1

---
 .eslintrc.js |   28 ++++++++++++++++++++++++++++
 1 files changed, 28 insertions(+), 0 deletions(-)

diff --git a/.eslintrc.js b/.eslintrc.js
new file mode 100644
index 0000000..2dedb08
--- /dev/null
+++ b/.eslintrc.js
@@ -0,0 +1,28 @@
+/*
+ * @Author: shuishen 1109946754@qq.com
+ * @Date: 2022-09-07 09:34:58
+ * @LastEditors: shuishen 1109946754@qq.com
+ * @LastEditTime: 2022-09-20 14:35:16
+ * @FilePath: \srs-police-affairs\.eslintrc.js
+ * @Description: 
+ * 
+ * Copyright (c) 2022 by shuishen 1109946754@qq.com, All Rights Reserved. 
+ */
+module.exports = {
+    root: true,
+    env: {
+        node: true
+    },
+    'extends': [
+        'plugin:vue/essential',
+        'eslint:recommended'
+    ],
+    parserOptions: {
+        parser: 'babel-eslint'
+    },
+    rules: {
+        'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
+        'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
+        "no-unused-vars": "off"
+    }
+}

--
Gitblit v1.9.3