28 lines
743 B
JavaScript
28 lines
743 B
JavaScript
/*
|
|
* @Author: cclu 1106109051@qq.com
|
|
* @Date: 2024-11-18 11:54:00
|
|
* @LastEditors: cclu 1106109051@qq.com
|
|
* @LastEditTime: 2024-11-29 11:57:57
|
|
* @FilePath: \aiRobot\eslint.config.js
|
|
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
|
*/
|
|
module.exports = {
|
|
root: true,
|
|
env: {
|
|
node: true,
|
|
},
|
|
extends: [
|
|
'eslint:recommended',
|
|
'plugin:vue/vue3-essential',
|
|
'@vue/eslint-config-typescript/recommended',
|
|
],
|
|
parserOptions: {
|
|
ecmaVersion: 2020,
|
|
},
|
|
rules: {
|
|
'vue/max-attributes-per-line': ['error', {
|
|
'singleline': 3
|
|
}],
|
|
'@typescript-eslint/no-explicit-any': 'off',
|
|
},
|
|
}; |