1 Star 1 Fork 0

ChangXiaoxin/fc-emulator

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
eslint.config.mjs 629 Bytes
一键复制 编辑 原始数据 按行查看 历史
ChangXiaoxin 提交于 2024-11-16 13:41 +08:00 . Initial commit after create project.
import typescriptEslint from "@typescript-eslint/eslint-plugin";
import tsParser from "@typescript-eslint/parser";
export default [{
files: ["**/*.ts"],
}, {
plugins: {
"@typescript-eslint": typescriptEslint,
},
languageOptions: {
parser: tsParser,
ecmaVersion: 2022,
sourceType: "module",
},
rules: {
"@typescript-eslint/naming-convention": ["warn", {
selector: "import",
format: ["camelCase", "PascalCase"],
}],
curly: "warn",
eqeqeq: "warn",
"no-throw-literal": "warn",
semi: "warn",
},
}];
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/changxiaoxin/fc-emulator.git
git@gitee.com:changxiaoxin/fc-emulator.git
changxiaoxin
fc-emulator
fc-emulator
master

搜索帮助