mirror of
https://gitee.com/blackfox/geekai.git
synced 2024-12-04 21:27:39 +08:00
28 lines
652 B
JavaScript
28 lines
652 B
JavaScript
/* eslint-env node */
|
|
require("@rushstack/eslint-patch/modern-module-resolution");
|
|
|
|
module.exports = {
|
|
root: true,
|
|
extends: [
|
|
"plugin:vue/vue3-essential",
|
|
"eslint:recommended",
|
|
"@vue/eslint-config-typescript",
|
|
],
|
|
parserOptions: {
|
|
ecmaVersion: "latest",
|
|
sourceType: "module",
|
|
parser: "@typescript-eslint/parser",
|
|
ecmaFeatures: {
|
|
jsx: true,
|
|
},
|
|
},
|
|
plugins: ["vue", "@typescript-eslint"],
|
|
rules: {
|
|
"prettier/prettier": "warn",
|
|
"@typescript-eslint/ban-ts-comment": "off",
|
|
"vue/multi-word-component-names": "off",
|
|
"@typescript-eslint/no-explicit-any": "off",
|
|
"no-undef": "off",
|
|
},
|
|
};
|