Ai
2 Star 0 Fork 0

mirrors_mongodb/design

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
eslint.config.mjs 656 Bytes
一键复制 编辑 原始数据 按行查看 历史
brooke 提交于 2025-02-05 05:46 +08:00 . update linter too
// @ts-check
import path from "node:path";
import { fileURLToPath } from "node:url";
import js from "@eslint/js";
import { FlatCompat } from "@eslint/eslintrc";
import { fixupConfigRules } from "@eslint/compat";
const __filename = fileURLToPath(import.meta.url);
const __dirname = path.dirname(__filename);
const compat = new FlatCompat({
baseDirectory: __dirname,
recommendedConfig: js.configs.recommended,
allConfig: js.configs.all,
});
const patchedConfig = fixupConfigRules([...compat.extends("next/core-web-vitals")]);
const config = [
...patchedConfig,
// Add more flat configs here
{ ignores: [".next/*"] },
];
export default config;
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/mirrors_mongodb/design.git
git@gitee.com:mirrors_mongodb/design.git
mirrors_mongodb
design
design
staging

搜索帮助