/* * @Author: Kane * @Date: 2023-03-14 09:19:21 * @LastEditors: Kane * @FilePath: /task_schedule/.eslintrc.cjs * @Description: eslint 配置文件 * * Copyright (c) ${2022} by Kane, All Rights Reserved. */ module.exports = { root: true, env: { // 需要在env中指定运行的环境,这些环境其实就是一组预定义的全局变量,让 ESLint 知道当前环境存在这些全局变量 node: true, browser: true, es2021: true, }, parser: "vue-eslint-parser", parserOptions: { ecmaVersion: 2021, sourceType: "module", parser: { //