From 1aaa0430dd514b6f6a6cdd00021d6fa26aa838bb Mon Sep 17 00:00:00 2001 From: Mouse Date: Sun, 9 May 2021 23:10:47 +0800 Subject: [PATCH] add .eslintrc.json --- .eslintrc.json | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .eslintrc.json diff --git a/.eslintrc.json b/.eslintrc.json new file mode 100644 index 0000000..b8cf259 --- /dev/null +++ b/.eslintrc.json @@ -0,0 +1,25 @@ +{ + "env": { + "browser": true, + "es6": true, + "node": true + }, + "extends": [ + "eslint:recommended", + "plugin:vue/essential" + ], + "globals": { + "Atomics": "readonly", + "SharedArrayBuffer": "readonly" + }, + "parserOptions": { + "ecmaVersion": 2018, + "sourceType": "module" + }, + "plugins": [ + "vue" + ], + "rules": { + "no-unused-vars": "warn" + } +} \ No newline at end of file -- Gitee